problem run my addon on ios/aptv
#1
hi

i witre my self a little plugin and the plugin work fine on windows/linux

but when i try to run this addon on ios i got strange error when trying to read xml file from remote computer

in my plugin i have this line

Code:
linestring = open('192.168.50.4/xbmc/filename.xml', 'r').read()

and in the log file i get :
Code:
13:06:27 T:138821632 M:128049152  NOTICE:  _build_url returns http://192.168.50.22/xbmc/GetElements.php
13:06:27 T:138821632 M:128049152  NOTICE: openroom http://192.168.50.22/xbmc/GetElements.php?roomid=297
13:06:28 T:138821632 M:128049152    INFO: -->Python script returned the following error<--
13:06:28 T:138821632 M:128049152   ERROR: Error Type: <type 'exceptions.IOError'>
13:06:28 T:138821632 M:128049152   ERROR: Error Contents: (2, 'No such file or directory', 'http://192.168.50.4/xbmc/filename.xml')
13:06:28 T:138821632 M:128049152   ERROR: Traceback (most recent call last):
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.contec.video/addon.py", line 232, in <module>
                                                room.openroom(url)
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.contec.video/showRoom.py", line 202, in openroom
                                                linestring = open('http://192.168.50.4/xbmc/filename.xml', 'r').read()
                                            IOError: (2, 'No such file or directory', 'http://192.168.50.4/xbmc/filename.xml')
13:06:28 T:138821632 M:128049152    INFO: -->End of Python script error report<--

the file is exist in that path !!!

thank for the help
Reply

Logout Mark Read Team Forum Stats Members Help
problem run my addon on ios/aptv0