DYefremov / DemonEditor

Enigma2 channel and satellite list editor for GNU/Linux and macOS.
https://dyefremov.github.io/DemonEditor
MIT License
119 stars 142 forks source link

Extract picon #133

Closed mapi68 closed 2 years ago

mapi68 commented 2 years ago

Latest DE for Windows when download picon:

18-10-22 02:42:15 Downloading: https://picon.cz/download/1105 18-10-22 02:42:16 Extracting: 1105 18-10-22 02:42:16 PiconsCzDownloader [extract] error: b'\r\nERROR: C:\Users\max\DemonEditor\picons\DM7020HD\1105.7z : Cannot open the file as archive\r\n\r\n\r\n' 18-10-22 02:42:16 Error: b'\r\nERROR: C:\Users\max\DemonEditor\picons\DM7020HD\1105.7z : Cannot open the file as archive\r\n\r\n\r\n'

In Debian it's ok,

DYefremov commented 2 years ago

Win 10:

picons_download_win10

I'll test later on Windows 11 also.

mapi68 commented 2 years ago

It's strange because before today it worked very good (tested in Win10).

DYefremov commented 2 years ago

There may be problems with the archive itself. It cannot be ruled out that the picons author and his service may also have problems. Tested on Windows 11: picons_download_win11

DYefremov commented 2 years ago

Do a little experiment. Just install the latest 7zip on your system. Without making changes (replacing) in the program files!

mapi68 commented 2 years ago

Same error....

DYefremov commented 2 years ago

It's strange because before today it worked very good (tested in Win10).

Same error....

After some experimentation, I was able to reproduce your case on Windows 10 with en-us language and locale! After installing 7 zip on the system, the error disappeared. But before that, I was playing with regional settings and with language settings for the terminal. locale

Perhaps it will help.

mapi68 commented 2 years ago

After installing 7 zip on the system, the error disappeared.

Yes, after installing it works.

screenshot_2022_10_19_at_18_38_26

Maybe this is a problem after update to Windows 10 2022H2?

DYefremov commented 2 years ago

I think you have already answered here: )

before today it worked very good

Any update can bring both good and bad surprises. :)

mapi68 commented 2 years ago

With Windows 3.1.0 Alpha the same problem of 7zip picons extractor. But if I have 7zip installed in WIndows (full software) it extract picons. If I uninstall 7zip stop works!

DYefremov commented 2 years ago

No changes have been made in this version. I think it's just missing a certain library. It needs to experiment. That is why I didn’t really want to include 7zip in to the Windows build, but always used the external option. :)

mapi68 commented 2 years ago

I found where the problem is. 7z.dll is missing in the DE directory (there is only 7z.exe). These are the UPDATED files to include. 7z.zip

After I'll send the new installer

DYefremov commented 2 years ago

Thanks. Updated!