Release Foscam HD - Video feed with camera controls, and motion/sound detection preview
Hi,

Just for your information...

I´m having the same issue with the python error... running in XBMC 13.2 with the addon. XBMC 13.2 was re-installed after try Kodi 14, in the same PC that was working before but now I´m getting this error only when the preview function is in use:

Code:
02:06:13 T:2128  NOTICE: script.foscam v0.0.21: http://192.168.1.21:88/cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat&usr=myadminuser&pwd=myadminspass&format=1
02:06:13 T:2128  NOTICE: script.foscam v0.0.21: <Response [200]>
02:06:13 T:2128  NOTICE: script.foscam v0.0.21: <CGI_Result>
                                                <result>0</result>
                                            </CGI_Result>
02:06:13 T:2128  NOTICE: script.foscam v0.0.21: Showing preview
02:06:13 T:2128   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: invalid literal for int() with base 10: 'Username required\n'
                                            Traceback (most recent call last):
                                              File "C:\Users\NICMA\AppData\Roaming\XBMC\addons\script.foscam\service.py", line 167, in <module>
                                                Main()
                                              File "C:\Users\NICMA\AppData\Roaming\XBMC\addons\script.foscam\service.py", line 33, in __init__
                                                self.alarm_check()
                                              File "C:\Users\NICMA\AppData\Roaming\XBMC\addons\script.foscam\service.py", line 162, in alarm_check
                                                self.duration_shown = preview.start()
                                              File "C:\Users\NICMA\AppData\Roaming\XBMC\addons\script.foscam\resources\lib\gui.py", line 103, in start
                                                duration = self.extract_mjpeg.start()
                                              File "C:\Users\NICMA\AppData\Roaming\XBMC\addons\script.foscam\resources\lib\utils.py", line 171, in start
                                                frame = get_mjpeg_frame(self.stream)
                                              File "C:\Users\NICMA\AppData\Roaming\XBMC\addons\script.foscam\resources\lib\utils.py", line 142, in get_mjpeg_frame
                                                bytes = int(content_length.split(':')[-1])
                                            ValueError: invalid literal for int() with base 10: 'Username required\n'
                                            -->End of Python script error report<--

Best regards.
Reply


Messages In This Thread
RE: Foscam HD - by George - 2014-03-27, 17:30
RE: Foscam HD - Video feed with camera controls, and motion/sound detection preview - by nickiman - 2015-02-16, 10:11


Logout Mark Read Team Forum Stats Members Help
Foscam HD - Video feed with camera controls, and motion/sound detection preview1
This forum uses Lukasz Tkacz MyBB addons.