Ladon not working on Windows

Bug #808331 reported by jsgaarde on 2011-07-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Starting a Ladon server on Windows fails with the following exception:

C:\ladontest>c:\Python27\python.exe c:\Python27\Scripts\ladon2.7ctl serve testservice
Options: {'verbose': False, 'port': None}
Modules: testservice
Traceback (most recent call last):
  File "c:\Python27\Scripts\ladon2.7ctl", line 5, in <module>
    pkg_resources.run_script('ladon==0.5.1', 'ladon2.7ctl')
  File "c:\Python27\lib\site-packages\", line 489, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "c:\Python27\lib\site-packages\", line 1207, in run_script
    execfile(script_filename, namespace, namespace)
  File "c:\python27\lib\site-packages\ladon-0.5.1-py2.7.egg\EGG-INFO\scripts\ladon2.7ctl", line 91, in <module>
    exec("%s(*args,**kwargs)" % cmd.replace('-','_'))
  File "<string>", line 1, in <module>
  File "c:\python27\lib\site-packages\ladon-0.5.1-py2.7.egg\EGG-INFO\scripts\ladon2.7ctl", line 68, in serve
    from ladon.server.wsgi import LadonWSGIApplication
  File "c:\Python27\lib\site-packages\ladon-0.5.1-py2.7.egg\ladon\server\", line 1, in <module>
    import ladon.server.wsgi_application as wsgi_application
  File "c:\Python27\lib\site-packages\ladon-0.5.1-py2.7.egg\ladon\server\", line 3, in <module>
    from ladon.ladonizer.collection import global_service_collection
  File "c:\Python27\lib\site-packages\ladon-0.5.1-py2.7.egg\ladon\ladonizer\", line 1, in <module>
    import ladon.ladonizer.decorator
  File "c:\Python27\lib\site-packages\ladon-0.5.1-py2.7.egg\ladon\ladonizer\", line 12, in <module>
    from ladon.ladonizer.collection import global_service_collection
  File "c:\Python27\lib\site-packages\ladon-0.5.1-py2.7.egg\ladon\ladonizer\", line 4, in <module>
    import ladon.interfaces as interfaces
  File "c:\Python27\lib\site-packages\ladon-0.5.1-py2.7.egg\ladon\interfaces\", line 72, in <module>
    import ladon.interfaces.jsonwsp
  File "c:\Python27\lib\site-packages\ladon-0.5.1-py2.7.egg\ladon\interfaces\", line 6, in <module>
    import json,sys,syslog
ImportError: No module named syslog

/ Jakob

jsgaarde (jakob-simon-gaarde) wrote :

This bug was due to an import of syslog which had been used earlier for debugging the LadonWSGIApplication class. The problem is fixed on trunk and Ladon works on Windows again. The fix will be in the upcomming version 0.6.1.

/ Jakob Simon-Gaarde

Changed in ladon:
status: New → Fix Committed
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers