pype crashed with NameError in menuAddM()

Bug #618246 reported by Timofey Solomko
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pype (Debian)
Fix Released
Unknown
pype (Ubuntu)
Fix Released
Medium
Andreas Noteng
Nominated for Maverick by Andreas Noteng

Bug Description

Binary package hint: pype

I have run pype first time, and have seen error.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: pype 2.5-2
ProcVersionSignature: Ubuntu 2.6.35-15.21-generic 2.6.35.1
Uname: Linux 2.6.35-15-generic x86_64
Architecture: amd64
Date: Sun Aug 15 18:32:44 2010
ExecutablePath: /usr/bin/pype
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/pype
ProcEnviron:
 LANG=ru_RU.utf8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/pype']
SourcePackage: pype
Title: pype crashed with NameError in menuAddM()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Timofey Solomko (timofey-solomko-deactivatedaccount) wrote :
visibility: private → public
Changed in pype (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Andreas Noteng (andreas-noteng) wrote :

I have a feeling the warning in the beginning has somesthing to do with it:
/usr/share/pype/pype.py:38: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained. Please switch to the wx package as soon as possible.
  from wxPython.wx import *
/usr/share/pype/pype.py:48: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
[ Sun Sep 19 08:10:56 2010 ] Loading menus from /home/andreas/.pype/menus.txt
Loading history from /home/andreas/.pype/history.txt
[ Sun Sep 19 08:11:01 2010 ] Traceback (most recent call last):
  File "/usr/bin/pype", line 7, in <module>
    pype.main()
  File "/usr/share/pype/pype.py", line 4350, in main
    filehistory.root = root = app.frame = MainWindow(None, -1, "PyPE", docs)
  File "/usr/share/pype/pype.py", line 676, in __init__
    menuAddM(menuBar, filemenu, "&File")
  File "/usr/share/pype/pype.py", line 248, in menuAddM
    if isinstance(parent, wxMenu) or isinstance(parent, wxMenuPtr):
NameError: global name 'wxMenuPtr' is not defined

Revision history for this message
Andreas Noteng (andreas-noteng) wrote :

The package is terribly outdated, I'm working on an updated package now that hopefully will fix things.

Changed in pype (Ubuntu):
status: Confirmed → Triaged
assignee: nobody → Andreas Noteng (andreas-noteng)
status: Triaged → In Progress
Revision history for this message
Andreas Noteng (andreas-noteng) wrote :

There`s a preliminary package here: https://launchpad.net/~andreas-noteng/+archive/ppa/+sourcepub/1298322/+listing-archive-extra
I`m working on getting an updated package into Debian sid, for later sync to ubuntu.

Revision history for this message
Andreas Noteng (andreas-noteng) wrote :
Revision history for this message
Andreas Noteng (andreas-noteng) wrote :

OK, the package has been updated in Debian unstable now. Once the archives has updated I will file a syncrequest.

Revision history for this message
Stefano Rivera (stefanor) wrote :

It would be nice to investigate Lucid and SRU if necessary.

Revision history for this message
Andreas Noteng (andreas-noteng) wrote :

I will do that tomorrow if I have the time. Thanks for your help so far…

Revision history for this message
Andreas Noteng (andreas-noteng) wrote :

Sync requested, see bug #655566

Changed in pype (Ubuntu):
status: In Progress → Fix Committed
Changed in pype (Debian):
status: Unknown → Fix Released
Changed in pype (Ubuntu):
milestone: none → natty-alpha-1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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