Last character in short description missing (wajig commands: describe, new, ...)

Bug #923041 reported by Chris Peach
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wajig
Fix Released
Undecided
Chris Peach
wajig (Debian)
Unknown
Unknown
wajig (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

*What steps will reproduce the problem?*
1. running Ubuntu precise 12.04

2. affected versions: 2.2 from this repo, 2.3 (trunk) from the Mercurial repo at code.google.com

3. How to reproduce the bug:

   wajig describe bash
   (or any package name)

4. *What is the expected output? What do you see instead?*

- Expected output [as in JIG 2.0]:

Package Description
========================-===================================================
bash Gnu bourne again shell

- Actual output [from JIG 2.2 or 2.3]:

Package Description
========================-===================================================
bash Gnu bourne again shel

So the short description misses the last character.

5. *What version of the product are you using? On what operating system?*

The problem occurs with the latest version in HG (version 2.3) as well as with the DEB (version 2.2) in the Ubuntu 12.04 repository. I guess Ubuntu 11.10 is also affected. I am runnung Ubuntu 12.04.

The problem does not occur with --verbose=1.

6. *Solution:*

The use of the find() method was awkward. I am not sure why it produces unexpected results in Python 3. My patch uses split() instead. No worries; it is fast. I do not know why you use capitalize() here, but I have left it in place.

Tags: patch

Related branches

Revision history for this message
Chris Peach (peachris+ubuntu) wrote :
Changed in wajig:
assignee: nobody → Chris Peach (peachris+ubuntu)
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "describe_misses_last_character.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Tshepang Lekhonkhobe (tshepang) wrote : Re: [Bug 923041] Re: Last character in short description missing (wajig commands: describe, new, ...)

Thanks for your work. You are the first contributor to a project I
maintain, ever.

I've pushed the change to the VCS repo. I don't know when the release
will be available though, but it will definitely be before Debian
freezes (June this year).

Revision history for this message
Tshepang Lekhonkhobe (tshepang) wrote :

I will get rid of "capitalize" method too. It's just extraneous.

Revision history for this message
Tshepang Lekhonkhobe (tshepang) wrote :

wajig 2.3 is now available from Debian

Changed in wajig:
status: New → Fix Released
Changed in wajig (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wajig - 2.5.1

---------------
wajig (2.5.1) unstable; urgency=low

  * make licence DEP-5 compliant
  * DEPENDENTS: fix an exception that occurs when the sources.list only
    has Wheezy in it.

 -- Tshepang Lekhonkhobe <email address hidden> Fri, 20 Apr 2012 14:05:30 +0200

Changed in wajig (Ubuntu):
status: In Progress → 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.