Install advice?

Benjamin Gilbert bgilbert at
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, not to the file itself. 
The sys.path.append() line works around this (I assume 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
>>]     for name in app.associated_images)
>> [Mon Jan 13 16:17:32.009142 2014] [:error] [pid 16560] [remote
>>] 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


at the end of deepzoom.wsgi?  (That's for  For it would be application._setup().)

--Benjamin Gilbert

More information about the openslide-users mailing list