mozo crashed with AttributeError in loadUpdates(): 'TreeSeparator' object has no attribute 'get_desktop_file_path'

Bug #1864445 reported by Norbert
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mozo (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Steps to test:
1. Install Ubuntu MATE 20.04 LTS
2. Launch Main Menu from the terminal with `mozo`
3. Place cursor on any menu item, click *New Separator*
4. Click on just created separator item to remove it with *Delete*

Expected result:

* new separator item was created, user is able to delete it

Actual results:

* new separator item was created, shows the following error output in the terminal after clicking on it and trying to delete it:

$ mozo
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/Mozo/MainWindow.py", line 91, in menuChanged
    self.loadUpdates()
  File "/usr/lib/python3/dist-packages/Mozo/MainWindow.py", line 102, in loadUpdates
    if iter and items[iter][3].get_desktop_file_path():
AttributeError: 'TreeSeparator' object has no attribute 'get_desktop_file_path'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/Mozo/MainWindow.py", line 91, in menuChanged
    self.loadUpdates()
  File "/usr/lib/python3/dist-packages/Mozo/MainWindow.py", line 102, in loadUpdates
    if iter and items[iter][3].get_desktop_file_path():
AttributeError: 'TreeSeparator' object has no attribute 'get_desktop_file_path'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/Mozo/MainWindow.py", line 91, in menuChanged
    self.loadUpdates()
  File "/usr/lib/python3/dist-packages/Mozo/MainWindow.py", line 102, in loadUpdates
    if iter and items[iter][3].get_desktop_file_path():
AttributeError: 'TreeSeparator' object has no attribute 'get_desktop_file_path'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/Mozo/MainWindow.py", line 91, in menuChanged
    self.loadUpdates()
  File "/usr/lib/python3/dist-packages/Mozo/MainWindow.py", line 102, in loadUpdates
    if iter and items[iter][3].get_desktop_file_path():
AttributeError: 'TreeSeparator' object has no attribute 'get_desktop_file_path'

Note: on next Mozo launch the Separator was removed.

ProblemType: Crash
DistroRelease: Ubuntu 20.04
Package: mozo 1.24.0-1
ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
Uname: Linux 5.4.0-14-generic x86_64
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
CrashCounter: 1
CurrentDesktop: MATE
Date: Mon Feb 24 13:37:51 2020
ExecutablePath: /usr/bin/mozo
InstallationDate: Installed on 2020-02-19 (4 days ago)
InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Alpha amd64 (20200219)
InterpreterPath: /usr/bin/python3.8
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 -OOt /usr/bin/mozo
Python3Details: /usr/bin/python3.8, Python 3.8.2rc1, python3-minimal, 3.8.0-3ubuntu1
PythonArgs: ['/usr/bin/mozo']
PythonDetails: N/A
SourcePackage: mozo
Title: mozo crashed with AttributeError in loadUpdates(): 'TreeSeparator' object has no attribute 'get_desktop_file_path'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo

Revision history for this message
Norbert (nrbrtx) wrote :
tags: removed: need-duplicate-check
Changed in mozo (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Norbert (nrbrtx) wrote :

Happens on groovy too.

tags: added: groovy
Norbert (nrbrtx)
tags: added: hirsute
Changed in mate-desktop:
status: Unknown → New
Norbert (nrbrtx)
tags: removed: groovy
Revision history for this message
Norbert (nrbrtx) wrote :

Still happens with 21.10.

tags: added: impish jammy
Norbert (nrbrtx)
information type: Private → Private Security
information type: Private Security → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mozo (Ubuntu):
status: New → Confirmed
Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

Fixed via mozo 1.26.1-1 uploaded to Jammy.

no longer affects: mate-desktop
Changed in mozo (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.