On Wed, 14 Mar 2012 15:18:30 +0100, Vincent Pottier wrote:
Bonjour,
Je vous soumets une version alpha d'un projet de calcul d’itinéraire
pédestre.

http://osm7.openstreetmap.fr/~vincentpottier/wanderer/?zoom=16&lat=47.17563&lon=6.09716&layers=BTTT

Il est probable que ça ne marche pas bien. Ouvrez firebug et guettez
les erreurs 500.

une requete
http://osm7.openstreetmap.fr/~vincentpottier/wanderer/ajax.py/?action=wander&forward=1&wkt=LINESTRING(-1.7086744308473%2048.098059782703%2C-1.6980314254762%2048.105195962446)

donne


MOD_PYTHON ERROR

ProcessId:      23775
Interpreter:    'prx3.pole-aquinetic.fr'

ServerName:     'prx3.pole-aquinetic.fr'
DocumentRoot:   '/var/www'

URI:            '/~vincentpottier/wanderer/ajax.py/'
Location:       None
Directory:      '/home/vincentpottier/public_html/'
Filename:       '/home/vincentpottier/public_html/wanderer/ajax.py'
PathInfo:       '/'

Phase:          'PythonHandler'
Handler:        'mod_python.publisher'

Traceback (most recent call last):

File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1128, in _execute_target
    result = object(arg)

File "/usr/lib/python2.6/dist-packages/mod_python/publisher.py", line 204, in handler
    module = page_cache[req]

File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1059, in __getitem__
    return import_module(req.filename)

File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 296, in import_module
    log, import_path)

File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 680, in import_module
    execfile(file, module.__dict__)

File "/home/vincentpottier/public_html/wanderer/ajax.py", line 7, in <module>
    from modules.debugger import Debugger

ImportError: No module named debugger


MODULE CACHE DETAILS

Accessed:       Wed Mar 14 15:30:40 2012
Generation:     3

_mp_ca722319942312a94ca675c8a6964169 {
  FileName:     '/home/vincentpottier/public_html/wanderer/ajax.py'
  Instance:     1 [IMPORT]
  Generation:   0 [ERROR]
  Modified:     Wed Mar 14 01:46:33 2012
  Children:     '/home/vincentpottier/public_html/wanderer/settings.py'
}

_mp_1e6a8efbdaa6ad05fc0823542e1bdd16 {
  FileName:     '/home/vincentpottier/public_html/wanderer/settings.py'
  Instance:     1
  Generation:   3
  Modified:     Wed Mar 14 10:24:12 2012
  Imported:     Wed Mar 14 15:29:53 2012
}



_______________________________________________
dev-fr mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev-fr

Répondre à