Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.

View Entry Info: Crash when folder contains filenames with Windows encoding

Category:
Possible Bug
What ViX Image build number are you using?
Please provide your ViX Team image build number. Menu > Information > About > Build number > ENTER THIS NUMBER e.g. 4.2.028
6.2.005
Have you tried a flash WITHOUT settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
No
Have you tried a flash WITH settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
No
Attachments
Page 10 of 10 FirstFirst ... 8910
Results 136 to 138 of 138

Thread: Crash when folder contains filenames with Windows encoding

  1. #136

    Title
    Member
    Join Date
    Jun 2022
    Posts
    70
    Thanks
    1
    Thanked 33 Times in 19 Posts
    Quote Originally Posted by Huevos View Post
    What exactly is that bad output?
    That no longer happens and problem was debug print in traschan.py, it contained filename. I don't know why traceback said "RecordTimer.py", nothing was wrong there.

    Current debug log crash is this and it just tries to print "playing.." and filename

    Code:
    <  1151.2274> 19:04:31.2122 Traceback (most recent call last):
    <  1151.2275> 19:04:31.2123   File "/usr/lib/enigma2/python/StartEnigma.py", line 224, in processDelay
    <  1151.2282> 19:04:31.2130     callback(*retval)
    <  1151.2283> 19:04:31.2131   File "/usr/lib/enigma2/python/Screens/InfoBar.py", line 223, in movieSelected
    <  1151.2291> 19:04:31.2139   File "/usr/lib/enigma2/python/Screens/InfoBar.py", line 228, in openMoviePlayer
    <  1151.2295> 19:04:31.2143   File "/usr/lib/enigma2/python/StartEnigma.py", line 314, in open
    <  1151.2301> 19:04:31.2149     dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
    <  1151.2302> 19:04:31.2150   File "/usr/lib/enigma2/python/StartEnigma.py", line 251, in instantiateDialog
    <  1151.2306> 19:04:31.2155     return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
    <  1151.2307> 19:04:31.2155   File "/usr/lib/enigma2/python/StartEnigma.py", line 274, in doInstantiateDialog
    <  1151.2312> 19:04:31.2160     dlg = screen(self, *arguments, **kwargs)
    <  1151.2312> 19:04:31.2161   File "/usr/lib/enigma2/python/Screens/InfoBar.py", line 289, in __init__
    <  1151.2315> 19:04:31.2164   File "/usr/lib/enigma2/python/Navigation.py", line 110, in playService
    <  1151.2318> 19:04:31.2166   File "/usr/lib/enigma2/python/Tools/RedirectOutput.py", line 16, in write
    <  1151.2322> 19:04:31.2170 TypeError: in method 'ePythonOutput', argument 1 of type 'char const *'
    Additional information:
    Wrong number or type of arguments for overloaded function 'ePythonOutput'.

  2. #137
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,804
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by Huevos View Post
    That crash was caused by something nasty in RecordTimer.py...?
    Trying to log something.

    The logging code should really trap this in case the caller doesn't (as they clearly all do not).
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  3. #138
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,804
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by ocean View Post
    Current debug log crash is this and it just tries to print "playing.." and filename
    And that goes via a print statement to the log. If filename is not valid utf8 (and there is no reason at all why it has to be unless the logging code has turned it into valid Unicode) then you'll get a crash.
    We reached here earlier in the thread.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

Page 10 of 10 FirstFirst ... 8910

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.