Skip to content

Conversation

@Dima73
Copy link
Contributor

@Dima73 Dima73 commented Aug 27, 2025

-this config(reload E2 after 40 sec.) yes/no(default no)

-add info text to pair BT remote control

-[bluetoothctl.py] add sanity check:
Traceback (most recent call last):
File
"/usr/lib/enigma2/python/Components/ActionMap.py", line 56, in action

File
"/usr/lib/enigma2/python/Plugins/Extensions/BTDevicesManager/plugin.py", line 282, in keyYellow
self._connect(current[1], current[2])
File
"/usr/lib/enigma2/python/Plugins/Extensions/BTDevicesManager/plugin.py", line 259, in _connect
iBluetoothctl.trust(mac_address)
File
"/usr/lib/enigma2/python/Plugins/Extensions/BTDevicesManager/bluetoothctl.py", line 217, in trust
res = self.process.expect(
File
"/usr/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in expect
return self.expect_list(compiled_pattern_list,
File
"/usr/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in expect_list
return exp.expect_loop(timeout)
File
"/usr/lib/python3.9/site-packages/pexpect/expect.py", line 181, in expect_loop
return self.timeout(e)
File
"/usr/lib/python3.9/site-packages/pexpect/expect.py", line 144, in timeout
raise exc
pexpect.exceptions.TIMEOUT: Timeout
exceeded.
<pexpect.pty_spawn.spawn object at 0xb1d507d8>

-this config(reload E2 after 40sec) cyes/no(default no)

-add info text to pair BT remote control
-[bluetoothctl.py] add sanity check:
Traceback (most recent call last):
  File
"/usr/lib/enigma2/python/Components/ActionMap.py", line 56, in action

File
"/usr/lib/enigma2/python/Plugins/Extensions/BTDevicesManager/plugin.py",
line 282, in keyYellow
    self._connect(current[1], current[2])
  File
"/usr/lib/enigma2/python/Plugins/Extensions/BTDevicesManager/plugin.py",
line 259, in _connect
    iBluetoothctl.trust(mac_address)
  File
"/usr/lib/enigma2/python/Plugins/Extensions/BTDevicesManager/bluetoothctl.py",
line 217, in trust
    res = self.process.expect(
  File
"/usr/lib/python3.9/site-packages/pexpect/spawnbase.py", line 354, in
expect
    return self.expect_list(compiled_pattern_list,
  File
"/usr/lib/python3.9/site-packages/pexpect/spawnbase.py", line 383, in
expect_list
    return exp.expect_loop(timeout)
  File
"/usr/lib/python3.9/site-packages/pexpect/expect.py", line 181, in
expect_loop
    return self.timeout(e)
  File
"/usr/lib/python3.9/site-packages/pexpect/expect.py", line 144, in
timeout
    raise exc
pexpect.exceptions.TIMEOUT: Timeout
exceeded.
<pexpect.pty_spawn.spawn object at 0xb1d507d8>
@kueken
Copy link
Contributor

kueken commented Aug 27, 2025

It is better not to take the language file (.po)in there, which is viewed separately without updating the entire level there.
My guess

@littlesat
Copy link
Member

littlesat commented Sep 11, 2025

Reload enigma2 is a 'dramatic' work-a-round...
And also a lot of if box x then do y...
there is also more included than just work-a-round the issue.

@WanWizard
Copy link
Member

WanWizard commented Sep 11, 2025

I miss the root cause analysis.

I miss everything really, no description of the problem, no explanation of the problem, no explaination why this "workaround" works. This makes finding a better solution difficult.

And I've never seen E2 crash with that error on my box.

I find restarting E2 inot acceptable and I suggest this PR is closed.

@Dima73 Dima73 closed this Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants