Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73233 - Porthole 0.4.1 reports dependency on wrong pycrash version
Summary: Porthole 0.4.1 reports dependency on wrong pycrash version
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 07:37 UTC by Andrew Esh
Modified: 2004-12-04 18:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Esh 2004-12-03 07:37:59 UTC
Upon starting porthole 0.4.1 without pycrash, it reports:

pycrash module not found.  For best debug info Please emerge >= dev-python/pycrash-0.4pre2

Upon installing dev-python/pycrash-0.4_pre2 (note package name difference), porthole still reports the problem. Upon unmasking and installing dev-python/pycrash-0.4_pre3, the problem goes away. Porthole source has the package name wrong in two places, and correct in the usage info.

Reproducible: Always
Steps to Reproduce:
1. Unmerge pycrash
2. Run porthole, see error
3. Emerge pycrash-0.4_pre2, see same error

Actual Results:  
Porthole reported that it still needed to see pycrash-0.4_pre2.

Expected Results:  
Not report the error, and make use of pycrash.

Here's the fix:

--- porthole	2004-12-03 09:09:56.000000000 -0600
+++ porthole.new	2004-12-03 09:33:15.000000000 -0600
@@ -50,7 +50,7 @@
 	    print "PORTHOLE: Crash detected.  Please submit a bug report &"
 	    print "         include the " + save_file
 except ImportError:
-    print "pycrash module not found.  For best debug info Please emerge >=
dev-python/pycrash-0.4pre2"
+    print "pycrash module not found.  For best debug info Please emerge >=
dev-python/pycrash-0.4_pre3"
     
 
 from thread import *
@@ -68,7 +68,7 @@
           "Run a local version (use modules in current directory)"
     print "  -v, --version" + tabs + "Output version information and exit"
     print "  -d, --debug" + tabs + "Output debugging information to stderr
(terminal)"
-    print "             " + tabs + "Also if PyCrash-0.4pre3 or newer is found
it will use it"
+    print "             " + tabs + "Also if PyCrash-0.4_pre3 or newer is found
it will use it"
     print "             " + tabs + "to try to save additional crash info to
send in for debugging"
 
 
@@ -129,7 +129,7 @@
         _utils.dprint("pycrash module initializing")
         _utils.dprint("If a crash occurs check the /var/log/porthole/crash.html
file and post it to porthole bugs")
         p = MyCrash({'AppName': 'Porthole', 'Version': version, 'SendTo':
'porthole bugs'})
-        p.enable() #New in PyCrash-0.4pre2
+        p.enable() #New in PyCrash-0.4_pre3
     # make sure gtk lets threads run
     gtk.threads_init()
     # setup our app icon
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-12-04 18:10:43 UTC
Waiting for upstream ...