Forum › Forums › Official Releases › antiX-19 “Marielle Franco, Hannie Schaft, Manolis Glezos, Grup Yorum, Wobblies” › antiX-19.2 (testing) “Applications” from the desktop menu are missing
- This topic has 26 replies, 5 voices, and was last updated Nov 2-7:09 pm by sta.
-
AuthorPosts
-
October 1, 2020 at 10:39 am #42438Member
sta
I run antiX-19.2_x64 with some extra packages from Debian testing.
As a desktop session I use rox-icewm.From about one month I found a disappearance of the item “Applications” from the desktop menu (the screenshot is attached).
While updating .deb packages I get an error like this:
“…
Writing Menu: icewm
Traceback (most recent call last):
File “/usr/local/bin/desktop-menu”, line 326, in <module>
build_menu()
File “/usr/local/bin/desktop-menu”, line 289, in build_menu
menu = xdg.Menu.parse(menu_file)
File “/usr/lib/python3/dist-packages/xdg/Menu.py”, line 1137, in parse
return XMLMenuBuilder(debug).parse(filename)
File “/usr/lib/python3/dist-packages/xdg/Menu.py”, line 646, in parse
self.post_parse(menu)
File “/usr/lib/python3/dist-packages/xdg/Menu.py”, line 992, in post_parse
self.post_parse(submenu)
File “/usr/lib/python3/dist-packages/xdg/Menu.py”, line 1006, in post_parse
elif menuentry.Type == MenuEntry.TYPE_SYSTEM:
AttributeError: ‘MenuEntry’ object has no attribute ‘Type’
…”As a result the file “/usr/share/desktop-menu/.icewm/menu-applications” becomes empty. Overwriting this file with some earlier version fixes the problem temporarily, although the Applications menu is out of date.
Attachments:
October 1, 2020 at 10:43 am #42440Forum Admin
Dave
::Is python3-xdg installed?
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
October 1, 2020 at 10:47 am #42441Membersta
::Is python3-xdg installed?
Yes, of course. The following xdg-related packages are installed:
dpkg-query -l|grep xdg
ii menu-manager-antix 0.1.2 all User friendly front-end to the xdg-utils mechanism for antiX
ii python3-xdg 0.26-3 all Python 3 library to access freedesktop.org standards
ii xdg-dbus-proxy 0.1.2-1 amd64 filtering D-Bus proxy
ii xdg-user-dirs 0.17-2 amd64 tool to manage well known user directories
ii xdg-utils 1.1.3-2 all desktop integration utilities from freedesktop.orgOctober 1, 2020 at 10:53 am #42442Forum Admin
anticapitalista
::Try
sudo desktop-menu --write-out-globalPhilosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
October 1, 2020 at 10:55 am #42443Membersta
::Try
sudo desktop-menu --write-out-globalI tried and got exactly the same error as before.
October 1, 2020 at 10:57 am #42445Forum Admin
anticapitalista
::What apps from testing?
Are you running antiX with Debian and antiX testing repos?
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
October 1, 2020 at 11:03 am #42447Membersta
::What apps from testing?
Are you running antiX with Debian and antiX testing repos?
Yes.
/etc/apt/sources.list.d/antix.list:
# Use with Debian Testing/’rolling’ repositories.
deb http://ftp.icm.edu.pl/pub/Linux/dist/antix-workspace/antix/testing testing main nonfree nosystemd
deb-src http://ftp.icm.edu.pl/pub/Linux/dist/antix-workspace/antix/testing testing main nonfree nosystemd
————————————————————————-
/etc/apt/sources.list.d/debian.list:# Debian Testing.
# Testing enabled for ‘rolling’ release.
deb http://ftp.pl.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org testing-security main contrib non-free
deb-src http://ftp.pl.debian.org/debian/ testing main contrib non-free# Multimedia Stable and Testing
# Use to install libdvdcss2 and codecs.
deb http://www.deb-multimedia.org testing main non-free
————————————————————————-I have a lot (hundreds?) of packages from the Debian testing repository installed.
October 1, 2020 at 11:28 am #42448Forum Admin
anticapitalista
::Off-topic: I wouldn’t keep the deb-multimedia repo enabled.
What does
apt dist-upgradeshow?Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
October 1, 2020 at 11:32 am #42449Membersta
::Off-topic: I wouldn’t keep the deb-multimedia repo enabled.
What does
apt dist-upgradeshow?# apt dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.October 1, 2020 at 12:23 pm #42452Anonymous
::File “/usr/lib/python3/dist-packages/xdg/Menu.py”, line 1006, in post_parse
The hashbang within /usr/local/bin/desktop-menu
#!/usr/bin/pythonOn antiX 19 systems, on debian 10 systems, and AFAIK even on the current debian testing
the default python implementation is python2On sta’s system, why is python3 being invoked ???
October 1, 2020 at 12:27 pm #42454Forum Admin
anticapitalista
::@skidoo … because Debian testing has removed python2. antiX testing repos have python3 versions of all our python2 scripts.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
October 5, 2020 at 9:09 pm #42595Membersta
::@anticapitalista Do you think that the problem is caused be particular .desktop file? Have you got an idea how to find that file?
October 5, 2020 at 9:19 pm #42596Forum Admin
anticapitalista
::Not sure what is causing this.
I have a different issue in that I get 2 “Applications” menus on antiX testing and antiX sid!Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
October 5, 2020 at 10:32 pm #42600Moderator
Brian Masinick
::I wonder if there is a functional regression that arose from the changes from python2 to python3. Perhaps it’s not immediately obvious, but the timing of the issues makes the question worth investigating.
--
Brian MasinickOctober 6, 2020 at 3:28 am #42610Forum Admin
Dave
::I have the same issue as anticapitalista on both my testing and sid vm. Have been trying to find a solution. If you do not mind sharing what you have currently installed could you pm me the output of “dpkg -l” so I can see what versions of packages you have installed?
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
-
AuthorPosts
- You must be logged in to reply to this topic.
