I am on gentoo and menumaker 0.99.10.
I run mmaker -f --no-legacy --no-debian FluxBox
Ouput:
Traceback (most recent call last):
File "/usr/lib/python-exec/python2.7/mmaker", line 2, in <module>
import MenuMaker.CLI
File "/usr/lib64/python2.7/site-packages/MenuMaker/CLI.py", line 204, in <module>
desktop = Prophet.Desktop.scan()
File "/usr/lib64/python2.7/site-packages/Prophet/Desktop/init.py", line 152, in scan
result.append(App(os.path.join(w[0], x)))
File "/usr/lib64/python2.7/site-packages/Prophet/Desktop/init.py", line 258, in new
self.setup(desktop)
File "/usr/lib64/python2.7/site-packages/Prophet/Desktop/init.py", line 281, in setup
super(App, self).setup()
File "/usr/lib64/python2.7/site-packages/Prophet/init.py", line 255, in setup
self.setKeywords()
File "/usr/lib64/python2.7/site-packages/Prophet/Desktop/init.py", line 306, in setKeywords
self.keywords = KwS(cats)
File "/usr/lib64/python2.7/site-packages/Keywords.py", line 42, in init
xargs.append(Keyword(x))
File "/usr/lib64/python2.7/site-packages/Keywords.py", line 14, in init
for x in s.split():
AttributeError: 'NoneType' object has no attribute 'split'
doesn't throw the error if i use --no-desktop
Last edit: Curvian Vynes 2017-02-09
Hi, I got the same error on versoin 0.99.10 running on archlinux.
I fixed it by putting a not None check in the Keywords.py file on line 14. Although it is working now, I am not sure if the fix will not break some other option of the program.
Fixed.