Is it in feed ?
yes
Posted 21 November 2022 - 06:34
Help.
15:08:10.8284 File "/usr/lib/enigma2/python/Plugins/SystemPlugins/NumberZapExt/NumberZapExt.py", line 522, in printLabels
15:08:10.8292 self.setTitle(str(self.field) + (" ") + name)
15:08:10.8292 TypeError: can only concatenate str (not "bytes") to str
if name == 'N/A': if not service is None: name = _("service not found") else: name = _("invalid channel number") self.action = self.getHotkeyAction(int(self.field)) if self.action: name = _(ACTIONLIST[self.action]['title']) channel = _("Action:") bouquet = bqname = "" service = None self.setTitle(str(self.field) + (" ") + name)
def getActions(xmlfile, hotkeys={}): result = {} try: import xml.etree.cElementTree root = xml.etree.cElementTree.parse(xmlfile).getroot() except: root = None if not root is None: for item in root.findall('action'): id = item.get('id') if id: result[id] = item.attrib.copy() result[id]['title'] = (result[id].get('title', '') or id.replace('_', ' ').title()).encode('UTF-8') result[id]['hotkey'] = int(result[id].get('hotkey', 0)) or hotkeys.get(id, 0) if result[id].get('type', '') in ('screen', 'code'): result[id]['args'] = item.text or '' result[id].pop('id') return result ACTIONLIST = getActions('%s/actions.xml' % (PLUGIN_PATH), eval(config.plugins.NumberZapExt.hotkeys.value))
https://github.com/D...ended-NumberZap
Edited by Dimitrij, 21 November 2022 - 06:37.
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Posted 21 November 2022 - 12:24
@Dima - how can I simulate pass to this line ?
if self.action:
name = _(ACTIONLIST[self.action]['title']
<class 'dict'> {'infobar_extensions': {'weight': '10', 'title': b'Extensions Menu', 'type': 'code', 'hotkey': 0, 'args': 'self.showExtensionSelection()'}
'title' item in ACTIONLIST dictionary is bytes, In this case you must use there:
name = _(ACTIONLIST[self.action]['title'].decode())
or
name = _(str(ACTIONLIST[self.action]['title']))
Edited by ims, 21 November 2022 - 12:36.
Posted 21 November 2022 - 18:31
In NumberZapExt.py on line 62 - why this encode ? => bytes ?
result[id]['title'] = (result[id].get('title', '') or id.replace('_', ' ').title()).encode('UTF-8')
remove encode and it coud work without next changes...
ver 1.22 - fix python3(str bytes)
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Posted 17 December 2022 - 18:32
Hi,
Positioner Setup crashes; can someone please test this ?
Thanks
Posted 17 December 2022 - 19:25
Can you do the same in debug mode, and then post the line starting with "[TuneTest] tuning to transponder with data..." ?
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 17 December 2022 - 22:43
Thanks, no more crash after changing lines 1487, 1489 and 1669
defaultSat["frequency"] = frontendData.get("frequency", 0) // 1000
returnvalue = (transponder[1] // 1000, transponder[2] // 1000,
Edited by Amai, 17 December 2022 - 22:46.
Posted 17 December 2022 - 22:54
Fix committed.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 17 December 2022 - 23:14
Thanks!
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 31 December 2022 - 17:19
kodi 19.4 can be installed from feed but doesnt run. Something is wrong?
And that is well known.
Unfortunately, the statement alone is no help.
What exactly happened would be important to know.
It builds and the principal installation is also intact.
But unfortunately there is no more information about what exactly happens then.
We simply need exact logs of installation and program calls, which then happens.
If that doesn't happen, then Kodi is certainly not part of the next newer version, since unfortunately it hasn't worked yet.
Posted 16 January 2023 - 14:46
Posted 16 January 2023 - 16:02
What do you mean by "but when you change it" ?
What do you change, the settings for the time-shift function or do you mean that it will work after you zapped to another channel?
Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....
On the edge of the abyss, a step forward is not always progress....
Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna
Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam
Press the button on the buttom right of this message
Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki
0 members, 8 guests, 0 anonymous users