[submittodebian] crashed with ValueError in _set_full_version(): Invalid version string '2.0.99_2.1M5-0.1'

Bug #727314 reported by Michael Terry on 2011-03-01
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-debian (Ubuntu)
Undecided
Unassigned
ubuntu-dev-tools (Ubuntu)
Medium
Stefano Rivera

Bug Description

Binary package hint: ubuntu-dev-tools

Using submittodebian inside the an 'eclipse' working directory gave me this crash. It doesn't seem to like one of eclipse's versions.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: ubuntu-dev-tools 0.118
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
Architecture: amd64
Date: Tue Mar 1 13:07:03 2011
ExecutablePath: /usr/bin/submittodebian
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/submittodebian
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LC_MESSAGES=en_US.utf8
 LANG=en_GB.utf8
 LANGUAGE=en_US:en
PythonArgs: ['/usr/bin/submittodebian']
SourcePackage: ubuntu-dev-tools
Title: submittodebian crashed with ValueError in _set_full_version(): Invalid version string '2.0.99_2.1M5-0.1'
UpgradeStatus: Upgraded to natty on 2010-09-28 (154 days ago)
UserGroups: adm admin cdrom dialout dip fax floppy fuse lpadmin plugdev sambashare tape video

Michael Terry (mterry) wrote :
visibility: private → public
Benjamin Drung (bdrung) wrote :

2.0.99_2.1M5-0.1 seems to be a very old version of eclipse. Besides that, it's a crash in python-debian.

affects: ubuntu-dev-tools (Ubuntu) → python-debian (Ubuntu)
James Westby (james-w) wrote :

Indeed, that's an illegal version number.

I'm not sure what python-debian should do differently here.

submittodebian could probably stop parsing the whole changelog.

Thanks,

James

tags: removed: need-duplicate-check
Benjamin Drung (bdrung) on 2011-04-17
Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Benjamin Drung (bdrung) on 2011-09-03
summary: - submittodebian crashed with ValueError in _set_full_version(): Invalid
+ [submittodebian] crashed with ValueError in _set_full_version(): Invalid
version string '2.0.99_2.1M5-0.1'
Stefano Rivera (stefanor) wrote :

Marking WontFix based on James' comment.

Changed in ubuntu-dev-tools (Ubuntu):
assignee: nobody → Stefano Rivera (stefanor)
status: Triaged → Fix Committed
Changed in python-debian (Ubuntu):
status: New → Won't Fix
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.131

---------------
ubuntu-dev-tools (0.131) unstable; urgency=low

  [ Stefano Rivera ]
  * doc/requestsync.1: Correct default value for REQUESTSYNC_SMTP_SERVER
    (LP: #844992)
  * import-bug-from-debian: Bugs are filed against source packages in Ubuntu.
    (LP: #844734)
  * Debian source publication records are all Published now, not pending
    (LP: #845487)
  * requestsync:
    - Add nice error messages to gpg-signing code, rather than simple
      assertions (LP: #537288)
    - Extract current Ubuntu delta from changelog entries and provide for
      editing (LP: #547925)
  * submittodebian:
    - Don't parse the entire changelog, to avoid bumping into past illegal
      version numbers (LP: #727314)
    - Iterate over changelog blocks rather than using Changelog's private
      _blocks list.
  * LP: #806633:
    - ubuntutools.update_maintainer: Don't use strict changelog parsing
    - sponsor-patch: Perform strict validation on the first changelog entry.
  * setup-packaging-environment:
    - Software Sources isn't on the Administration menu, post Gnome 2
      (LP: #841975)
    - Use apt-get rather than aptitude.
  * Removed get-build-deps, mk-build-deps -ir is equivalent (LP: #158108)
  * ubuntutools.archive:
    - Add quiet option to silence downloading.
    - Use wget-style progress bar (fixed width) (LP: #845787)
  * Bump python-debian B-D and Depends to 0.1.20 for unicode Changelog
    reading.
  * backportpackage: Use absolute path of workdir when test-building.

  [ Colin Watson ]
  * syncpackage: Fix typo.

  [ Benjamin Drung ]
  * ubuntutools/requestsync: Follow PEP 8 naming conventions.

 -- Stefano Rivera <email address hidden> Sat, 10 Sep 2011 16:48:23 +0200

Changed in ubuntu-dev-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers