Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: [Errno 30] Read-only file system: '/pipeline/tmp_config.json' #29

Open
c-berruto opened this issue Jul 29, 2024 · 2 comments
Open
Assignees

Comments

@c-berruto
Copy link

c-berruto commented Jul 29, 2024

Start searching primer for Bacillus_subtilis
To make use of NCBI's E-utilities, Please enter your email address.
fatal error while working on Bacillus_subtilis check logfile /home/cberruto/speciesprimer_2024_07_29.log
[Errno 30] Read-only file system: '/pipeline/tmp_config.json'
Traceback (most recent call last):
File "/pipeline/speciesprimer.py", line 4168, in main
run_pipeline_for_target(target, config)
File "/pipeline/speciesprimer.py", line 4054, in run_pipeline_for_target
newconfig = DataCollection(config).collect()
File "/pipeline/speciesprimer.py", line 645, in collect
syn, taxid = self.get_taxid(self.target)
File "/pipeline/speciesprimer.py", line 172, in get_taxid
Entrez.email = H.get_email_for_Entrez()
File "/pipeline/basicfunctions.py", line 461, in get_email_for_Entrez
email = user_input_email(email)
File "/pipeline/basicfunctions.py", line 451, in user_input_email
with open(tmp_db_path, 'w') as f:
OSError: [Errno 30] Read-only file system: '/pipeline/tmp_config.json'
Error report:
for target Bacillus_subtilis
Error 1:
fatal error while working on Bacillus_subtilis check logfile /home/cberruto/speciesprimer_2024_07_29.log

Any insight on how to fix this?

@biologger biologger self-assigned this Aug 27, 2024
@biologger
Copy link
Owner

Hi,

It looks like you are not using docker for the run, are you running the pipeline locally or on singularity?

For singularity the problem there is that even it can run the docker image the container is read-only and in the current version of speciesprimer tries to write a temporary config file into the container.

Using docker or podman should work with the current version...

Alternativley, adding a CLI option for allowing a custom path for the tmp file for the config in the /primerdesign directory would probably fix this issue for singularity.

@wzacs1
Copy link

wzacs1 commented Sep 3, 2024

Alternativley, adding a CLI option for allowing a custom path for the tmp file for the config in the /primerdesign directory would probably fix this issue for singularity.

This would be amazing! I am running through Singularity now and ended here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants