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

Error applying patch 54 on clean qiita install #3313

Open
AmandaBirmingham opened this issue Aug 11, 2023 · 2 comments
Open

Error applying patch 54 on clean qiita install #3313

AmandaBirmingham opened this issue Aug 11, 2023 · 2 comments

Comments

@AmandaBirmingham
Copy link
Contributor

Following the procedure in https://github.com/qiita-spots/qiita/blob/4492c3d53027a9387931b2449a705dd3b1c8f09f/INSTALL.md , after running qiita-env make --no-load-ontologies, I receive the following non-fatal error:

<other patch applications above>

	Applying patch 54.sql...
		Applying python patch 54.py...
Error purging filepaths: [Errno 2] No such file or directory: '/Users/abirmingham/Work/Repositories/qiita/qiita_db/support_files/test_data/FASTQ'

<other patch applications below>

It looks like the originates from

# Purge filepaths
try:
purge_filepaths(False)
except Exception as e:
errors.append("Error purging filepaths: %s" % str(e))

but I can't tell more than that.

@antgonza
Copy link
Member

Not sure how to proceed; that message is accurate because the folder doesn't exist; the error doesn't stop execution but is logged - in other words, it should really be a warning. However, that patch is old and it doesn't really do anything on a fresh install. @AmandaBirmingham, what do you think it should happen? Maybe add a line in INSTALL.md about this?

@AmandaBirmingham
Copy link
Contributor Author

Are there other situations where the folder does exist? If no, I think the error message should be suppressed. If yes, I think that the INSTALL.md should be extended to include a sentence about how this error is expected on a clean install and can be ignored.

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

No branches or pull requests

2 participants