istanbulhs / presence

Wireless'a bağlı cihaz olup olmadığını kontrol eden basit bir betik.
5 stars 3 forks source link

presence_daemon calistirildiginda Spyne hata atiyor #10

Closed elifkus closed 10 years ago

elifkus commented 11 years ago

DEBUG:spyne.util.appreg:Registering <spyne.application.Application object at 0x23bafd0> as ('http://istanbulhs.org/api', 'Application') Traceback (most recent call last): File "/usr/bin/presence_daemon", line 9, in load_entry_point('presence==0.2.0', 'console_scripts', 'presence_daemon')() File "/usr/lib/python2.6/site-packages/presence-0.2.0-py2.6.egg/presence/main.py", line 61, in main wsgi_app = WsgiApplication(application) File "/usr/lib/python2.6/site-packages/spyne-2.10.9-py2.6.egg/spyne/server/wsgi.py", line 200, in init self._wsdl = self.doc.wsdl11.get_interface_document() AttributeError: 'NoneType' object has no attribute 'get_interface_document' [root@main-web presence]# telnet localhost 8081 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused

plq commented 11 years ago

enteresan. bakayim bakalim

plq commented 11 years ago

bende atmiyor?

DEBUG:spyne.interface._base:populating 'presence.entity.device.DeviceService ({presence.entity.device}DeviceService)' types...
DEBUG:spyne.interface._base:    adding class "<class 'spyne.model.complex.kac_cihaz'>" for '{http://istanbulhs.org/api}kac_cihaz'
DEBUG:spyne.interface._base:    adding class "<class 'spyne.model.complex.kac_cihazResponse'>" for '{http://istanbulhs.org/api}kac_cihazResponse'
DEBUG:spyne.interface._base:    adding class "<class 'spyne.model.primitive.Integer'>" for '{http://www.w3.org/2001/XMLSchema}integer'
DEBUG:spyne.interface._base:populating 'presence.entity.device.DeviceService' methods...
DEBUG:spyne.interface._base:    adding method 'kac_cihaz' to match '{http://istanbulhs.org/api}kac_cihaz' tag.
DEBUG:spyne.interface._base:From this point on, you're not supposed to make any changes to the class & method structure of the exposed services.
DEBUG:spyne.util.appreg:Registering <spyne.application.Application object at 0x1738a50> as ('http://istanbulhs.org/api', 'Application')
INFO:root:listening to http://0.0.0.0:8081
INFO:root:wsdl is at: http://localhost:8000/?wsdl
plq commented 11 years ago

python 2.6 ile de denedim onda da atmadi

sendeki spyne hangisi?

plq commented 11 years ago

himmm 2.10.9 mus. daha da enteresan. ben de 2.10.9 ve python 2.6 ile denedim calisti

plq commented 11 years ago

heee anladiim.

sende lxml yok

plq commented 11 years ago

https://github.com/plq/spyne/commit/3d9c3ecc4d06c949eadc792ced90ebd79a172169 https://github.com/plq/spyne/commit/5e865b034ecb6079d3831060e26f574679d14f7a

fixes it.

:shipit:

close if happy.

plq commented 11 years ago

not: son versiyonu indirmek icin:

pip install git+git://github.com/arskom/spyne@2_10 
tasomaniac commented 10 years ago

Bunu kapatsak mi?

plq commented 10 years ago

On 03/21/2014 01:55 PM, Said Tahsin Dane wrote:

Bunu kapatsak mi?

bu duzeleli yil olmuyor mu?