Jump to content


Photo

Autotimer stopped adding new timers since a few days


  • Please log in to reply
50 replies to this topic

#1 klorinczi

  • Senior Member
  • 37 posts

0
Neutral

Posted 17 November 2024 - 01:15

Hi,

Since a few days Autotimer stopped adding new timers.

Using: VU+ Duo 4K SE, Openpli v9.0, latest updates.

Why Autotimer does not add new timers?
How to fix it?
How can I debug this problem?

Please help!


Thanks,
Konrad

Edited by klorinczi, 17 November 2024 - 01:17.


Re: Autotimer stopped adding new timers since a few days #2 WanWizard

  • PLi® Core member
  • 70,880 posts

+1,833
Excellent

Posted 17 November 2024 - 14:17

Nothing has changed to autotimer in 9.0-release, it hasn't changed since Jul 26, 2023.

 

Enable the search log and the debug log in the plugin (press menu twice when in the plugin), restart enigma, then run a search, and check the logs.


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.


Re: Autotimer stopped adding new timers since a few days #3 arkovda

  • Senior Member
  • 55 posts

0
Neutral

Posted 17 November 2024 - 20:55

I have the same problem.
Been gone for a few days and the timer list is almost empty. Did a search and got it to show new timers in the list. I believe it is the timer within the auto timer that is not working.
VU+ Duo 4K SE
OpenPli 9.0
/Arkovda

Re: Autotimer stopped adding new timers since a few days #4 klorinczi

  • Senior Member
  • 37 posts

0
Neutral

Posted 18 November 2024 - 01:53

autotimer had changes in 2024.
Some of the latest changes:
https://github.com/O...c301571e18547bf

https://github.com/O...a6e269947494776

Re: Autotimer stopped adding new timers since a few days #5 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 18 November 2024 - 07:30

autotimer had changes in 2024.
Some of the latest changes:
https://github.com/O...c301571e18547bf

https://github.com/O...a6e269947494776

This changes only for develop image.


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer stopped adding new timers since a few days #6 WanWizard

  • PLi® Core member
  • 70,880 posts

+1,833
Excellent

Posted 18 November 2024 - 13:45

Nothing has changed to autotimer in 9.0-release, it hasn't changed since Jul 26, 2023.


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.


Re: Autotimer stopped adding new timers since a few days #7 klorinczi

  • Senior Member
  • 37 posts

0
Neutral

Posted 18 November 2024 - 17:45

I found this in autotimer.log:

2024-11-18 17:35:30,311 - INFO - Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/twisted/internet/base.py", line 1423, in run

File "/usr/lib/python3.9/site-packages/twisted/internet/base.py", line 1433, in mainLoop

File "/usr/lib/python3.9/site-packages/twisted/internet/base.py", line 972, in runUntilCurrent

File "/usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimer.py", line 114, in _callFromThread

--- <exception caught here> ---
File "/usr/lib/python3.9/site-packages/twisted/internet/defer.py", line 167, in maybeDeferred

File "/usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimer.py", line 419, in parseTimer

builtins.SystemError: <built-in function eEPGCache_search> returned a result with an error set

Re: Autotimer stopped adding new timers since a few days #8 WanWizard

  • PLi® Core member
  • 70,880 posts

+1,833
Excellent

Posted 18 November 2024 - 17:58

That smells like corrupted EPG.


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.


Re: Autotimer stopped adding new timers since a few days #9 klorinczi

  • Senior Member
  • 37 posts

0
Neutral

Posted 18 November 2024 - 18:08

Should I try to delete epg.dat?

Re: Autotimer stopped adding new timers since a few days #10 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 18 November 2024 - 18:12

Should I try to delete epg.dat?

yes


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer stopped adding new timers since a few days #11 arkovda

  • Senior Member
  • 55 posts

0
Neutral

Posted 18 November 2024 - 18:37

I did not find any logs and and I did remove the epg.dat just in case

I hade this working using OpenPli 8.3 and as soon as I switched to 9.0 the popup "Autotimer completed" did not show, but I got the timers list to increase. Probably due to manual intervention.

The crashlog might have to do with the problem.

/Arkovda

 


Edited by arkovda, 18 November 2024 - 18:37.


Re: Autotimer stopped adding new timers since a few days #12 klorinczi

  • Senior Member
  • 37 posts

0
Neutral

Posted 19 November 2024 - 00:58

I used the following steps to delete epg.dat:
- logged in with SSH into VU+ DUO 4K SE
- Used following commands in terminal:
init 4
mv /media/usb/epg.dat epg.dat.backup2
init 3

It seemed to work, but I got this error again:
2024-11-19 00:33:18,326 - INFO - Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/twisted/internet/base.py", line 1423, in run

File "/usr/lib/python3.9/site-packages/twisted/internet/base.py", line 1433, in mainLoop

File "/usr/lib/python3.9/site-packages/twisted/internet/base.py", line 972, in runUntilCurrent

File "/usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimer.py", line 114, in _callFromThread

--- <exception caught here> ---
File "/usr/lib/python3.9/site-packages/twisted/internet/defer.py", line 167, in maybeDeferred

File "/usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimer.py", line 322, in parseTimer

builtins.AttributeError: 'str' object has no attribute 'decode'

Re: Autotimer stopped adding new timers since a few days #13 klorinczi

  • Senior Member
  • 37 posts

0
Neutral

Posted 19 November 2024 - 01:09

Note: earlier I had this option turned off:
Menu/Setup/System/EPG/EPG settings/Correct invalid EPG data

So I deleted epg.dat again, but now I have Correct invalid EPG data option turned on.

Might turning on this option solve the problem?

Re: Autotimer stopped adding new timers since a few days #14 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 19 November 2024 - 06:24

klorinczi

 

builtins.AttributeError: 'str' object has no attribute 'decode'

Set "EPG encoding" -->'UTF-8'


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer stopped adding new timers since a few days #15 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 19 November 2024 - 06:52

[autotimer] hidden option encoding


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer stopped adding new timers since a few days #16 klorinczi

  • Senior Member
  • 37 posts

0
Neutral

Posted 19 November 2024 - 10:12

klorinczi


builtins.AttributeError: 'str' object has no attribute 'decode'

Set "EPG encoding" -->'UTF-8'
Where can I Set "EPG encoding" to 'UTF-8'?

There is no such option in
Menu/Setup/System/EPG/EPG settings/

Edited by klorinczi, 19 November 2024 - 10:13.


Re: Autotimer stopped adding new timers since a few days #17 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 19 November 2024 - 12:11

AutoTimer Editor -->"EPG encoding"


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer stopped adding new timers since a few days #18 klorinczi

  • Senior Member
  • 37 posts

0
Neutral

Posted 19 November 2024 - 15:20

Thank you, I found it.
In
Menu / Plugin browser / Autotimer / Menu button / Edit new timer defaults / EPG Encoding
The EPG Encoding is already set to UTF-8.

Re: Autotimer stopped adding new timers since a few days #19 klorinczi

  • Senior Member
  • 37 posts

0
Neutral

Posted 19 November 2024 - 15:37

I checked each enabled Autotimer entry and found one which had ISO8859-15 encoding set.
I changed it to UTF-8 and it seems the problem was fixed.

The Autotimer notification about update was displayed again, the missing Timer entries were added.

It seems there is a bug, when other than UTF-8 encoding is set, then fails to finish the process.

Maybe this problem was fixed by Dima73 in his last commit.

Re: Autotimer stopped adding new timers since a few days #20 WanWizard

  • PLi® Core member
  • 70,880 posts

+1,833
Excellent

Posted 19 November 2024 - 15:58

The problem I have with this, is that it may have fixed the crash, it doesn't fix the underlying problem, which is a string encoded in something else than UTF-8.

 

So the setting, and a conversion to UTF-8, is still needed, the current Python2 code should not be removed, it should be converted to Python3.

 

btw,

 

any idea what the EPG source was for that autotimer entry? EPG in Enigma should be in UTF-8, so if you have an entry in ISO8859-15, there may be more bugs to fix...


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.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users