Bug 1655727 - [abrt] frescobaldi: module(): main.py:25:<module>:ModuleNotFoundError: No module named 'sip'
Summary: [abrt] frescobaldi: module(): main.py:25:<module>:ModuleNotFoundError: No mod...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: frescobaldi
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5a0f159cddef244956248d93694...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-03 19:05 UTC by Štefan Gurský
Modified: 2019-02-04 13:03 UTC (History)
5 users (show)

Fixed In Version: frescobaldi-3.0.0-8.fc29
Clone Of:
Environment:
Last Closed: 2019-02-04 13:03:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (7.08 KB, text/plain)
2018-12-03 19:05 UTC, Štefan Gurský
no flags Details
File: cgroup (345 bytes, text/plain)
2018-12-03 19:05 UTC, Štefan Gurský
no flags Details
File: cpuinfo (1.41 KB, text/plain)
2018-12-03 19:05 UTC, Štefan Gurský
no flags Details
File: environ (3.48 KB, text/plain)
2018-12-03 19:05 UTC, Štefan Gurský
no flags Details
File: mountinfo (3.78 KB, text/plain)
2018-12-03 19:05 UTC, Štefan Gurský
no flags Details
File: namespaces (129 bytes, text/plain)
2018-12-03 19:05 UTC, Štefan Gurský
no flags Details
File: open_fds (506 bytes, text/plain)
2018-12-03 19:05 UTC, Štefan Gurský
no flags Details

Description Štefan Gurský 2018-12-03 19:05:09 UTC
Description of problem:
It depends on python3-sip but does not have it mentioned in dependencies.

Version-Release number of selected component:
frescobaldi-3.0.0-7.fc29

Additional info:
reporter:       libreport-2.9.6
cmdline:        /usr/bin/python3 /usr/bin/frescobaldi
crash_function: module
exception_type: ModuleNotFoundError
executable:     /usr/bin/frescobaldi
interpreter:    python3-3.7.1-4.fc29.x86_64
kernel:         4.19.4-300.fc29.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
#1 [/usr/lib/python3.7/site-packages/frescobaldi_app/main.py:25] <module>
#2 [/usr/bin/frescobaldi:7] <module>

Comment 1 Štefan Gurský 2018-12-03 19:05:19 UTC
Created attachment 1511068 [details]
File: backtrace

Comment 2 Štefan Gurský 2018-12-03 19:05:22 UTC
Created attachment 1511069 [details]
File: cgroup

Comment 3 Štefan Gurský 2018-12-03 19:05:43 UTC
Created attachment 1511071 [details]
File: cpuinfo

Comment 4 Štefan Gurský 2018-12-03 19:05:49 UTC
Created attachment 1511072 [details]
File: environ

Comment 5 Štefan Gurský 2018-12-03 19:05:51 UTC
Created attachment 1511073 [details]
File: mountinfo

Comment 6 Štefan Gurský 2018-12-03 19:05:53 UTC
Created attachment 1511074 [details]
File: namespaces

Comment 7 Štefan Gurský 2018-12-03 19:05:54 UTC
Created attachment 1511075 [details]
File: open_fds

Comment 8 Emmanuel Franquemagne 2019-01-24 12:12:46 UTC
Same issue for me, very annoying...

franquemagnee@localhost:~$ frescobaldi &
[1] 15547
franquemagnee@localhost:~$ Traceback (most recent call last):
  File "/usr/bin/frescobaldi", line 7, in <module>
    import main
  File "/usr/lib/python3.7/site-packages/frescobaldi_app/main.py", line 25, in <module>
    import sip

tried to ln sip.pyi|so from lib64 to lib, but no effect

Any help|workaround would be very much appreciated!

Comment 9 Emmanuel Franquemagne 2019-01-24 20:58:38 UTC
Found the workaround:

# dnf install python3-sip

=> when installing frescobaldi a sip.so version is installed but unreachable by frescobaldi. Don't know whether missing files, wrong location or what else.
After searching quite a lot found this package python3-sip, which also installs sip, but in another way? Anyway, after installing this Frescobaldi is working like a charm.

Too bad this is such an obstacle course to have Frescobaldi working properly... shouldn't python3-sip be included in frescobaldi's dependencies?

Comment 10 Gwyn Ciesla 2019-01-25 16:14:50 UTC
Sorry, I managed to miss this. I'll get an update out requiring python3-sip ASAP.

Comment 11 Fedora Update System 2019-01-25 16:32:44 UTC
frescobaldi-3.0.0-8.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-c3b7ba2275

Comment 12 Fedora Update System 2019-01-26 03:29:18 UTC
frescobaldi-3.0.0-8.fc29 has been pushed to the Fedora 29 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-2019-c3b7ba2275

Comment 13 Mark A. Stevens 2019-01-28 22:48:19 UTC
I removed frescobaldi, lilypond and dependencies, then re-installed, using the guidance for the Updates Testing.

[root@reindeer ~]# hostname ; cat /etc/fedora-release ; date
reindeer.marxtevens.strangled.net
Fedora release 29 (Twenty Nine)
Mon Jan 28 16:34:22 CST 2019
[root@reindeer ~]# history | tail -10
  410  kubeadm
  411  lilypond --help
  412  exit
  413  dnf install python3-sip
  414  exit 
  415  history | tail -40
  416  dnf -y remove lilypond* frescobaldi.noarch ; dnf install frescobaldi.noarch lilypond.x86_64 lilypond-c059-fonts.noarch lilypond-emmentaler-fonts.noarch lilypond-fonts-common.noarch lilypond-nimbus-fonts.noarch lilypond-texgyre-cursor-fonts.noarch lilypond-texgyre-heros-fonts.noarch lilypond-texgyre-schola-fonts.noarch
  417  dnf install frescobaldi.noarch lilypond.x86_64 lilypond-c059-fonts.noarch lilypond-emmentaler-fonts.noarch lilypond-fonts-common.noarch lilypond-nimbus-fonts.noarch lilypond-texgyre-cursor-fonts.noarch lilypond-texgyre-heros-fonts.noarch lilypond-texgyre-schola-fonts.noarch --enablerepo=updates-testing
  418  hostname ; cat /etc/fedora-release ; date
  419  history | tail -10
[root@reindeer ~]# 

Starting Frescobaldi from the KDE menu, Lilypond starts running, and doesn't seem to stop. The window title is "Frescobaldi" and the message is "Running Lilypond, this can tame some time ..."

I can, and do click the Cancel button. I can then run Frescobaldi, and generate output from input files previously created. When I run Frescobaldi from command line, I get an error window for Python3.7. It states I can report or restart the application. The following information is displayed in the terminal session.

[xmas@reindeer ~]$ frescobaldi &
[1] 28449
[xmas@reindeer ~]$ KCrash: Application 'python3.7' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0


[1]+  Stopped                 frescobaldi
[xmas@reindeer ~]$ 

When I click the button to report the problem, I get a window telling me it can't be reported, "because python3.7 does not provide a bug reporting address."

Details:
Executable: python3.7 PID: 28449 Signal: Segmentation fault (11) Time 1/28/19 16:43:32 

Backtrace information follows:

Thread 1 (Thread 0x7f4f323b3600 (LWP 28449)):
[KCrash Handler]
#6  0x00007f4f21bbe9e9 in QWindow::destroy() () at /lib64/libQt5Gui.so.5
#7  0x00007f4f21bbf5cf in QWindow::event(QEvent*) () at /lib64/libQt5Gui.so.5
#8  0x00007f4f20b17d68 in  () at /lib64/libQt5Widgets.so.5
#9  0x00007f4f20abb285 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#10 0x00007f4f20ac29a0 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#11 0x00007f4f2114023e in  () at /usr/lib64/python3.7/site-packages/PyQt5/QtWidgets.so
#12 0x00007f4f249f0ec6 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#13 0x00007f4f21bb060a in QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*) () at /lib64/libQt5Gui.so.5
#14 0x00007f4f21bb5605 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#15 0x00007f4f21b9070b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#16 0x00007f4f2016e85f in  () at /lib64/libQt5XcbQpa.so.5
#17 0x00007f4f249efe0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#18 0x00007f4f249f7ed6 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#19 0x00007f4f2113ec7f in  () at /usr/lib64/python3.7/site-packages/PyQt5/QtWidgets.so
#20 0x00007f4f32881bd7 in _PyMethodDef_RawFastCallKeywords () at /lib64/libpython3.7m.so.1.0
#21 0x00007f4f32881e70 in _PyCFunction_FastCallKeywords () at /lib64/libpython3.7m.so.1.0
#22 0x00007f4f328f7a60 in _PyEval_EvalFrameDefault () at /lib64/libpython3.7m.so.1.0
#23 0x00007f4f3288144a in _PyFunction_FastCallKeywords () at /lib64/libpython3.7m.so.1.0
#24 0x00007f4f328f733d in _PyEval_EvalFrameDefault () at /lib64/libpython3.7m.so.1.0
#25 0x00007f4f3283a6f8 in _PyEval_EvalCodeWithName () at /lib64/libpython3.7m.so.1.0
#26 0x00007f4f3283b5a3 in PyEval_EvalCodeEx () at /lib64/libpython3.7m.so.1.0
#27 0x00007f4f3283b5cb in PyEval_EvalCode () at /lib64/libpython3.7m.so.1.0
#28 0x00007f4f32963bc2 in  () at /lib64/libpython3.7m.so.1.0
#29 0x00007f4f329658fa in PyRun_FileExFlags () at /lib64/libpython3.7m.so.1.0
#30 0x00007f4f32966e58 in PyRun_SimpleFileExFlags () at /lib64/libpython3.7m.so.1.0
#31 0x00007f4f32968f55 in  () at /lib64/libpython3.7m.so.1.0
#32 0x00007f4f329692fc in _Py_UnixMain () at /lib64/libpython3.7m.so.1.0
#33 0x00007f4f323d8413 in __libc_start_main () at /lib64/libc.so.6
#34 0x000055c8167d308e in _start ()
[Inferior 1 (process 28449) detached]

Comment 14 Fedora Update System 2019-02-04 13:03:47 UTC
frescobaldi-3.0.0-8.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.