Install advice?
Mark Ungrin
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
> 136.159.176.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
> 136.159.176.124: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
> 136.159.176.124:51402] Traceback (most recent call last):
> [Mon Jan 13 15:34:31.730653 2014] [:error] [pid 16019] [remote
> 136.159.176.124:51402] File "/var/www/slidetest/deepzoom.wsgi", line
> 2, in <module>
> [Mon Jan 13 15:34:31.730716 2014] [:error] [pid 16019] [remote
> 136.159.176.124:51402] from deepzoom_server import app as application
> [Mon Jan 13 15:34:31.730758 2014] [:error] [pid 16019] [remote
> 136.159.176.124:51402] ImportError: No module named deepzoom_server
I assume I need to specify a path somewhere?
thanks
Mark
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
>>> application.config.update({
>>> '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:
>
> application.config.update({
> '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
> https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users
>
--
Dr. Mark Ungrin, Ph.D.
Assistant Professor
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
http://www.ucalgary.ca/ungrinlab
office: 403.210.6203
cell: 403.561.6817
lab: 403.210.6545
fax: 403.210.8821
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...
URL: http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20140113/63cfb6d9/attachment-0001.html
More information about the openslide-users
mailing list