persepolisdm / persepolis

Persepolis Download Manager is a GUI for aria2.
https://persepolisdm.github.io
GNU General Public License v3.0
6.13k stars 649 forks source link

[Bug] Editing download link of file in queue crashes Persepolis to desktop #888

Open refractionpcsx2 opened 2 years ago

refractionpcsx2 commented 2 years ago

System Details:

So reproduction steps, I'm not sure if this can be simplified, but basically I have a custom queue with a lot of files in (a few thousand) and some of them errored during the download because the links were incorrectly pasted, so I right clicked on one, went to properties, removed the offending bit of the link, then click OK and at that point it crashes to desktop, no errors.

I tried updating my python install but apparently it's using its own, probably because it's precompiled.

I have attached the log, I loaded the manager, cleared the log then did the thing, as you can see, it's not really saying a lot :(

Log File Log File: =================================================== Persepolis Download Manager, 2021/11/02 18:59:59 2021-11-02 18:59:59,848 - Persepolis - INFO - chrome: Json file is created successfully. 2021-11-02 18:59:59,849 - Persepolis - INFO - chromium: Json file is created successfully. 2021-11-02 18:59:59,853 - Persepolis - INFO - opera: Json file is created successfully. 2021-11-02 18:59:59,854 - Persepolis - INFO - vivaldi: Json file is created successfully. 2021-11-02 18:59:59,854 - Persepolis - INFO - firefox: Json file is created successfully. 2021-11-02 19:00:00,267 - Persepolis - INFO - youtube_dl version: 2019.09.12.1 2021-11-02 19:00:00,571 - Persepolis - INFO - Aria2 is running 2021-11-02 19:00:00,571 - Persepolis - INFO - Aria2 version: 1.34.0 2021-11-02 19:00:01,465 - Persepolis - INFO - ********** ffmpeg version 4.2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.1.1 (GCC) 20190807 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable- libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable- libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable- libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable- libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 ********** 2021-11-02 19:00:01,465 - Persepolis - INFO - python version: 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] 2021-11-02 19:00:01,465 - Persepolis - INFO - QT version: 5.13.1 2021-11-02 19:00:01,465 - Persepolis - INFO - PyQt version: 5.13.1 2021-11-02 19:00:01,465 - Persepolis - INFO - Operating system: Windows

Anyway, I hope that helps! I did look to see if there was a commit fixing it, but there was a lot of "Bugs are fixed" which didn't really tell me a lot xD

Edit: Small update. I cleared out my DB and added the link to the download of this very program from github, stopped the download and tried to modify the link, and it crashed as soon as I clicked ok, so the whole custom queue and thousands of downloads thing doesn't matter :)