Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] openshot won't start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Wed Sep 20, 2017 6:06 pm    Post subject: [Solved] openshot won't start Reply with quote

Hi,

after a system upgrade, Openshot won't start anymore with following error :

Code:
laurent@PSet ~ $ openshot-qt
Loaded modules from installed directory: /usr/lib64/python3.4/site-packages/openshot_qt
      launch:INFO ------------------------------------------------
      launch:INFO    OpenShot (version 2.3.4)
      launch:INFO ------------------------------------------------
         app:INFO openshot-qt version: 2.3.4
         app:INFO libopenshot version: 0.1.7
         app:INFO platform: Linux-4.4.26-gentoo-x86_64-Intel-R-_Core-TM-_i7-4710HQ_CPU_@_2.50GHz-with-gentoo-2.3
         app:INFO processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz
         app:INFO machine: x86_64
         app:INFO python version: 3.4.5
         app:INFO qt5 version: 5.7.1
         app:INFO pyqt5 version: 5.7.1
    language:INFO Attempting to load qt_fr_FR.utf8 in '/usr/share/qt5/translations'
    language:INFO Attempting to load qt_fr in '/usr/share/qt5/translations'
    language:INFO Attempting to load fr_FR.utf8/LC_MESSAGES/OpenShot in '/usr/lib64/python3.4/site-packages/openshot_qt/locale'
    language:INFO Attempting to load fr/LC_MESSAGES/OpenShot in '/usr/lib64/python3.4/site-packages/openshot_qt/locale'
    language:INFO Successfully loaded fr/LC_MESSAGES/OpenShot in '/usr/lib64/python3.4/site-packages/openshot_qt/locale'
    language:INFO Qt Detected Languages: ['fr-FR']
    language:INFO LANG Environment Variable: fr_FR.utf8
    language:INFO LOCALE Environment Variable: fr_FR
    language:INFO Attempting to load qt_fr_FR.utf8 in '/usr/share/qt5/translations'
    language:INFO Attempting to load qt_fr in '/usr/share/qt5/translations'
    language:INFO Attempting to load qtbase_fr_FR.utf8 in '/usr/share/qt5/translations'
    language:INFO Attempting to load qtbase_fr in '/usr/share/qt5/translations'
    language:INFO Attempting to load qt_fr_FR.utf8 in '/usr/lib64/python3.4/site-packages/openshot_qt/locale/QT'
    language:INFO Attempting to load qt_fr in '/usr/lib64/python3.4/site-packages/openshot_qt/locale/QT'
    language:INFO Attempting to load qtbase_fr_FR.utf8 in '/usr/lib64/python3.4/site-packages/openshot_qt/locale/QT'
    language:INFO Attempting to load qtbase_fr in '/usr/lib64/python3.4/site-packages/openshot_qt/locale/QT'
    language:INFO Attempting to load fr_FR.utf8/LC_MESSAGES/OpenShot in '/usr/lib64/python3.4/site-packages/openshot_qt/locale'
    language:INFO Attempting to load fr/LC_MESSAGES/OpenShot in '/usr/lib64/python3.4/site-packages/openshot_qt/locale'
    language:INFO Successfully loaded fr/LC_MESSAGES/OpenShot in '/usr/lib64/python3.4/site-packages/openshot_qt/locale'
    language:INFO Exiting translation system (since we successfully loaded: fr_FR.utf8)
project_data:INFO Setting default profile to HDV 720 24p
         app:INFO Setting font to /usr/lib64/python3.4/site-packages/openshot_qt/images/fonts/Ubuntu-R.ttf
logger_libopenshot:INFO Connecting to libopenshot with debug port: 5556
         app:INFO Setting custom dark theme
  exceptions:ERROR Unhandled Exception
Traceback (most recent call last):
  File "/usr/bin/openshot-qt", line 11, in <module>
    load_entry_point('openshot-qt==2.3.4', 'gui_scripts', 'openshot-qt')()
  File "/usr/lib64/python3.4/site-packages/openshot_qt/launch.py", line 70, in main
    app = OpenShotApp(sys.argv)
  File "/usr/lib64/python3.4/site-packages/openshot_qt/classes/app.py", line 163, in __init__
    from windows.main_window import MainWindow
  File "/usr/lib64/python3.4/site-packages/openshot_qt/windows/main_window.py", line 43, in <module>
    from windows.views.timeline_webview import TimelineWebView
  File "/usr/lib64/python3.4/site-packages/openshot_qt/windows/views/timeline_webview.py", line 40, in <module>
    from PyQt5.QtWebKitWidgets import QWebView
ImportError: /usr/lib64/libQt5WebKit.so.5: undefined symbol: _ZN7leveldb2DB4OpenERKNS_7OptionsERKSsPPS0_
connectionpool:INFO Starting new HTTP connection (1): www.openshot.org
     metrics:INFO Track exception: [200] http://www.openshot.org/exception/json/ | *old-exception-ignored*
^C      logger:ERROR Exception ignored in:
      logger:ERROR <module 'threading' from '/usr/lib64/python3.4/threading.py'>
      logger:ERROR Traceback (most recent call last):
      logger:ERROR   File "/usr/lib64/python3.4/threading.py", line 1285, in _shutdown
      logger:ERROR t.join()
      logger:ERROR   File "/usr/lib64/python3.4/threading.py", line 1051, in join
      logger:ERROR self._wait_for_tstate_lock()
      logger:ERROR   File "/usr/lib64/python3.4/threading.py", line 1067, in _wait_for_tstate_lock
      logger:ERROR elif lock.acquire(block, timeout):
      logger:ERROR KeyboardInterrupt


I thought about a gcc upgrade 4->5 issue so I rebuild everything using libc and then all openshot dependancies ... but still the same error.

My system is :

Code:
Portage 2.3.6 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r4, 4.4.26-gentoo x86_64)
=================================================================
System uname: Linux-4.4.26-gentoo-x86_64-Intel-R-_Core-TM-_i7-4710HQ_CPU_@_2.50GHz-with-gentoo-2.3
KiB Mem:     8093824 total,   4854628 free
KiB Swap:     524284 total,    524284 free
Timestamp of repository gentoo: Mon, 11 Sep 2017 17:00:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.3::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://torchwood.local/gentoo-portage
    priority: -1000

crossdev
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8 -l9.0"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avahi avcodec avformat berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvbpsi dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran frei0r gcrypt gdbm gif glamor gpm gtk gtk3+ httpd iconv jpeg jpeg2k lcms ldap libcaca libnotify lm_sensors lua mad matroska mng modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl seccomp session smp spell ssl startup-notification svg swscale tcpd theora tiff truetype udev udisks unicode upower usb v4l vlm vorbis wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics joystick keyboard mouse" KERNEL="linux" L10N="fr en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965 nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Any clue ?

Thanks

Laurent

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]


Last edited by destroyedlolo on Sun Sep 24, 2017 5:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Wed Sep 20, 2017 6:26 pm    Post subject: Reply with quote

Code:
ImportError: /usr/lib64/libQt5WebKit.so.5: undefined symbol: _ZN7leveldb2DB4OpenERKNS_7OptionsERKSsPPS0_

Try to recompile dev-qt/qtwebkit:5
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Wed Sep 20, 2017 6:46 pm    Post subject: Reply with quote

Unfortunately, it's failling :(

Code:
make[2]: Entering directory '/var/tmp/portage/dev-qt/qtwebkit-5.7.1/work/qtwebkit-opensource-src-5.7.1/Source/JavaScriptCore'
ruby /var/tmp/portage/dev-qt/qtwebkit-5.7.1/work/qtwebkit-opensource-src-5.7.1/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb llint/LowLevelInterpreter.asm LLIntDesiredOffsets.h
/usr/lib64/ruby/2.1.0/rubygems.rb:15:in `require': cannot load such file -- rubygems/compatibility (LoadError)
   from /usr/lib64/ruby/2.1.0/rubygems.rb:15:in `<top (required)>'
   from <internal:gem_prelude>:1:in `require'
   from <internal:gem_prelude>:1:in `<compiled>'
make[2]: *** [Makefile.LLIntOffsetsExtractor:329: LLIntDesiredOffsets.h] Error 1


[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Wed Sep 20, 2017 6:49 pm    Post subject: Reply with quote

You should set ruby 2.2 as default
Code:
# eselect ruby set ruby22

ruby 2.1 is masked now
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Wed Sep 20, 2017 7:11 pm    Post subject: Reply with quote

ok, openshot is back.

Thanks again :)

Laurent
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Wed Sep 20, 2017 10:15 pm    Post subject: Reply with quote

Hum, now I got the same issue with avidemux.

Is it a way to recompile everything impacted by a Gcc upgrade ?

I did a search on this forum and applied stuffs I found, but somes still need to be updated :(
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Thu Sep 21, 2017 5:44 am    Post subject: Reply with quote

You followed news hint? You are sure that this command is done without error?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Fri Sep 22, 2017 6:51 am    Post subject: Reply with quote

Ok, I did it last night and now it seems all is working.
The one I found was about libstdc++.so.5 and not 6 :?

Solved, thanks a lot :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum