Hi,
I saw an intriguing sounding package in the updates mail, memaker. Though it fails to launch.
If I try it from the command line, I get this unfamiliar set of messages in return:
INFO:root:python-launchpadlib not found! Traceback (most recent call last): File "/usr/bin/memaker", line 55, in <module> from MeMaker.app import MeMakerApp File "/usr/lib/python2.7/site-packages/MeMaker/app.py", line 41, in <module> from utils.paths import MeMakerPaths File "/usr/lib/python2.7/site-packages/MeMaker/utils/paths.py", line 23, in <module> from xdg import BaseDirectory as xdg ImportError: No module named xdg
Trying what seems the first obvious thing to look for, produces no results: sudo dnf search launchpadlib
It was installed with: sudo dnf search memaker
Which dragged in these dependencies.
memaker.noarch 20100110-12.fc26 ORBit2.x86_64 2.14.19-15.fc24 gnome-python2.x86_64 2.28.1-19.fc26 gnome-python2-gnomevfs.x86_64 2.28.1-19.fc26 gnome-python2-rsvg.x86_64 2.32.0-26.fc26 gnome-vfs2.x86_64 2.24.4-22.fc26 gnome-vfs2-common.noarch 2.24.4-22.fc26 libIDL.x86_64 0.8.14-12.fc26 libbonobo.x86_64 2.32.1-11.fc26 notify-python.x86_64 0.1.1-32.fc26 python2-nose.noarch 1.3.7-13.fc26 python2-numpy.x86_64 1:1.12.1-1.fc26 python2-olefile.noarch 0.45.1-1.fc26 python2-pillow.x86_64 4.1.1-1.fc26
On 05/27/2018 05:00 PM, Tim via users wrote:
I saw an intriguing sounding package in the updates mail, memaker. Though it fails to launch.
If I try it from the command line, I get this unfamiliar set of messages in return:
INFO:root:python-launchpadlib not found! Traceback (most recent call last): File "/usr/bin/memaker", line 55, in <module> from MeMaker.app import MeMakerApp File "/usr/lib/python2.7/site-packages/MeMaker/app.py", line 41, in <module> from utils.paths import MeMakerPaths File "/usr/lib/python2.7/site-packages/MeMaker/utils/paths.py", line 23, in <module> from xdg import BaseDirectory as xdg ImportError: No module named xdg
The requires have been fixed in more recent versions. Installing "python2-pyxdg" should fix it.
Tim:
If I try it from the command line, I get this unfamiliar set of messages in return:
INFO:root:python-launchpadlib not found! Traceback (most recent call last): File "/usr/bin/memaker", line 55, in <module> from MeMaker.app import MeMakerApp File "/usr/lib/python2.7/site-packages/MeMaker/app.py", line 41, in <module> from utils.paths import MeMakerPaths File "/usr/lib/python2.7/site-packages/MeMaker/utils/paths.py", line 23, in <module> from xdg import BaseDirectory as xdg ImportError: No module named xdg
Samuel Sieb:
The requires have been fixed in more recent versions. Installing "python2-pyxdg" should fix it.
Yep, that did the trick. How did you work out the required package from that information?
On 05/28/2018 07:14 AM, Tim via users wrote:
Tim:
If I try it from the command line, I get this unfamiliar set of messages in return:
INFO:root:python-launchpadlib not found! Traceback (most recent call last): File "/usr/bin/memaker", line 55, in <module> from MeMaker.app import MeMakerApp File "/usr/lib/python2.7/site-packages/MeMaker/app.py", line 41, in <module> from utils.paths import MeMakerPaths File "/usr/lib/python2.7/site-packages/MeMaker/utils/paths.py", line 23, in <module> from xdg import BaseDirectory as xdg ImportError: No module named xdg
Samuel Sieb:
The requires have been fixed in more recent versions. Installing "python2-pyxdg" should fix it.
Yep, that did the trick. How did you work out the required package from that information?
The important part was "ImportError: No module named xdg". I did a dnf search for "xdg" to see if there is a python package and I saw there was one for both python2 and python3. When I did a repoquery on the memaker package, I found that it uses python2 and it also had a dependency on python2-pyxdg. I looked in koji and found that the last changelog entry was about adding missing dependencies, but that's only in F28.