Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#65833 - [tribler] Missing dependency

Attached to Project: Community Packages
Opened by John (kertase) - Saturday, 14 March 2020, 08:37 GMT
Last edited by Filipe Laíns (FFY00) - Monday, 13 April 2020, 16:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Missing python-pyasn1 dependency

Additional info:
Tribler 7.4.4-2

This task depends upon

Closed by  Filipe Laíns (FFY00)
Monday, 13 April 2020, 16:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  tribler 7.4.4-4
Comment by John (kertase) - Saturday, 14 March 2020, 09:08 GMT
Also missing vlc as dependency:
File "run_tribler.py", line 134, in <module>
window = TriblerWindow()
File "/usr/share/tribler/TriblerGUI/tribler_window.py", line 201, in __init__
self.video_player_page.initialize_player()
File "/usr/share/tribler/TriblerGUI/widgets/videoplayerpage.py", line 53, in initialize_player
self.instance = vlc.Instance()
File "/usr/share/tribler/TriblerGUI/vlc.py", line 2121, in __new__
return libvlc_new(len(args), args)
File "/usr/share/tribler/TriblerGUI/vlc.py", line 4694, in libvlc_new
_Cfunction('libvlc_new', ((1,), (1,),), class_result(Instance),
File "/usr/share/tribler/TriblerGUI/vlc.py", line 361, in _Cfunction
raise NameError('no function %r' % (name,))
NameError: no function 'libvlc_new'
Comment by Filipe Laíns (FFY00) - Saturday, 14 March 2020, 22:05 GMT
When does the vlc error happen? vlc, along with its dependencies, is really big, I am reluctant to pull it as a dependency. Maybe we can get away with making it an optional dependency.
Comment by loqs (loqs) - Sunday, 15 March 2020, 02:55 GMT
Looking at the tribler code [1] will handle vlc not being present.
On loading the vlc module [2] calls [3] which should raise OSError when libvlc is not located which will be excepted by [1].
On kertase's system it appears to have found a library but that library does not provide libvlc_new which triggers the error.

[1] https://github.com/Tribler/tribler/blob/v7.4.4/TriblerGUI/widgets/videoplayerpage.py#L40
[2] https://github.com/Tribler/tribler/blob/v7.4.4/TriblerGUI/vlc.py#L270
[3] https://github.com/Tribler/tribler/blob/v7.4.4/TriblerGUI/vlc.py#L133
Comment by Filipe Laíns (FFY00) - Monday, 13 April 2020, 16:01 GMT
Added it as tribler doesn't seem behave well without it.

Sorry for the delay.

Loading...