Bug 1211574 - guake: missing python yaml requirement
Summary: guake: missing python yaml requirement
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Atri Bhattacharya
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-21 17:32 UTC by Milka Man
Modified: 2023-05-22 12:18 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milka Man 2023-05-21 17:32:15 UTC
Hi there.

Hi there.

Component:
NautilusPreviewer in Nautilus

OS: OpenSuse Tumbleweed 20230515

Overview:
on a fresh and recent TW install guake is not working after install through zypper.

Steps to Reproduce:
1) Install recent TW
2) zypper in guake
3) start guake in terminal or through GUI


Actual Results:
Nothing. No Error or anything in GUI. Terminal throws errors.[1]

Expected Results:
guake should start.

Builddate & HW:
System:
  Host: notebook Kernel: 6.3.1-2-default arch: x86_64 bits: 64 Desktop: GNOME
    v: 44.1 Distro: openSUSE Tumbleweed 20230515

Additional Information:

[1]
:~>sudo zypper in guake
[...]
:~> guake
Traceback (most recent call last):
  File "/usr/bin/guake", line 33, in <module>
    sys.exit(load_entry_point('guake==3.9.0', 'console_scripts', 'guake')())
  File "/usr/bin/guake", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/guake/main.py", line 55, in <module>
    from guake.utils import restore_preferences
  File "/usr/lib/python3.10/site-packages/guake/utils.py", line 27, in <module>
    import yaml
ModuleNotFoundError: No module named 'yaml'

After installing python310-pyaml guake works as expected I guess.
sudo zypper in python310-pyaml
Comment 1 Milka Man 2023-05-21 17:33:28 UTC
ignore first lines
>Component:
>NautilusPreviewer in Nautilus

copy and paste error
Comment 2 Stefan Hundhammer 2023-05-21 18:10:10 UTC
If you install with zypper, it can't be a YaST problem; which is what component "installer" suggests. It's not even zypper related since it's that package itself that throws errors. That sounds like a packaging problem.

If you don't know what Bugzilla component to select, please use "other".
Comment 3 Andreas Stieger 2023-05-21 19:12:42 UTC
Adjusting bug summary and moving to the package maintainer.
Comment 4 Andreas Stieger 2023-05-21 19:21:12 UTC
https://build.opensuse.org/request/show/1088149
Comment 5 Atri Bhattacharya 2023-05-22 06:04:50 UTC
Fix accepted and fwded to Factory. Many thanks for the bug report and to Andreas for the fix.
Comment 6 Andreas Stieger 2023-05-22 12:18:26 UTC
https://build.opensuse.org/request/show/1088239