mdungrin at ucalgary.ca
Mon Jan 13 17:35:12 EST 2014
in the apache error.log I see:
> [Mon Jan 13 15:34:31.730505 2014] [:error] [pid 16019] [remote
> 22.214.171.124:51402] mod_wsgi (pid=16019): Target WSGI script
> '/var/www/slidetest/deepzoom.wsgi' cannot be loaded as Python module.
> [Mon Jan 13 15:34:31.730560 2014] [:error] [pid 16019] [remote
> 126.96.36.199:51402] mod_wsgi (pid=16019): Exception occurred
> processing WSGI script '/var/www/slidetest/deepzoom.wsgi'.
> [Mon Jan 13 15:34:31.730608 2014] [:error] [pid 16019] [remote
> 188.8.131.52:51402] Traceback (most recent call last):
> [Mon Jan 13 15:34:31.730653 2014] [:error] [pid 16019] [remote
> 184.108.40.206:51402] File "/var/www/slidetest/deepzoom.wsgi", line
> 2, in <module>
> [Mon Jan 13 15:34:31.730716 2014] [:error] [pid 16019] [remote
> 220.127.116.11:51402] from deepzoom_server import app as application
> [Mon Jan 13 15:34:31.730758 2014] [:error] [pid 16019] [remote
> 18.104.22.168:51402] ImportError: No module named deepzoom_server
I assume I need to specify a path somewhere?
On 1/13/2014 2:51 PM, Benjamin Gilbert wrote:
> On 01/13/2014 03:43 PM, Mark Ungrin wrote:
>> when I go to /slidetest/deepzoom.wsgi, (directly or via an alias) I get
>> "Internal Server Error..." and the generic "contact the server
>> administrator" message
>> the code is this file is:
>>> import os, sys
>>> from deepzoom_server import app as application
>>> 'DEEPZOOM_SLIDE': '/var/www/slidetest/openslide_testdata/CMU-1.svs',
>> ...and now I'm kind of stuck. Any suggestions on what to try next?
> If the server error is coming from Apache, there should be more
> information in the Apache error log. If it's coming from deepzoom.wsgi,
> you can enable debugging:
> 'DEEPZOOM_SLIDE': '/var/www/slidetest/openslide_testdata/CMU-1.svs',
> 'DEBUG': True,
> which should replace the generic "server error" page with a debug traceback.
> --Benjamin Gilbert
> openslide-users mailing list
> openslide-users at lists.andrew.cmu.edu
Dr. Mark Ungrin, Ph.D.
Department of Comparative Biology & Experimental Medicine
HMRB 320, 3330 Hospital Drive NW
Calgary, AB T2N 4N1
University of Calgary, Faculty of Veterinary Medicine
Email: mark.ungrin at ucalgary.ca
The information contained in this e-mail is only for the use of the individual or entity to whom it is intended. Its contents (including any attachments) are confidential and may contain privileged information. If you are not an intended recipient you must not use, disclose, disseminate, copy or print its contents. If you receive this e-mail in error, please notify the sender by e-mail and delete and destroy the message and all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openslide-users