-
Notifications
You must be signed in to change notification settings - Fork 12
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
UnboundLocalError: local variable 'dbtype' referenced before assignment #66
Comments
Hi, it is likely you do not have the write permission to path |
Thanks so much for your reply. It seems that the path has been hidden in the container, and we don't have the access permission. I will contact the admin soon. Alternatively, I tried the windows version, but there are also some issues: [2024-06-06 12:17:53,494] [INFO] Calling args_oap/stage_one with ['stage_one', '--indir', 'C:\Users\Downloads\example.tar\example\example\input', '--outdir', 'C:\Users\AppData\Roaming\args-desktop\output\args_oap_edf5', '--thread', '4', '--format', 'fa', '--e2', '3'] [2024-06-06 12:16:34,466] [INFO] Calling args_oap/stage_one with ['stage_one', '--indir', 'C:\Users\Downloads\example.tar\example\example\input', '--outdir', 'C:\Users\AppData\Roaming\args-desktop\output\args_oap_IGXv', '--thread', '4', '--format', 'fa', '--e2', '3'] Did you see these issues before? Thank you. |
Hei,
Many thanks to the developers. I installed args_oap in a container environment (tykky). When I ran stage_one for the example fasta files, an issue occurred. Was the error due to the environment? May I ask if there is any solution for this? Thank you.
$ args_oap stage_one -i input -o output -f fa -t 8
[2024-06-03 15:44:15] INFO: Building databases ...
Traceback (most recent call last):
File "//tykky-env/bin/args_oap", line 10, in
sys.exit(main())
File "//python3.10/site-packages/args_oap/args_oap.py", line 232, in main
options.func(options)
File "//python3.10/site-packages/args_oap/stage_one.py", line 229, in run_stage_one
StageOne(vars(options)).run()
File "//python3.10/site-packages/args_oap/stage_one.py", line 62, in init
make_db(file)
File "/*/python3.10/site-packages/args_oap/make_db.py", line 42, in make_db
'-dbtype', dbtype,
UnboundLocalError: local variable 'dbtype' referenced before assignment
The text was updated successfully, but these errors were encountered: