Closed Bug 573269 Opened 14 years ago Closed 14 years ago

cfx xpi fails with Unicode-related message

Categories

(Add-on SDK Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 573540

People

(Reporter: mcepl, Unassigned)

Details

(jetpack-sdk)johanka:bugzilla-triage$ cfx xpi
Exporting extension to bugzilla-triage.xpi.
Traceback (most recent call last):
  File "/home/matej/projekty/jetpack-sdk/bin/cfx", line 6, in <module>
    cuddlefish.run()
  File "/home/matej/projekty/jetpack-sdk/python-lib/cuddlefish/__init__.py", line 552, in run
    xpts=xpts)
  File "/home/matej/projekty/jetpack-sdk/python-lib/cuddlefish/xpi.py", line 10, in build_xpi
    open('.install.rdf', 'w').write(str(manifest))
  File "/home/matej/projekty/jetpack-sdk/python-lib/cuddlefish/rdf.py", line 11, in __str__
    self.dom.writexml(buf, encoding="utf-8")
  File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/minidom.py", line 1746, in writexml
    node.writexml(writer, indent, addindent, newl)
  File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/minidom.py", line 821, in writexml
    node.writexml(writer,indent+addindent,addindent,newl)
  File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/minidom.py", line 821, in writexml
    node.writexml(writer,indent+addindent,addindent,newl)
  File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/minidom.py", line 821, in writexml
    node.writexml(writer,indent+addindent,addindent,newl)
  File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/minidom.py", line 1042, in writexml
    _write_data(writer, "%s%s%s"%(indent, self.data, newl))
  File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/minidom.py", line 306, in _write_data
    writer.write(data)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u011b' in position 3: ordinal not in range(128)
(jetpack-sdk)johanka:bugzilla-triage$ 


Code for my package is http://hg.fedorahosted.org/hg/bugzilla-triage-scripts/
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.

To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.