AutoPPA crashes with IndexError: list index out of range

Bug #438864 reported by Michael B. Trausch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AutoPPA
New
Undecided
Unassigned

Bug Description

I am unable to use AutoPPA to build AllTray:

mbt@zest:~$ autoppa alltray-0.7.4.200909291200~ppa1
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>
    main()
  File "/usr/local/lib/python2.6/dist-packages/autoppa/text.py", line 131, in main
    builder.prepare_custom_files(release)
  File "/usr/local/lib/python2.6/dist-packages/autoppa/release.py", line 192, in prepare_custom_files
    self._prepare_custom_autoppa_version(release)
  File "/usr/local/lib/python2.6/dist-packages/autoppa/release.py", line 215, in _prepare_custom_autoppa_version
    version = VersionReplacement(self._get_version(release))
  File "/usr/local/lib/python2.6/dist-packages/autoppa/release.py", line 241, in _get_version
    return "%s-%s.%s" % (parts[0], parts[1],
IndexError: list index out of range
mbt@zest:~$

AutoPPA configuration is:
[alltray]
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

Revision history for this message
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:

https://wiki.ubuntu.com/PackagingGuide/Complete
https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage

Changed in autoppa:
milestone: none → 0.1.0
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.