forked from damnOblivious/rapidannotator
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi,I just have installed RapidAnnotator and I can't add annotator to a project.
My logs show this lines all the time:
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:25:18.382414 2023] [wsgi:error] [pid 13:tid 281471881244992] [client 172.18.0.1:55516] FROM `FileCaption` , referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:25:18.382417 2023] [wsgi:error] [pid 13:tid 281471881244992] [client 172.18.0.1:55516] WHERE `FileCaption`.file_id = %s , referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:25:18.382420 2023] [wsgi:error] [pid 13:tid 281471881244992] [client 172.18.0.1:55516] LIMIT %s, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:25:18.382480 2023] [wsgi:error] [pid 13:tid 281471881244992] [client 172.18.0.1:55516] 2023-03-30 07:25:18,382 INFO sqlalchemy.engine.Engine [cached since 449.6s ago] (10, 1), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:25:18.383846 2023] [wsgi:error] [pid 13:tid 281471881244992] [client 172.18.0.1:55516] 2023-03-30 07:25:18,383 INFO sqlalchemy.engine.Engine SELECT count(*) AS count_1 , referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:25:18.383873 2023] [wsgi:error] [pid 13:tid 281471881244992] [client 172.18.0.1:55516] FROM (SELECT `File`.id AS `File_id`, `File`.experiment_id AS `File_experiment_id`, `File`.name AS `File_name`, `File`.content AS `File_content`, `File`.edge_link AS `File_edge_link`, `File`.`concordance_lineNumber` AS `File_concordance_lineNumber`, `File`.display_order AS `File_display_order` , referer: http://localhost:8000/add_experiment/viewSettings/1
and when I add an annotator and edit it, I get this error:
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:50.999841 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] FROM `User` , referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:50.999843 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] WHERE `User`.id = %s, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:50.999945 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] 2023-03-30 07:30:50,999 INFO sqlalchemy.engine.Engine [cached since 909.3s ago] (1,), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.003380 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] 2023-03-30 07:30:51,003 INFO sqlalchemy.engine.Engine SELECT `AnnotatorAssociation`.id AS `AnnotatorAssociation_id`, `AnnotatorAssociation`.experiment_id AS `AnnotatorAssociation_experiment_id`, `AnnotatorAssociation`.user_id AS `AnnotatorAssociation_user_id`, `AnnotatorAssociation`.start AS `AnnotatorAssociation_start`, `AnnotatorAssociation`.end AS `AnnotatorAssociation_end`, `AnnotatorAssociation`.current AS `AnnotatorAssociation_current` , referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.003422 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] FROM `AnnotatorAssociation` , referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.003426 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] WHERE `AnnotatorAssociation`.experiment_id = %s AND `AnnotatorAssociation`.user_id = %s , referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.003429 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] LIMIT %s, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.003644 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] 2023-03-30 07:30:51,003 INFO sqlalchemy.engine.Engine [cached since 347.4s ago] ('1', '1', 1), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.005891 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] 2023-03-30 07:30:51,005 INFO sqlalchemy.engine.Engine ROLLBACK, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.007306 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] mod_wsgi (pid=12): Exception occurred processing WSGI script '/var/www/rapidannotator/wsgi.py'., referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.007901 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] Traceback (most recent call last):, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.007975 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2551, in __call__, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.007980 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] return self.wsgi_app(environ, start_response), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.007985 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2531, in wsgi_app, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.007988 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] response = self.handle_exception(e), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.007992 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2528, in wsgi_app, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.007995 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] response = self.full_dispatch_request(), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.008002 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1825, in full_dispatch_request, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.008005 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] rv = self.handle_user_exception(e), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.008008 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1823, in full_dispatch_request, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.008011 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] rv = self.dispatch_request(), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.008015 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1799, in dispatch_request, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.008018 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.008023 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] File "/var/www/rapidannotator/rapidannotator/modules/add_experiment/views.py", line 1040, in _editAnnotator, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.008025 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] annotatorDetails.start = request.args.get('start', annotatorDetails.start), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:51.008041 2023] [wsgi:error] [pid 12:tid 281473041711424] [client 172.18.0.1:44142] AttributeError: 'NoneType' object has no attribute 'start', referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | 172.18.0.1 - - [30/Mar/2023:07:30:50 +0000] "GET /add_experiment/_editAnnotator?annotatorId=1&experimentId=1&start=0&end=10 HTTP/1.1" 500 608
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:57.290079 2023] [wsgi:error] [pid 12:tid 281472258535744] [client 172.18.0.1:57846] 2023-03-30 07:30:57,289 INFO sqlalchemy.engine.Engine BEGIN (implicit), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:57.291046 2023] [wsgi:error] [pid 12:tid 281472258535744] [client 172.18.0.1:57846] 2023-03-30 07:30:57,290 INFO sqlalchemy.engine.Engine SELECT `User`.id AS `User_id`, `User`.username AS `User_username`, `User`.fullname AS `User_fullname`, `User`.email AS `User_email`, `User`.password AS `User_password`, `User`.`registeredOn` AS `User_registeredOn`, `User`.confirmed AS `User_confirmed`, `User`.`confirmedOn` AS `User_confirmedOn`, `User`.`secKey` AS `User_secKey`, `User`.experimenter AS `User_experimenter`, `User`.`admin` AS `User_admin`, `User`.looping AS `User_looping`, `User`.`numNotif` AS `User_numNotif` , referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:57.291091 2023] [wsgi:error] [pid 12:tid 281472258535744] [client 172.18.0.1:57846] FROM `User` , referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:57.291096 2023] [wsgi:error] [pid 12:tid 281472258535744] [client 172.18.0.1:57846] WHERE `User`.id = %s, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:57.291296 2023] [wsgi:error] [pid 12:tid 281472258535744] [client 172.18.0.1:57846] 2023-03-30 07:30:57,291 INFO sqlalchemy.engine.Engine [cached since 915.6s ago] (1,), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:57.295002 2023] [wsgi:error] [pid 12:tid 281472258535744] [client 172.18.0.1:57846] 2023-03-30 07:30:57,294 INFO sqlalchemy.engine.Engine SELECT `Clustering`.id AS `Clustering_id`, `Clustering`.experiment_id AS `Clustering_experiment_id`, `Clustering`.user_id AS `Clustering_user_id`, `Clustering`.status AS `Clustering_status`, `Clustering`.display AS `Clustering_display` , referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:57.295034 2023] [wsgi:error] [pid 12:tid 281472258535744] [client 172.18.0.1:57846] FROM `Clustering` , referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:57.295037 2023] [wsgi:error] [pid 12:tid 281472258535744] [client 172.18.0.1:57846] WHERE `Clustering`.experiment_id = %s AND `Clustering`.user_id = %s , referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:57.295039 2023] [wsgi:error] [pid 12:tid 281472258535744] [client 172.18.0.1:57846] LIMIT %s, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:57.295115 2023] [wsgi:error] [pid 12:tid 281472258535744] [client 172.18.0.1:57846] 2023-03-30 07:30:57,295 INFO sqlalchemy.engine.Engine [cached since 812.6s ago] (1, 1, 1), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:30:57.296746 2023] [wsgi:error] [pid 12:tid 281472258535744] [client 172.18.0.1:57846] 2023-03-30 07:30:57,296 INFO sqlalchemy.engine.Engine ROLLBACK, referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | 172.18.0.1 - - [30/Mar/2023:07:30:57 +0000] "POST /clustering/getStatus HTTP/1.1" 200 37
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:31:01.306515 2023] [wsgi:error] [pid 12:tid 281471470137664] [client 172.18.0.1:57846] 2023-03-30 07:31:01,306 INFO sqlalchemy.engine.Engine BEGIN (implicit), referer: http://localhost:8000/add_experiment/viewSettings/1
rapidannotator-20-rapidannotator-1 | [Thu Mar 30 07:31:01.307112 2023] [wsgi:error] [pid 12:tid 281471470137664] [client 172.18.0.1:57846] 2023-03-30 07:31:01,307 INFO sqlalchemy.engine.Engine SELECT `User`.id AS `User_id`, `User`.username AS `User_username`, `User`.fullname AS `User_fullname`, `User`.email AS `User_email`, `User`.password AS `User_password`, `User`.`registeredOn` AS `User_registeredOn`, `User`.confirmed AS `User_confirmed`, `User`.`confirmedOn` AS `User_confirmedOn`, `User`.`secKey` AS `User_secKey`, `User`.experimenter AS `User_experimenter`, `User`.`admin` AS `User_admin`, `User`.looping AS `User_looping`, `User`.`numNotif` AS `User_numNotif` , referer: http://localhost:8000/add_experiment/viewSettings/1
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
Metadata
Metadata
Assignees
Labels
No labels