Description of problem: I open Pitivi and it crashes immediately Version-Release number of selected component: pitivi-0.98-2.fc25 Additional info: reporter: libreport-2.8.0 cmdline: python3 /usr/bin/pitivi executable: /usr/bin/pitivi kernel: 4.8.14-300.fc25.x86_64 pkg_fingerprint: 4089 D8F2 FDB1 9C98 pkg_vendor: Fedora Project runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: medialibrary.py:190:AssetThumbnail:GLib.GError: g-file-error-quark: Failed to open file '/usr/usr/share/pitivi/pixmaps/asset-proxied.svg': File o directory non esistente (4) Traceback (most recent call last): File "/usr/bin/pitivi", line 144, in <module> _run_pitivi() File "/usr/bin/pitivi", line 128, in _run_pitivi from pitivi import application File "/usr/lib64/python3.5/site-packages/pitivi/application.py", line 34, in <module> from pitivi.mainwindow import MainWindow File "/usr/lib64/python3.5/site-packages/pitivi/mainwindow.py", line 43, in <module> from pitivi.medialibrary import MediaLibraryWidget File "/usr/lib64/python3.5/site-packages/pitivi/medialibrary.py", line 173, in <module> class AssetThumbnail(Loggable): File "/usr/lib64/python3.5/site-packages/pitivi/medialibrary.py", line 190, in AssetThumbnail os.path.join(get_pixmap_dir(), "%s.svg" % status), size, size)) GLib.GError: g-file-error-quark: Failed to open file '/usr/usr/share/pitivi/pixmaps/asset-proxied.svg': File o directory non esistente (4) Local variables in innermost frame: __qualname__: 'AssetThumbnail' __doc__: 'Provider of decorated thumbnails for an asset.' DEFAULT_ALPHA: 255 PROXIED: 'asset-proxied' IN_PROGRESS: 'asset-proxy-in-progress' size: 32 icons_by_name: {} __module__: 'pitivi.medialibrary' status: 'asset-proxied' NO_PROXY: 'no-proxy' EMBLEMS: {'asset-proxied': []} ASSET_PROXYING_ERROR: 'asset-proxying-error'
Created attachment 1235201 [details] File: backtrace
Created attachment 1235202 [details] File: environ
I found a way to fix the problem: -Go to the python module path (in my case it's /usr/lib64/python3.5/) -Go to the site-packages subdirectory e find the pitivi directory -Open "configure.py" with an editor -Change the variable PKGDATADIR from "/usr//usr/...." to "/usr/..." After that my pitivi application worked well. I hope they will fix this bug very soon :)
Created attachment 1236286 [details] fix /usr//usr/share in configure.py The %meson macro sets both --prefix=/usr and --datadir=/usr/share. The meson.build file sets DATADIR to prefix + datadir ("/usr//usr/share"). It then preprocesses configure.py.in and sets PKGDATADIR to DATADIR/PACKAGE, so the full path becomes "/usr//usr/share/pitivi". The attached patch fixes this, but should be cleaned up before submitting upstream since it overlaps with a few lines changed by patch 0001-build-use-join_paths-in-some-critical-places.patch from RHBZ#1406444.
(In reply to Link Dupont from comment #4) > Created attachment 1236286 [details] > fix /usr//usr/share in configure.py > > The %meson macro sets both --prefix=/usr and --datadir=/usr/share. The > meson.build file sets DATADIR to prefix + datadir ("/usr//usr/share"). It > then preprocesses configure.py.in and sets PKGDATADIR to DATADIR/PACKAGE, so > the full path becomes "/usr//usr/share/pitivi". > > The attached patch fixes this, but should be cleaned up before submitting > upstream since it overlaps with a few lines changed by patch > 0001-build-use-join_paths-in-some-critical-places.patch from RHBZ#1406444. This is wrong, because patch exactly fixes that. Problem is that it was not backported to F25....
pitivi-0.98-5.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c604a98964
pitivi-0.98-5.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c604a98964
pitivi-0.98-5.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
The problem still persists.
(In reply to Daniel Rindt from comment #9) > The problem still persists. which version do you have?
pitivi-0.98-2.fc25.x86_64
(In reply to Daniel Rindt from comment #11) > pitivi-0.98-2.fc25.x86_64 Then you read bugzilla more carefully and find -- Fixed In Version: pitivi-0.98-5.fc25
I've upgraded my system today and the pitivi bug is now fixed. Thank you
*** Bug 1410762 has been marked as a duplicate of this bug. ***