| Summary: | Fedora package doesn't work where upstream package does. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robin Powell <rlpowell> |
| Component: | calibre | Assignee: | Kevin Fenzi <kevin> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | chkr, frankly3d, helio, kevin, nushio, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-04 18:42:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Robin Powell
2016-03-20 07:50:50 UTC
ok, your convert works fine here. ;( 1. Have you installed hipchat or viber on your system? 2. what version of calibre from packages do you have? 'rpm -q calibre' 3. Can you try this packaged version scratch build? https://koji.fedoraproject.org/koji/taskinfo?taskID=13399395 Sorry that upstream is still so distro hostile. We just want to help more folks use their fine application. Oops. Should have made sure that build completed, which it didn't. ;) Please try https://koji.fedoraproject.org/koji/taskinfo?taskID=13399427 instead. I'm certainly not *aware* of installing hipchat or viber; this is a headless server (in fact, it's a headless VM on a headless server). rlpowell@vrici> sudo dnf list installed '*ip*hat*' '*iber*' Last metadata expiration check performed 2:18:52 ago on Sun Mar 20 16:34:03 2016. Installed Packages liberation-fonts-common.noarch 1:1.07.4-6.fc23 @fedora liberation-mono-fonts.noarch 1:1.07.4-6.fc23 @fedora liberation-narrow-fonts.noarch 1:1.07.4-6.fc23 @fedora liberation-sans-fonts.noarch 1:1.07.4-6.fc23 @fedora liberation-serif-fonts.noarch 1:1.07.4-6.fc23 @fedora linux-libertine-biolinum-fonts.noarch 5.3.0-7.2012_07_02.fc23 @fedora linux-libertine-fonts.noarch 5.3.0-7.2012_07_02.fc23 @fedora linux-libertine-fonts-common.noarch 5.3.0-7.2012_07_02.fc23 @fedora OK: $ sudo calibre-uninstall $ sudo dnf install calibre [just to get dependencies] [ stop to confirm the issue; confirmed ] $ cd /tmp $ wget https://kojipkgs.fedoraproject.org//work/tasks/9434/13399434/calibre-2.53.0-1.fc23.x86_64.rpm $ sudo rpm -U calibre-2.53.0-1.fc23.x86_64.rpm $ rpm -q calibre calibre-2.53.0-1.fc23.x86_64 Repro; no change that I can see: Removing fake margins... Removing level p_9 left margin of: auto Removing level p_9 right margin of: auto Removing level p_4 left margin of: auto Removing level p_4 right margin of: auto Removing level p_5 left margin of: auto Removing level p_5 right margin of: auto Cleaning up manifest... Trimming unused files from manifest... Creating MOBI Output... 67% Running MOBI Output plugin Serializing resources... Creating MOBI 6 output Traceback (most recent call last): File "/bin/ebook-convert", line 20, in <module> sys.exit(main()) File "/usr/lib64/calibre/calibre/ebooks/conversion/cli.py", line 380, in main plumber.run() File "/usr/lib64/calibre/calibre/ebooks/conversion/plumber.py", line 1219, in run self.opts, self.log) File "/usr/lib64/calibre/calibre/ebooks/conversion/plugins/mobi_output.py", line 207, in convert self.write_mobi(input_plugin, output_path, kf8, resources) File "/usr/lib64/calibre/calibre/ebooks/conversion/plugins/mobi_output.py", line 217, in write_mobi from calibre.ebooks.oeb.transforms.rasterize import SVGRasterizer, Unavailable File "/usr/lib64/calibre/calibre/ebooks/oeb/transforms/rasterize.py", line 13, in <module> from PyQt5.Qt import ( ImportError: cannot import name QColor scripts/Makefile:114: recipe for target '/home/rlpowell/lojban/cll/build/cll.mobi' failed make: *** [/home/rlpowell/lojban/cll/build/cll.mobi] Error 1 I was about to push this host to rawhide for unrelated reasons; do you need me to stay on F23 to test this? Sorry for the delay. If you haven't reinstalled yet, could you do: rpm -V python-qt5 and see if it outputs anything? I'm sorry, I thought I updated this: rlpowell@vrici> rpm -V python-qt5 rlpowell@vrici> Weird. I don't understand what could be different on your machine. Will try and come up with some theory. After literally years, figured this out:
There were random old crappy *system-level* libs in /usr/local/lib, and they were *in use*:
rlpowell@vrici> sudo ldd /usr/bin/* | grep /usr/local/lib | awk '{ print $3 }' | sort | uniq -c
[sudo] password for rlpowell:
ldd: /usr/bin/miniterm-2.7.py: No such file or directory
ldd: warning: you do not have execution permission for `/usr/bin/mono-sgen-gdb.py'
2 /usr/local/lib/libQtCore.so.4
1 /usr/local/lib/libQtGui.so.4
82 /usr/local/lib/libfontconfig.so.1
101 /usr/local/lib/libfreetype.so.6
5 /usr/local/lib/libguile-2.0.so.22
Removing that crap plus a re-install cleared the problem right up.
;___; I can't believe it was something so dumb. Sorry about that!
Ah ha! Good catch... glad you tracked it down. :) |