Description of problem: Under Edit -> System Preferences....clicking on System Preferences has no effect at all. Nothing happens. There are no choices that show up Version-Release number of selected component (if applicable): v2.3.042-1, also 2.3.332 How reproducible: Always Steps to Reproduce: 1.Open Tartube 2.Click "Edit." 3.Click "System Preferences.." When I click on "System Preferences", nothing appears to happen. It just grays out, but no preferences show up.
Hardware: All => x86_64CC: (none) => lloyd.osten
Please change the titel to something meaningfull: Tartube 2.3.042-1 system preferences not working Bug confirmed. Console output whilst trying to open system settings inside of tartube: raceback (most recent call last): File "/usr/lib/python3.8/site-packages/tartube/mainapp.py", line 18983, in on_menu_system_preferences config.SystemPrefWin(self) File "/usr/lib/python3.8/site-packages/tartube/config.py", line 9235, in __init__ self.setup() File "/usr/lib/python3.8/site-packages/tartube/config.py", line 98, in setup self.setup_tabs() File "/usr/lib/python3.8/site-packages/tartube/config.py", line 9409, in setup_tabs self.setup_downloader_tab() File "/usr/lib/python3.8/site-packages/tartube/config.py", line 12591, in setup_downloader_tab self.setup_downloader_paths_tab(inner_notebook) File "/usr/lib/python3.8/site-packages/tartube/config.py", line 12847, in setup_downloader_paths_tab self.app_obj.ytdl_update_list.index( ValueError: 'ytdl_update_default_path' is not in list
Latest upstream release tartube v2.3.367 doesn't have this problem https://github.com/axcore/tartube/releases/tag/v2.3.367
Created attachment 13127 [details] Update downloader window I did an additional test with tartube v2.3.042 from upstream (the version which we have packaged). Upstream version works. The problem with our package is that an important step whilst initial tartube setup is skipped. Atached a screenshot from upstream version v2.3.042 that shows that tartube want to update the downloader (youtube-dl). This step is not possible with our packaged version: this dialog doesn't even show up whilst initial tartube setup.
Created attachment 13128 [details] Upstream update downloader window When the attempted update of the downloader (in upstream tartube version) is done, everything works fine.
Thank you Lloyd for reporting, and sturmvogel for the analysis Assigning to maintainer. @sturmvogel: have you asked for rights to edit fields?
CC: (none) => friStatus comment: (none) => Upstream version OK, see c4Summary: system prefernces does nothing => Tartube 2.3.042-1 system preferences not working, need to update downloderAssignee: bugsquad => thierry.vignaud
I've added the edit fields privilege for sturmvogel and Lloyd Osten.
CC: (none) => davidwhodgins
I tried manually installing tartube 2.3.367 from source. After creating a couple of directories for Python 3.8, it seemed to install correctly. The command I used to install Tartube (as per the instructions) was python3 setup.py install I have the tartube executable in /usr/local/bin. However, when I start it from a terminal (Konsole) I get errors. I'm sorry, I can't see anywhere to attach error files...so I'm just showing the terminal output. 1.Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/tartube-2.3.367-py3.8.egg/tartube/mainapp.py", line 2870, in do_activate self.start() File "/usr/local/lib/python3.8/site-packages/tartube-2.3.367-py3.8.egg/tartube/mainapp.py", line 2967, in start self.main_win_obj = mainwin.MainWin(self) File "/usr/local/lib/python3.8/site-packages/tartube-2.3.367-py3.8.egg/tartube/mainwin.py", line 747, in __init__ self.setup_pixbufs() File "/usr/local/lib/python3.8/site-packages/tartube-2.3.367-py3.8.egg/tartube/mainwin.py", line 875, in setup_pixbufs GdkPixbuf.Pixbuf.new_from_file(full_path), gi.repository.GLib.Error: g-file-error-quark: Failed to open file “/usr/share/tartube/icons/win/system_icon_16.png”: No such file or directory (4) 2.Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/tartube-2.3.367-py3.8.egg/tartube/mainapp.py", line 22908, in on_menu_system_preferences config.SystemPrefWin(self) File "/usr/local/lib/python3.8/site-packages/tartube-2.3.367-py3.8.egg/tartube/config.py", line 16520, in __init__ self.setup() File "/usr/local/lib/python3.8/site-packages/tartube-2.3.367-py3.8.egg/tartube/config.py", line 107, in setup self.setup_tabs() File "/usr/local/lib/python3.8/site-packages/tartube-2.3.367-py3.8.egg/tartube/config.py", line 16745, in setup_tabs self.setup_downloader_tab() File "/usr/local/lib/python3.8/site-packages/tartube-2.3.367-py3.8.egg/tartube/config.py", line 21523, in setup_downloader_tab self.setup_downloader_paths_tab(self.downloader_inner_notebook) File "/usr/local/lib/python3.8/site-packages/tartube-2.3.367-py3.8.egg/tartube/config.py", line 21849, in setup_downloader_paths_tab self.app_obj.ytdl_update_list.index( ValueError: 'ytdl_update_default_path' is not in list
You have to delete your old tartube config under ./config as the upstream package will try to use your old config which is already borked with the non existing upgrade path. I did run it without installation as described here: https://github.com/axcore/tartube/blob/master/README.rst#5310-run-without-installing
I will try that. Thank you. I’ll let you know if it worked.
This is for Thierry (and Lloyd if he wants to use the Mageia package). @Thierry: This applies to our actual packaged version v2.3.042-1 After first start of tartube the settings.json file gets created. I found the relevant part in it which causes this problem. Not working: 58 "ytdl_bin": "youtube-dl", 59 "ytdl_path_default": "/usr/bin/youtube-dl", 60 "ytdl_path": "/usr/bin/youtube-dl", 61 "ytdl_update_dict": { 62 "ytdl_update_disabled": [] 63 }, 64 "ytdl_update_list": [ 65 "ytdl_update_disabled" 66 ], 67 "ytdl_update_current": "ytdl_update_default_path", if i change line 67 to 67 "ytdl_update_current": "ytdl_update_disabled", everthing works fine. I'm not sure if you can achive this within the spec file or how it could be done that the setting file get changed to this working version.
I don't know exactly what I did, but I deleted pretty much everything tartube-related. Just now, I installed tartube-2.3.332.rpm. When I clicked on "about", it came up as 2.3.367 and system preferences is now working!
Where do you have tartube-2.3.332.rpm from? It's no Mageia package. That fits to my findings that upstream versions work. We have to disable additional download of ressources whilst the application is run. There the problems arise, because maybe the environment variable "TARTUBE_PKG_STRICT=1" from upstream doesn't properly disable the download function, so that packages will brake.
I think I may have gotten tartube-2.3.332 from rpmfind.net or sourceforge. At any rate, it is working now. I'm hoping that tartube-2.3.367 makes it into Mageia 9.
I pushed tartube-2.3.367-1.mga9 to Cauldron
If it works fine for you, we can backport it to mga8 as an update
Keywords: (none) => NEEDINFO
On a freshly updated Cauldron system tartube-2.3.367-1.mga9 wont start at all. Error: $ tartube Traceback (most recent call last): File "/usr/bin/tartube", line 40, in <module> import mainapp File "/usr/lib/python3.10/site-packages/tartube/mainapp.py", line 96, in <module> import config File "/usr/lib/python3.10/site-packages/tartube/config.py", line 54, in <module> from matplotlib.backends.backend_gtk3agg import FigureCanvasGTK3Agg ModuleNotFoundError: No module named 'matplotlib.backends.backend_gtk3agg' After manual installation of python3-matplotlib-gtk3-3.3.3-3.mga9 tartube starts. But why is this python lib a dependency for tartube? The originial problem that System Preferences won't open is solved with tartube-2.3.367-1.mga9
(In reply to sturmvogel from comment #16) > But why is this python lib a dependency for tartube? My bad. It is a dependency according github page. But we are missing it in our cauldron tartube package.
Keywords: NEEDINFO => (none)
(In reply to Thierry Vignaud from comment #15) > If it works fine for you, we can backport it to mga8 as an update That would be good...:-) Thank you!
So, I just updated my Mageia 8 installation to Cauldron. After creating a couple of directories that said were missing (by the tartube installation script) and updating and installing more dependencies...I'm happy to say that tartube-2.3.367.mga9 is working!
I honestly can't rember if I installed Tartube from the RPM or whether I installed it from source code. It might have been a combination of both.
(In reply to Lloyd Osten from comment #20) > I honestly can't rember if I installed Tartube from the RPM or whether I > installed it from source code. It might have been a combination of both. Good that it works for you now. But to be able to build a properly working package for all people we need to be precise as possible. Mixing packages/configurations will propably lead to an unsatisfactory result for others who will install this package. (In reply to Lloyd Osten from comment #19) > and installing more dependencies... Can you tell at least if you also had to install python3-matplotlib-gtk3-3.3.3-3.mga9 to get tartube running or was it pulled in as dependency?
I have setup a completely new cauldron VB (Plasma 64bit) for testing purposes. tartube-2.3.367-1.mga9 doesn't start because of a missing dependency. $ tartube Traceback (most recent call last): File "/usr/bin/tartube", line 40, in <module> import mainapp File "/usr/lib/python3.10/site-packages/tartube/mainapp.py", line 96, in <module> import config File "/usr/lib/python3.10/site-packages/tartube/config.py", line 54, in <module> from matplotlib.backends.backend_gtk3agg import FigureCanvasGTK3Agg ModuleNotFoundError: No module named 'matplotlib.backends.backend_gtk3agg' The packet python3-matplotlib-gtk3-3.3.3-3.mga9 needs to be added as dependency. After that everything works fine including all menues.
Fixed in tartube-2.3.367-2.mga9
Fresh test (deleted settings and deps before): - tartube-2.3.367-2.mga9 installs without problems - all deps get pulled in - tartube opens - all settings are accessible, so the originial problem is solved Plasma MGA9 64bit OK
I think I may have found another bug in Tartube 2.3.367 Under Edit->System Preferences->Windows->Websites, there are four checkboxes. Three of them work when I click OK. The one that does NOT work. The checkbox for "ignore YouTube age-restriction errors" does not stay checked. As soon as I hit OK, the window disappears, as expected. Re-opening the window shows that particular box is unchecked.
We stopped supporting Mageia 8 almost 8 months ago https://blog.mageia.org/en/2023/12/30/mageia-8-end-of-life/ That means we also stopped fixing Mageia 8 bugs and that this bug report needs to be closed, regardless of whether it was fixed for Mageia 8 or not. If this particular bug did not get fixed for Mageia 8, then we do regret that. If this issue is still present in Mageia 9 or cauldron, then please reopen this report, write a comment and adjust the "Version:" field. If you are not yet a member of one or our teams, then please consider becoming one. https://wiki.mageia.org/en/Contributing Mageia is a community project, meaning that we, the users, make Mageia together. The more active contributors we have, the more bug reports will get fixed. Besides, being active in a team can be very rewarding. It was and is certainly rewarding to me :-D
Status: NEW => RESOLVEDResolution: (none) => OLD