fritz-smh / domogik-plugin-wol

Other
2 stars 0 forks source link

500 error #1

Open tikismoke opened 8 years ago

tikismoke commented 8 years ago

In db manager: http://pastebin.com/9UeVBBa8

on admin: 2016-05-22 12:21:01,703 domogik.admin.application INFO http request for /client/plugin-wol.domogik/dmg_devices/new/type/wol.wol received

in manager:

2016-05-22 12:21:53,917 domogik-manager DEBUG MQ Request received : <MQMessage(action=client.detail.get, data='{}')>
2016-05-22 12:21:53,917 domogik-manager INFO Clients details request : <MQMessage(action=client.detail.get, data='{}')>
2016-05-22 12:21:53,946 domogik-manager DEBUG MQ Request received : <MQMessage(action=device_types.get, data='{u'device_type': u'wol.wol'}')>
2016-05-22 12:21:53,946 domogik-manager INFO Device types request : <MQMessage(action=device_types.get, data='{u'device_type': u'wol.wol'}')>
tikismoke commented 8 years ago

admin in console lunch:

 INFO Start IOLoop for MQ : nothing else can be executed in the __init__ after this! Make sure that the self.ready() call is the last line of your init!!!!
--------------------------------------------------------------------------------
INFO in application [/home/domogik/src/domogik/admin/application.py:86]:
http request for /client/plugin-wol.domogik/dmg_devices/new/type/wol.wol received
--------------------------------------------------------------------------------
2016-05-22 12:24:06,458 domogik.admin.application INFO http request for /client/plugin-wol.domogik/dmg_devices/new/type/wol.wol received
INFO:domogik.admin.application:http request for /client/plugin-wol.domogik/dmg_devices/new/type/wol.wol received
request.method=POST / form.validate=True
FORM=ImmutableMultiDict([('xpl|port', u'9'), ('csrf_token', u'1463916191##5fd2fe41c156381111b5040d2a5dcff9a5154be2'), ('xpl|device', u'\u200eE4:11:5B:B1:7D:98'), ('name', u'ML110 G7'), ('reference', u''), ('description', u'')])
ITEM=xpl|port (9)
ITEM=csrf_token (1463916191##5fd2fe41c156381111b5040d2a5dcff9a5154be2)
ITEM=xpl|device (‎E4:11:5B:B1:7D:98)
ITEM=name (ML110 G7)
ITEM=reference ()
ITEM=description ()
--------------------------------------------------------------------------------
DEBUG in application [/home/domogik/src/domogik/admin/application.py:78]:
 => response status code: 302
--------------------------------------------------------------------------------
2016-05-22 12:24:06,850 domogik.admin.application DEBUG  => response status code: 302
DEBUG:domogik.admin.application: => response status code: 302
--------------------------------------------------------------------------------
DEBUG in application [/home/domogik/src/domogik/admin/application.py:79]:
 => response content_type: text/html; charset=utf-8
--------------------------------------------------------------------------------
2016-05-22 12:24:06,851 domogik.admin.application DEBUG  => response content_type: text/html; charset=utf-8
DEBUG:domogik.admin.application: => response content_type: text/html; charset=utf-8
--------------------------------------------------------------------------------
INFO in application [/home/domogik/src/domogik/admin/application.py:86]:
http request for /client/plugin-wol.domogik/dmg_devices/known received
--------------------------------------------------------------------------------
2016-05-22 12:24:06,856 domogik.admin.application INFO http request for /client/plugin-wol.domogik/dmg_devices/known received
INFO:domogik.admin.application:http request for /client/plugin-wol.domogik/dmg_devices/known received
--------------------------------------------------------------------------------
DEBUG in application [/home/domogik/src/domogik/admin/application.py:78]:
 => response status code: 200
--------------------------------------------------------------------------------
2016-05-22 12:24:07,275 domogik.admin.application DEBUG  => response status code: 200
DEBUG:domogik.admin.application: => response status code: 200
--------------------------------------------------------------------------------
DEBUG in application [/home/domogik/src/domogik/admin/application.py:79]:
 => response content_type: text/html; charset=utf-8
--------------------------------------------------------------------------------
2016-05-22 12:24:07,275 domogik.admin.application DEBUG  => response content_type: text/html; charset=utf-8
DEBUG:domogik.admin.application: => response content_type: text/html; charset=utf-8
New subscriber.
vdomos commented 8 years ago

Not sur, it's the same. I found the 500 error for the device name with accents in different plugins.

When I start admin in foreground,,I have no more error

tikismoke commented 8 years ago

The device name is "ML110G7" no accent or special characters;(