AttributeError: 'NoneType' object has no attribute 'insert'

Bug #1018138 reported by RobinJ
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
quickly (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Whenever I try to upload my project into my PPA, Quickly throws an exception.

robin@RobinJ:~/Ubuntu One/Python/gtkreddit$ quickly share --ppa robinj/gtkreddit
Get Launchpad Settings
Launchpad connection is ok
Traceback (most recent call last):
  File "/usr/share/quickly/templates/ubuntu-application/share.py", line 138, in <module>
    license.licensing()
  File "/usr/share/quickly/templates/ubuntu-application/license.py", line 284, in licensing
    {'translatable': 'yes'})
  File "/usr/share/quickly/templates/ubuntu-application/internal/quicklyutils.py", line 166, in change_xml_elem
    xml_tree.find(parent_node).insert(0, new_node)
AttributeError: 'NoneType' object has no attribute 'insert'
ERROR: share command failed
Aborting

All the files can be found here; http://bazaar.launchpad.net/~robinj/gtkreddit/trunk/files
I had firsdt posted this on AskUbuntu (http://askubuntu.com/questions/156372/cant-upload-project-to-ppa-using-quickly/156377#comment189877_156377), but it seems to be a bug.

Is there any other usefull information I can provide? And is there a quick fix or something I can do, because I only have a few more days time to get my application for the App Showdown finished.

`quickly license` fails as well.
robin@RobinJ:~/Ubuntu One/Python/gtkreddit$ quickly license
Traceback (most recent call last):
  File "/usr/share/quickly/templates/ubuntu-application/license.py", line 314, in <module>
    licensing(license)
  File "/usr/share/quickly/templates/ubuntu-application/license.py", line 284, in licensing
    {'translatable': 'yes'})
  File "/usr/share/quickly/templates/ubuntu-application/internal/quicklyutils.py", line 166, in change_xml_elem
    xml_tree.find(parent_node).insert(0, new_node)
AttributeError: 'NoneType' object has no attribute 'insert'
ERROR: license command failed
Aborting

Tags: precise
RobinJ (robinj)
description: updated
Revision history for this message
Ravi Vagadia (ravirdv) wrote :

I have the same problem, don't know what the issue is.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in quickly (Ubuntu):
status: New → Confirmed
papukaija (papukaija)
tags: added: precise
removed: ppa python quickly share ubuntu-12.04
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.