AutoPPA crashes with IndexError: list index out of range

Bug #438864 reported by Michael B. Trausch on 2009-09-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I am unable to use AutoPPA to build AllTray:

mbt@zest:~$ autoppa alltray-
AutoPPA 0.0.6

== Preparing changelog for alltray ==

== Preparing working tree for alltray ==
bzr: ERROR: Target directory "/home/mbt/Projects/Free/AllTray/alltray_0.7.4.200909291200~ppa1" already exists.

== Preparing signed source for alltray ==
Traceback (most recent call last):
  File "/usr/local/bin/autoppa", line 25, in <module>
  File "/usr/local/lib/python2.6/dist-packages/autoppa/", line 131, in main
  File "/usr/local/lib/python2.6/dist-packages/autoppa/", line 192, in prepare_custom_files
  File "/usr/local/lib/python2.6/dist-packages/autoppa/", line 215, in _prepare_custom_autoppa_version
    version = VersionReplacement(self._get_version(release))
  File "/usr/local/lib/python2.6/dist-packages/autoppa/", line 241, in _get_version
    return "%s-%s.%s" % (parts[0], parts[1],
IndexError: list index out of range

AutoPPA configuration is:
email = Michael B. Trausch <email address hidden>
branch = /home/mbt/Projects/Free/AllTray/trunk
repository = /home/mbt/Projects/Free/AllTray
ppa = ppa:alltray-developers/ppa
releases = hardy intrepid jaunty karmic

Jamu Kakar (jkakar) wrote :

The issue is that the "version" part of your package name only has
an "application version", but no "package version" (which comes
after the application version, separated by a -). Something like
this should work:

autoppa alltray-0.7.4~00909291200-ppa1

My understanding is that AutoPPA is doing the right thing. Does
that jive with your understanding of how package version numbers
should be handled? I'm getting this from reading notes here:

Changed in autoppa:
milestone: none → 0.1.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers