Skip to content

Cannot reload saved work #116

@lmunnis

Description

@lmunnis

I am running Vatic on Ubuntu 18.04 with python 2.7 using --offline. I was able to label a segment (ID=2) and save my work. Now, however, any time I try to reload the labeled segment (http://localhost/?id=2&hitId=offline), I'm getting the following in the apache error.log:

[Sat Jan 04 07:26:22.876003 2020] [wsgi:error] [pid 10302:tid 139952596031232] [remote 127.0.0.1:60972] mod_wsgi (pid=10302): Target WSGI script '/home/userid/Downloads/vatic/server.py' cannot be loaded as Python module.
[Sat Jan 04 07:26:22.876048 2020] [wsgi:error] [pid 10302:tid 139952596031232] [remote 127.0.0.1:60972] mod_wsgi (pid=10302): Exception occurred processing WSGI script '/home/userid/Downloads/vatic/server.py'.
[Sat Jan 04 07:26:22.876081 2020] [wsgi:error] [pid 10302:tid 139952596031232] [remote 127.0.0.1:60972] Traceback (most recent call last):
[Sat Jan 04 07:26:22.876111 2020] [wsgi:error] [pid 10302:tid 139952596031232] [remote 127.0.0.1:60972] File "/home/userid/Downloads/vatic/server.py", line 9, in
[Sat Jan 04 07:26:22.876214 2020] [wsgi:error] [pid 10302:tid 139952596031232] [remote 127.0.0.1:60972] from models import *
[Sat Jan 04 07:26:22.876235 2020] [wsgi:error] [pid 10302:tid 139952596031232] [remote 127.0.0.1:60972] File "/home/userid/Downloads/vatic/models.py", line 7, in
[Sat Jan 04 07:26:22.876341 2020] [wsgi:error] [pid 10302:tid 139952596031232] [remote 127.0.0.1:60972] import vision
[Sat Jan 04 07:26:22.876359 2020] [wsgi:error] [pid 10302:tid 139952596031232] [remote 127.0.0.1:60972] File "/usr/local/lib/python2.7/dist-packages/pyvision-0.3.1-py2.7-linux-x86_64.egg/vision/init.py", line 1, in
[Sat Jan 04 07:26:22.876403 2020] [wsgi:error] [pid 10302:tid 139952596031232] [remote 127.0.0.1:60972] from annotations import *
[Sat Jan 04 07:26:22.876420 2020] [wsgi:error] [pid 10302:tid 139952596031232] [remote 127.0.0.1:60972] File "init.pxd", line 155, in init vision.annotations (vision/annotations.c:9314)
[Sat Jan 04 07:26:22.876595 2020] [wsgi:error] [pid 10302:tid 139952596031232] [remote 127.0.0.1:60972] ImportError: No module named numpy

Not even sure why it's looking for numpy, since I traced this down to vatic/public/ui.js calling function ui_loadprevious --> vatic/public/server.py getboxesforjob(id). When I run server.py's getboxesforjob(id) locally, it works just fine, and doesn't even seem to use numpy.

Any help is much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions