buggNewSense GNU/Linux - Bugs: bug #29234, launchpad-integration crash

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29234: launchpad-integration crash

Submitted by:  marco chieppa <crap0101>
Submitted on:  Tue 16 Mar 2010 03:05:58 AM UTC  
 
Category: gNewSense 2Severity: 2 - Minor
Item Group: All architecturesStatus: Fixed
Privacy: PublicAssigned to: Sam Geeraerts <samgee>
Open/Closed: Closed

Sat 01 Jan 2011 10:10:04 AM UTC, comment #2:

The "translate" entry in Evince's help menu now opens the right web page.

Sam Geeraerts <samgee>
Project AdministratorIn charge of this item.
Fri 31 Dec 2010 07:59:25 PM UTC, comment #1:

I should have picked this one up a long time ago.

Thanks for the patch Marco, but as we're working with sed in Builder it was easier to just delete prefix from the result line. Committed in Builder rev. 441.

Sam Geeraerts <samgee>
Project AdministratorIn charge of this item.
Tue 16 Mar 2010 03:05:58 AM UTC, original submission:

there's a little bug in the launchpad-integration package (Delta H). Instead to open the browser and point to http://www.gnewsense.org/MainRepo/Launchpad-integration it crash with the following error:

crap0101@gNS01:~$ launchpad-integration -iP evince
Traceback (most recent call last):
File "<string>", line 5, in <module>
File "/usr/share/launchpad-integration/launchpadintegration/main.py", line 56, in main
return showUrl(getInfoUrl(pkginfo), logger)
File "/usr/share/launchpad-integration/launchpadintegration/urls.py", line 59, in getInfoUrl
return urlparse.urljoin(getSourcePackageUrl(pkginfo, 'answers'),
File "/usr/share/launchpad-integration/launchpadintegration/urls.py", line 55, in getSourcePackageUrl
prefix = launchpadDistroPrefix(facet)
File "/usr/share/launchpad-integration/launchpadintegration/urls.py", line 52, in launchpadDistroPrefix
return 'http://lp.gnewsense.org/%s/%s/' % (prefix, distro.lower(), release)
TypeError: not all arguments converted during string formatting

Attached is a patch to fix it (file urls.py).

marco chieppa <crap0101>

 

Attached Files
file #19955:  urls.py.patch added by crap0101 (948B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by samgee (Posted a comment)
  • -unavailable- added by crap0101 (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 01 Jan 2011 10:10:04 AM UTCsamgeeStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 31 Dec 2010 07:59:25 PM UTCsamgeeSeverity3 - Normal=>2 - Minor
      StatusNone=>Ready For Test
      Assigned toNone=>samgee
    Tue 16 Mar 2010 03:05:58 AM UTCcrap0101Attached File-=>Added urls.py.patch, #19955

    Back to the top


    Powered by Savane 3.1-cleanup1