Open RaulKite opened 1 year ago
Tested in Ubuntu 20.04 and same error.
@RaulKite Can you try using python 3.6 or 3.7, it works properly there until I check that issue using 3.10.7 Sorry for late response.
Hey guys, any news on this?
Ups, I didn't see the answer. I'll check and write here in a couple of days.
The student is using https://beta.rapidannotator.org right now, but I want to dockerize the app and run it in our server when we have a lot of videos to upload.
I can confirm that in a Ubuntu 18.04 with python 3.6 it works 👍
If you are interested, I can clean the code and make a pull request to run it in a docker compose environment in an easy way, add the documentation, ...
This would be greatly appreciated! Still, I think we should try to find out what goes wrong with the newer version. @rrrokhtar : Have you had time to look into this?
Thanks, I have merged it. Will leave this open till we find out what breaks, though.
@peteruhrig Unfortunately I have not checked that yet but I will check ASAP and let you know what happens on the new python version most probably it is related to the compatibility of the packages
Here is an update (not a solution)
There are issues while doing that with new python version beside new flask version
As well as an error with importing JSONEncoder from flask.json. This is because Flask 2.3.0 has removed these attributes from the flask.json module. One possible solution is to uninstall Flask and install an older version, such as Flask 2.2.3.
There is a problem happens here (while using python 3.10 and 3.11):
As well as there is something is not going well when adding an annotator there is no effect on the database It returns success on python3.10 and 3.11 without taking effect on the db while works on 3.7/3.6 I think that comes from the changes between flask versions https://github.com/RedHenLab/RapidAnnotator-2.0/blob/87f9918638116ed6819800319c8c52dcd3ee0ad1/rapidannotator/modules/add_experiment/views.py#L190-L220
I will go deeper with them to solve that issue
Is this issue open to work?
@staru09 I'd recommend holding off at the moment, we first need to merge some changes done on a development server back to GitHub. I think this issue was addressed there, too.
Hi,I just have installed RapidAnnotator and I can't add annotator to a project.
My logs show this lines all the time:
and when I add an annotator and edit it, I get this error:
Can you help me to fix the error?
I'm running inside a docker container in an Ubuntu 22.10. Python version is 3.10.7
Thanks