tcesni / crossepg

Automatically exported from code.google.com/p/crossepg
GNU Lesser General Public License v2.1
0 stars 0 forks source link

crash when i want update rytec providers #87

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
This is my crash log when i want update rytec providers

action ->  SetupActions cancel
[CrossEPG_Auto] poll
action ->  SetupActions ok
reused converter!
reused converter!
allocating new converter!
action ->  SetupActions right
unknown action SetupActions/right! typo in keymap?
action ->  SetupActions cancel
action ->  SetupActions ok
reused converter!
reused converter!
allocating new converter!
action ->  SetupActions cancel
[CrossEPG_Auto] poll
[EPGC] start cleanloop
[EPGC] stop cleanloop
[EPGC] 5791579 bytes for cache used
action ->  SetupActions ok
Looking for embedded skin
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/crossepg_rytec_update.py", line 57, in start
    if self.load():
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/crossepg_rytec_update.py", line 96, in load
    f.write(zip.read(file))
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/zipfile.py", line 831, in read
    return self.open(name, "r", pwd).read()
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/zipfile.py", line 902, in open
    zef = ZipExtFile(zef_file, zinfo)
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/zipfile.py", line 466, in __init__
    self.dc = zlib.decompressobj(-15)
AttributeError: 'NoneType' object has no attribute 'decompressobj'
(PyObject_CallObject(<bound method CrossEPG_Rytec_Update.start of <class 
'Plugins.SystemPlugins.CrossEPG.crossepg_rytec_update.CrossEPG_Rytec_Update'>>,(
)) failed)
getResolvedKey config.plugins.crashlogautosubmit.sendAnonCrashlog failed !! 
(Typo??)
resolve: resolve ${sysconfdir}/enigma2/settings
resolve: -> /etc/enigma2/settings
getResolvedKey config.plugins.crashlogautosubmit.addNetwork failed !! (Typo??)
resolve: resolve ${sysconfdir}/enigma2/settings
resolve: -> /etc/enigma2/settings
getResolvedKey config.plugins.crashlogautosubmit.addWlan failed !! (Typo??)
resolve: resolve ${sysconfdir}/enigma2/settings
resolve: -> /etc/enigma2/settings
]]>

What is the expected output? What do you see instead?

What version of crossepg are you using? On what box and on what image?
last version 6.2 r259.dreambox 800.CVS+GP3

Please provide any additional information below.

Original issue reported on code.google.com by farshad....@gmail.com on 24 Apr 2011 at 9:44

Attachments:

GoogleCodeExporter commented 8 years ago
Try to install python-zlib (opkg update && opkg install python-zlib) and let me 
know if something change

Original comment by skama...@gmail.com on 24 Apr 2011 at 10:00

GoogleCodeExporter commented 8 years ago
Where to download the version that you used to say I
My image is updated.

new crash log

Original comment by farshad....@gmail.com on 25 Apr 2011 at 4:32

Attachments:

GoogleCodeExporter commented 8 years ago
uhm.. try this

rm /usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/zipfile.py
rm /usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/zipfile.pyo
opkg update
opkg install python-compression

enigma2 gui reboot

Original comment by skama...@gmail.com on 25 Apr 2011 at 10:23

GoogleCodeExporter commented 8 years ago
what must i do?
how update these files?
:-??

Original comment by farshad....@gmail.com on 25 Apr 2011 at 12:52

Attachments:

GoogleCodeExporter commented 8 years ago
When crossepg update rytec list download a zip from rytec website and deflate 
it.
For do this i use zipfile.py (it's an official python module from python 2.6). 
zipfile use python zlib module for do his job.
I suppose there is some incompatibility with bundled zipfile.py and your 
zlib... so the test is:
remove bundled zipfile:
rm /usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/zipfile.py
rm /usr/lib/enigma2/python/Plugins/SystemPlugins/CrossEPG/zipfile.pyo

install zipfile from your image feeds:
opkg update
opkg install python-compression

reboot gui and test again... in case of attach the new crash log

Original comment by skama...@gmail.com on 25 Apr 2011 at 2:52

GoogleCodeExporter commented 8 years ago
Thanks to your instructions

I download and install:

python-compression_2.6.4-ml8.2_mipsel.ipk
python-zlib_2.6.4-ml8.2_mipsel.ipk

form:
www.dreamboxupdate.com/opendreambox/1.6/dm800/experimental
successfully work

can You add this into your plugin that no longer requires this action?

Original comment by farshad....@gmail.com on 25 Apr 2011 at 3:31

GoogleCodeExporter commented 8 years ago
with svn 277 must install yet??????????
python-compression_2.6.4-ml8.2_mipsel.ipk
python-zlib_2.6.4-ml8.2_mipsel.ipk

???????

Original comment by farshad....@gmail.com on 28 Apr 2011 at 7:19

GoogleCodeExporter commented 8 years ago
Yes.. i'm speaking with rytec about the possibility to remove the zip python 
module. I hope to update it tomorrow evening.

Original comment by skama...@gmail.com on 28 Apr 2011 at 1:27

GoogleCodeExporter commented 8 years ago
Fixed in svn 282

Original comment by skama...@gmail.com on 29 Apr 2011 at 11:07