Hello everybody,
I'm running TileStache server, which uses werkzeug, on fedora 20, and
calling it from apache.
I get this error after some minutes of heavy usage:
Exception happened during processing of request from ('127.0.0.1', 58334)
Traceback (most recent call last):
File "/usr/lib64/python2.7/SocketServer.py", line 295, in
_handle_request_noblock
File "/usr/lib64/python2.7/SocketServer.py", line 321, in process_request
File "/usr/lib64/python2.7/SocketServer.py", line 334, in finish_request
File "/usr/lib64/python2.7/SocketServer.py", line 649, in __init__
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 200, in
handle
File "/usr/lib64/python2.7/BaseHTTPServer.py", line 340, in handle
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 235, in
handle_one_request
File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 183, in
run_wsgi
ImportError: No module named tbtools
However, when I try to import the module from the python console, it works:
[paolo@localhost TileStache-master]$ python
Python 2.7.5 (default, Feb 19 2014, 13:47:28)
[GCC 4.8.2 20131212 (Red Hat 4.8.2-7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import werkzeug.debug.tbtools
>>> quit()
[paolo@localhost TileStache-master]$
I'm calling the server from a simple html page with some javascript,
evrything is hosted on apache 2.4.9.
I installed werkzeug from the fedora 20 repo, the package version is 0.9.4
(installed python-werkzeug from packages).
I got the same error from werkzeug installed from pip.
This is the mod list for apache:
core mod_so http_core mod_access_compat mod_actions mod_alias
mod_allowmethods mod_auth_basic mod_auth_digest mod_authn_anon
mod_authn_core mod_authn_dbd mod_authn_dbm mod_authn_file mod_authn_socache
mod_authz_core mod_authz_dbd mod_authz_dbm mod_authz_groupfile
mod_authz_host mod_authz_owner mod_authz_user mod_autoindex mod_cache
mod_cache_disk mod_data mod_dbd mod_deflate mod_dir mod_dumpio mod_echo
mod_env mod_expires mod_ext_filter mod_filter mod_headers mod_include
mod_info mod_log_config mod_logio mod_macro mod_mime_magic mod_mime
mod_negotiation mod_remoteip mod_reqtimeout mod_rewrite mod_setenvif
mod_slotmem_plain mod_slotmem_shm mod_socache_dbm mod_socache_memcache
mod_socache_shmcb mod_status mod_substitute mod_suexec mod_unique_id
mod_unixd mod_userdir mod_version mod_vhost_alias mod_dav mod_dav_fs
mod_dav_lock mod_lua prefork mod_proxy mod_lbmethod_bybusyness
mod_lbmethod_byrequests mod_lbmethod_bytraffic mod_lbmethod_heartbeat
mod_proxy_ajp mod_proxy_balancer mod_proxy_connect mod_proxy_express
mod_proxy_fcgi mod_proxy_fdpass mod_proxy_ftp mod_proxy_http mod_proxy_scgi
mod_systemd mod_cgi mod_php5 mod_wsgi
Do I miss any modules? Could it be my apache configuration?
Thanks for any help,
Paolo
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/d/optout.