Originally Posted by
twol
Version is I think because you need to change it to string (six.ensure_str) from binary (after urlopen) with py3
- that handles py2 & py3
For some reason the version checking etc is repeated in 2 different sections of code -would be better to change it to a callable routine. Also the version info should be updated after a successful download.
I updated your zipped version if you want to try, just let me know
Hi I'm testing python 3 openvix image if you still have it can you post your updated version or pm me it please?
My version seems to crash on vix
Code:
< 277.0768> Traceback (most recent call last):
< 277.0768> File "/usr/lib/enigma2/python/StartEnigma.py", line 252, in processDelay
< 277.0775> callback(*retval)
< 277.0775> File "/usr/lib/enigma2/python/Plugins/Extensions/SundtekControlCenter/SundtekControlCenter.py", line 556, in thismenuCallback
< 277.0786> ret and ret[1]()
< 277.0786> File "/usr/lib/enigma2/python/Plugins/Extensions/SundtekControlCenter/SundtekControlCenter.py", line 848, in checkdriverversion
< 277.0799> self.session.openWithCallback(self.disclaimer, MessageBox, _("latest sundtek driver version:\n")+netdriver+"\n"+_("\nyour driver version:\n")+installeddriver+_("\nUpdate to current sundtek driver version?"), MessageBox.TYPE_YESNO)
< 277.0799> File "/usr/lib/enigma2/python/StartEnigma.py", line 332, in openWithCallback
< 277.0805> dlg = self.open(screen, *arguments, **kwargs)
< 277.0805> File "/usr/lib/enigma2/python/StartEnigma.py", line 342, in open
< 277.0811> dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
< 277.0811> File "/usr/lib/enigma2/python/StartEnigma.py", line 279, in instantiateDialog
< 277.0815> return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
< 277.0816> File "/usr/lib/enigma2/python/StartEnigma.py", line 309, in doInstantiateDialog
< 277.0820> dlg.applySkin()
< 277.0821> File "/usr/lib/enigma2/python/Screens/Screen.py", line 246, in applySkin
< 277.0825> self.createGUIScreen(self.instance, self.desktop)
< 277.0826> File "/usr/lib/enigma2/python/Screens/Screen.py", line 274, in createGUIScreen
< 277.0830> exec(f, globals(), locals()) # Python 3
< 277.0830> File "skin applet", line 49, in <module>
< 277.0833> File "/usr/lib/enigma2/python/enigma.py", line 1211, in __init__
< 277.0850> _enigma.ePoint_swiginit(self, _enigma.new_ePoint(*args))
< 277.0851> TypeError: in method 'new_ePoint', argument 1 of type 'int'
Additional information:
Wrong number or type of arguments for overloaded function 'new_ePoint'.
Possible C/C++ prototypes are:
ePoint::ePoint()
ePoint::ePoint(int,int)
< 277.0851>
< 277.0852> [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session object at 0xb0a57f28>>,()) failed)
Edit this seems to crash on various screens including image manager then choosing a backup
I think this was a skin error using default skin seems ok