我在我的 ubuntu 10.10 上安装了 CoverGloobus。但是每次我尝试运行它时,我都会收到此错误:
[WARNING] Using default configuration
Traceback (most recent call last):
File "covergloobus-config.py", line 32, in <module>
Configuration.run()
File "/usr/share/covergloobus/widgets/configuration.py", line 94, in run
Configuration.__instance = Configuration(cg)
File "/usr/share/covergloobus/widgets/configuration.py", line 155, in __init__
self.make_pages()
File "/usr/share/covergloobus/widgets/configuration.py", line 165, in make_pages
page = method()
File "/usr/share/covergloobus/widgets/configuration.py", line 432, in make_lyrics
for klass in GenericLyric.load():
File "/usr/share/covergloobus/lyrics/__init__.py", line 34, in load
__import__('lyrics.' + name[:-3])
File "/usr/share/covergloobus/lyrics/lyricswikia.py", line 26, in <module>
from lyrics import GenericLyric
ImportError: cannot import name GenericLyric
有人知道如何解决这个问题吗?
它看起来像一个 python 包竞争条件,该类确实存在(注意:JanC,并不总是因为模块丢失)你可以在其中看到 GenericLyric,
lyrics/__init__.py
但它在导入 init 时尝试导入 init。糟糕的比赛条件。解决方法是让程序员参与进来,为此您应该在此处报告错误:
https://bugs.launchpad.net/covergloobus
另请参阅本指南:
https://help.ubuntu.com/community/ReportingBugs