benliles/djangopypi — Issue #28: ppadd don't work
Author: PyKaB
Created: 2012-01-25 14:13:19+00:00
State: open

I have a AttributeError when I try to add Fabric(or something else):
./manage.py ppadd fabric --owner=xxx

Traceback (most recent call last):
File "chishop/manage.py", line 14, in
execute_manager(settings)
File "/home/chishop/.env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/home/chishop/.env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/chishop/.env/local/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/chishop/.env/local/lib/python2.7/site-packages/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/home/chishop/.env/local/lib/python2.7/site-packages/django/core/management/base.py", line 322, in handle
label_output = self.handle_label(label, **options)
File "/home/chishop/.env/local/lib/python2.7/site-packages/djangopypi/management/commands/ppadd.py", line 62, in handle_label
self._save_package(path, options["owner"])
File "/home/chishop/.env/local/lib/python2.7/site-packages/djangopypi/management/commands/ppadd.py", line 132, in _save_package
release.distribution.save(filename, file)
AttributeError: 'Release' object has no attribute 'distribution'