Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaugt Exceptions in 3.5 on Fedora 39 fresh install in 'Manage files' #900

Open
pmwisse opened this issue Apr 15, 2024 · 4 comments
Open

Comments

@pmwisse
Copy link

pmwisse commented Apr 15, 2024

Describe the bug :
Python outputs a list of exceptions when opening 'Manage files' (in which there are two audio files):

Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/Qualcoder-3.4-py3.12.egg/qualcoder/main.py", line 1380, in manage_files
ui = DialogManageFiles(self.app, self.ui.textEdit, self.ui.tab_coding, self.ui.tab_reports)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.12/site-packages/Qualcoder-3.4-py3.12.egg/qualcoder/manage_files.py", line 195, in init
self.load_file_data()

File "/usr/local/lib/python3.12/site-packages/Qualcoder-3.4-py3.12.egg/qualcoder/manage_files.py", line 849, in load_file_data
icon, metadata = self.get_icon_and_metadata(row[1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.12/site-packages/Qualcoder-3.4-py3.12.egg/qualcoder/manage_files.py", line 976, in get_icon_and_metadata
instance = vlc.Instance()
^^^^^^^^^^^^^^

File "/home/maarten/.local/lib/python3.12/site-packages/vlc.py", line 1838, in new
return libvlc_new(len(args), args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/maarten/.local/lib/python3.12/site-packages/vlc.py", line 5014, in libvlc_new
_Cfunction('libvlc_new', ((1,), (1,),), class_result(Instance),

File "/home/maarten/.local/lib/python3.12/site-packages/vlc.py", line 302, in _Cfunction
raise NameError('no function %r' % (name,))

NameError: no function 'libvlc_new'

To Reproduce :
As mentioned: install on Fedora 39 with the script that is intended for it. Then, QualCoder does not start by the way but there is a fix for that mentioned in one of the bug reports on GitHub, namely by reinstalling PyQT and after that, rerunning the script for Fedora. After that, Qualcoder starts, but after I imported two files, the 'Manage files' does not work anymore.

Desktop (please complete the following information):

  • OS: Fedora Linux, with kernel 6.8.4
  • Version 39 with all updates applied
@pmwisse
Copy link
Author

pmwisse commented Apr 15, 2024

By the way, as you see in all the error messages, it still talks about 3.4 whereas the download was 3.5.

@ccbogel
Copy link
Owner

ccbogel commented Apr 15, 2024

Ah thanks, yes I forgot to update the version number in line 44 in the setup.py file from 3.4 to 3.5.

@ccbogel
Copy link
Owner

ccbogel commented Apr 15, 2024

@pmwisse I tried looking for a solution to the python vlc module not working and am unable to resolve this.

So, for audio/video (loading files or coding) either use a different OS or another qualitative software, is for now the only advice I can offer.
I can add in some code that catches the error, but does not fix it.

@pmwisse
Copy link
Author

pmwisse commented Apr 16, 2024

Unfortunate but thanks for the reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants