-
Notifications
You must be signed in to change notification settings - Fork 7
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 on startup with pre release 1.1.7 #472
Comments
Maybe it has something to do with openjdk which is now on version openjdk=8.0.332=h166bdaf_0 for me? |
What is the jpype1 version of your environment? |
|
Can you try an older version of jpype1? I still have got 1.2.1. Strangely though, the PR checks did not show this issue. |
I downgraded to
Might be because I'm not on an ubuntu machine. |
It is probably because i use fish. conda issue But with zsh I get another error: openjdk version "1.8.0_332"
OpenJDK Runtime Environment (Zulu 8.62.0.19-CA-linux64) (build 1.8.0_332-b09)
OpenJDK 64-Bit Server VM (Zulu 8.62.0.19-CA-linux64) (build 25.332-b09, mixed mode)
Restricted license - for non-production use only - expires 2024-10-28
Could not find font_size in cnapy-config.txt
Traceback (most recent call last):
File "/home/sthiele/miniconda3/envs/cnapy-1.1.7p/bin/cnapy", line 10, in <module>
sys.exit(main_cnapy())
File "/home/sthiele/miniconda3/envs/cnapy-1.1.7p/lib/python3.8/site-packages/cnapy/__main__.py", line 34, in main_cnapy
Application()
File "/home/sthiele/miniconda3/envs/cnapy-1.1.7p/lib/python3.8/site-packages/cnapy/application.py", line 76, in __init__
self.window = MainWindow(self.appdata)
File "/home/sthiele/miniconda3/envs/cnapy-1.1.7p/lib/python3.8/site-packages/cnapy/gui_elements/main_window.py", line 68, in __init__
self.central_widget = CentralWidget(self)
File "/home/sthiele/miniconda3/envs/cnapy-1.1.7p/lib/python3.8/site-packages/cnapy/gui_elements/central_widget.py", line 72, in __init__
self.reaction_list = ReactionList(self)
File "/home/sthiele/miniconda3/envs/cnapy-1.1.7p/lib/python3.8/site-packages/cnapy/gui_elements/reactions_list.py", line 131, in __init__
self.reaction_mask = ReactionMask(self)
File "/home/sthiele/miniconda3/envs/cnapy-1.1.7p/lib/python3.8/site-packages/cnapy/gui_elements/reactions_list.py", line 678, in __init__
self.grp_test_model.add_reaction(reaction)
AttributeError: 'Model' object has no attribute 'add_reaction' |
Can you try to replace the line 678 in reactions_list.py with
add_reaction is deprecated but should actually still work. |
That works. I did not test thoroughly but CNApy is up and running. 😄 |
Oh yeah, some other things I noted.
|
Following the install instruction I get the following error.
The text was updated successfully, but these errors were encountered: