<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">When I do that </font>I get the same slide view
page I get with deepzoom, but it has no content. The left side says
View and under that Slide, and under that Associated images, and
under that (where using deepzoom I see "label / macro / thumbnail")
it says "None". The main view screen is black with a small white
"null" in the centre (the four buttons in the lower right are still
there), and on the right under Slide properties it says "None".<br>
<br>
The code in the wsgi file is:<br>
<br>
<blockquote type="cite">import os, sys<br>
sys.path.append('/var/www/slidetest')<br>
<br>
from slidedeck import app as application<br>
<br>
application.config.update({<br>
'SLIDE_DIR': '/var/www/slidetest/openslide_testdata/',<br>
'DEBUG': True,<br>
})<br>
<br>
</blockquote>
<br>
If I also remove the sys.path.append from line 2 then I get the
generic server error page instead.<br>
<br>
Thanks<br>
<br>
Mark<br>
<br>
<div class="moz-cite-prefix">On 1/13/2014 8:09 PM, Benjamin Gilbert
wrote:<br>
</div>
<blockquote cite="mid:52D4AA68.4070609@cs.cmu.edu" type="cite">
<pre wrap="">On 01/13/2014 07:49 PM, Mark Ungrin wrote:
</pre>
<blockquote type="cite">
<pre wrap="">If I remove the _setup stuff, slidedeck runs fine but does not find any
images to load. Putting _setup back and running with
@app.before_first_request commented out does not appear to change
anything. Neither of these throws an error in the apache log.
</pre>
</blockquote>
<pre wrap="">
Okay, so _setup() wasn't the problem. To be clear, if you uncomment
@app.before_first_request and have a deepzoom.wsgi containing:
import os, sys
from slidedeck import app as application
application.config.update({
'SLIDE_DIR': '/var/www/slidetest',
})
the index page loads and says "Available Slides: None"?
--Benjamin Gilbert
_______________________________________________
openslide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:openslide-users@lists.andrew.cmu.edu">openslide-users@lists.andrew.cmu.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users">https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
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: <a class="moz-txt-link-abbreviated" href="mailto:mark.ungrin@ucalgary.ca">mark.ungrin@ucalgary.ca</a>
<a class="moz-txt-link-freetext" href="http://www.ucalgary.ca/ungrinlab">http://www.ucalgary.ca/ungrinlab</a>
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.</pre>
</body>
</html>