Release Surveillance Room - Your IP Camera Companion with extra Foscam HD Support
#32
Here it is with the updated py file...let me know if there's anything I missed

17:01:12 T:140735248130816 DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
17:01:12 T:140735248130816 DEBUG: OnKey: return (0xf00d) pressed, action is Select
17:01:12 T:4663939072 NOTICE: Thread LanguageInvoker start, auto delete: false
17:01:12 T:4663939072 INFO: initializing python engine.
17:01:12 T:4663939072 DEBUG: CPythonInvoker(21, /Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/service.py): start processing
17:01:12 T:140735248130816 DEBUG: CGUIMediaWindow::GetDirectory (addons://user/xbmc.addon.video)
17:01:12 T:140735248130816 DEBUG: ParentPath = [addons://user/xbmc.addon.video]
17:01:12 T:4663939072 NOTICE: -->Python Interpreter Initialized<--
17:01:12 T:4663939072 DEBUG: CPythonInvoker(21, /Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/service.py): the source file to load is "/Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/service.py"
17:01:12 T:4663939072 DEBUG: CPythonInvoker(21, /Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/service.py): setting the Python path to /Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom:/Users/mediacenter/Library/Application Support/Kodi/addons/script.module.requests/lib:/Applications/Kodi.app/Contents/Libraries:/Applications/Kodi.app/Contents/Libraries/lib/python26.zip:/Applications/Kodi.app/Contents/Libraries/lib/python2.6:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/plat-darwin:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/plat-mac:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/lib-tk:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/lib-old:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/lib-dynload:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/site-packages:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/site-packages/PIL
17:01:12 T:4663939072 DEBUG: CPythonInvoker(21, /Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/service.py): entering source directory /Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom
17:01:12 T:4663939072 DEBUG: CPythonInvoker(21, /Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/service.py): instantiating addon using automatically obtained id of "plugin.video.surveillanceroom" dependent on version 2.19.0 of the xbmc.python api
17:01:12 T:4674764800 NOTICE: Thread BackgroundLoader start, auto delete: false
17:01:12 T:4674764800 DEBUG: Thread BackgroundLoader 4674764800 terminating
17:01:13 T:4663939072 NOTICE: plugin.video.surveillanceroom v1.0.7: NORMAL : SERVICE :: **START** Instance 0 - Starting a new service instance.
17:01:13 T:4663939072 NOTICE: plugin.video.surveillanceroom v1.0.7: NORMAL : SERVICE :: Log Level: 3
17:01:13 T:4663939072 NOTICE: plugin.video.surveillanceroom v1.0.7: VERBOSE : SERVICE :: Camera 1; Enabled: True
17:01:13 T:4663939072 NOTICE: plugin.video.surveillanceroom v1.0.7: DEBUG : SETTINGS :: Use Cache: False; Camera 1; Camera Type: 0; Monitor: <resources.lib.monitor.AddonMonitor object at 0x6000040a3fe0>
17:01:13 T:4663939072 NOTICE: plugin.video.surveillanceroom v1.0.7: VERBOSE : SETTINGS :: Camera 1 - Testing connection...
17:01:13 T:4663939072 NOTICE: plugin.video.surveillanceroom v1.0.7: DEBUG : Send Foscam command: http://192.168.1.104:88/cgi-bin/CGIProxy...etDevState
17:01:13 T:4663939072 NOTICE: http://192.168.1.104:88/cgi-bin/CGIProxy...etDevState
17:01:13 T:4663939072 NOTICE: NEW DEBUG: raw_string: <CGI_Result>
<result>0</result>
<IOAlarm>0</IOAlarm>
<motionDetectAlarm>1</motionDetectAlarm>
<soundAlarm>0</soundAlarm>
<record>0</record>
<sdState>0</sdState>
<sdFreeSpace>0k</sdFreeSpace>
<sdTotalSpace>0k</sdTotalSpace>
<ntpState>1</ntpState>
<ddnsState>0</ddnsState>
<url>http%3A%2F%2Fhd2493.myfoscam.org%3A88</url>
<upnpState>1</upnpState>
<isWifiConnected>1</isWifiConnected>
<wifiConnectedAP>FrogsJumpHigh</wifiConnectedAP>
<infraLedState>0</infraLedState>
</CGI_Result>
17:01:13 T:4663939072 NOTICE: NEW DEBUG: root: <Element CGI_Result at 608005083f40>
17:01:13 T:4663939072 NOTICE: NEW DEBUG: code: -7
17:01:13 T:4663939072 NOTICE: NEW DEBUG: params: {}
17:01:13 T:4663939072 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: _ElementInterface instance has no attribute 'iter'
Traceback (most recent call last):
File "/Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/service.py", line 370, in <module>
start()
File "/Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/service.py", line 363, in start
instance.run(new_instance)
File "/Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/service.py", line 297, in run
camera_settings = settings.getBasicSettings(camera_number, monitor, useCache=False)
File "/Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/resources/lib/settings.py", line 316, in getBasicSettings
success_code, response = camera.get_dev_state()
File "/Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/resources/lib/foscam2.py", line 399, in get_dev_state
return self.execute_command('getDevState', callback=callback)
File "/Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/resources/lib/foscam2.py", line 140, in execute_command
return execute_with_callbacks(cmd, params, callback)
File "/Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/resources/lib/foscam2.py", line 129, in execute_with_callbacks
code, params = self.send_command(cmd, params)
File "/Users/mediacenter/Library/Application Support/Kodi/addons/plugin.video.surveillanceroom/resources/lib/foscam2.py", line 113, in send_command
for child in root.iter():
AttributeError: _ElementInterface instance has no attribute 'iter'
-->End of Python script error report<--
Reply


Messages In This Thread
RE: Surveillance Room - Your IP Camera Companion with extra Foscam HD Support - by jer78 - 2015-10-28, 23:07
All Cameras - by zaxcom - 2016-08-25, 03:17
Axis M211 - by OnkelKraecker - 2017-03-08, 13:36
RE: Axis M211 - by jinux - 2017-03-08, 14:43
Axis M 211 - by OnkelKraecker - 2017-10-13, 12:57
RE: Axis M 211 - by maikito26 - 2018-01-24, 15:00


Logout Mark Read Team Forum Stats Members Help
Surveillance Room - Your IP Camera Companion with extra Foscam HD Support7
This forum uses Lukasz Tkacz MyBB addons.