Antwort: Re: [Tilecache] Custom Path

Just van den Broecke just at justobjects.nl
Thu May 20 11:36:21 EDT 2010


Aha this may bring you closer. This is an error from Python itself 
dealing with the PYTHONPATH like in 
http://www.stereoplex.com/2009/mar/3/understanding-imports-and-pythonpath

Similar to Java CLASSPATH, Python uses a searchpath. Possibly you can 
try using absolute paths but on this list are folks more versed in 
Python than me...Also Google is usually my friend in such cases.

best,

--Just

PS pls use reply-all so the list is informed.


Stefan Priess wrote:
> 
> Hi Just,
> 
> nice idea, here is the err.log
> 
> [#|2010-05-20T17:00:45.233+0200|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=22;_ThreadName=Thread-1141;|PWC1412: 
> WebModule[/OSMService]-ServletContext.log():cgi: runCGI (stderr):   
>  from TileCache import Service, cgiHandler, cfgfiles|#]
> 
> [#|2010-05-20T17:00:45.234+0200|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=22;_ThreadName=Thread-1141;|PWC1412: 
> WebModule[/OSMService]-ServletContext.log():cgi: runCGI 
> (stderr):ImportError: No module named TileCache|#]
> 
> regards,
> 
> Stefan
> 
> 
> 
> *Just van den Broecke <just at justobjects.nl>*
> Gesendet von: tilecache-bounces at lists.osgeo.org
> 
> 20.05.2010 16:23
> 
> 	
> An
> 	tilecache at lists.osgeo.org
> Kopie
> 	
> Thema
> 	Re: [Tilecache] Custom Path
> 
> 
> 	
> 
> 
> 
> 
> 
> Hi Stefan,
> 
> Guess you are on some U*X. Have you made tilecache.cgi executable (chmod
> +x tilecache.cgi) ? Other permission issues I've found once were with
> on-the-fly Python compilation (creation of .pyc files) where the
> webserver did not have permission to write into the TC dirs.
> 
> Things may depend on the installation of TC. I am no TC expert so
> hopefully others may help. Usually the error log (e.g. apache error log)
> may give insights. I am not familiar with Glassfish Webserver, thought
> this was a Java Appserver.
> 
> best,
> 
> --Just
> 
> 
> Stefan Priess wrote:
>  >
>  > Hey Guys,
>  >
>  > i need some help to install TileCache. I have no root permission and can
>  > only rwx in my home path and in the /opt directory.
>  > All the tools are installed in the /opt directory. Mapnik is running
>  > fine (rendering pictures wih generate_image.py).
>  > Tilecache_seeds works and produces correct tiles. When i put the
>  > tilecache.cgi script into the Path from Glassfish Webserver and try to
>  > run it, i get a blank site.
>  > Other Cgi Scripts in the same directory are working. Any ideas? maybe a
>  > hardcoded path?
>  >
>  > Thanks
>  >
>  > Stefan
>  >
>  >
>  > ------------------------------------------------------------------------
>  >
>  > _______________________________________________
>  > Tilecache mailing list
>  > Tilecache at lists.osgeo.org
>  > http://lists.osgeo.org/mailman/listinfo/tilecache
> 
> 
> 
> _______________________________________________
> Tilecache mailing list
> Tilecache at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/tilecache
> 




More information about the Tilecache mailing list