Install advice?
Benjamin Gilbert
bgilbert at cs.cmu.edu
Mon Jan 13 18:49:45 EST 2014
On 01/13/2014 06:28 PM, Mark Ungrin wrote:
> sys.path.append('/var/www/slidetest')
The python-path declaration in your Apache configuration should point to
the directory containing deepzoom_server.py, not to the file itself.
The sys.path.append() line works around this (I assume
deepzoom_server.py is in /var/www/slidetest). I've updated the wiki to
make this clear.
>> [Mon Jan 13 16:17:32.009128 2014] [:error] [pid 16560] [remote
>> 136.159.176.124:52105] for name in app.associated_images)
>> [Mon Jan 13 16:17:32.009142 2014] [:error] [pid 16560] [remote
>> 136.159.176.124:52105] AttributeError: 'Flask' object has no attribute
>> 'associated_images'
It sounds as though the deepzoom_server initialization code isn't being
run before the first request, as it ought to be. What happens if you add
application.load_slide()
at the end of deepzoom.wsgi? (That's for deepzoom_server.py. For
slidedeck.py it would be application._setup().)
--Benjamin Gilbert
More information about the openslide-users
mailing list