remcoboerma / jbrout

Automatically exported from code.google.com/p/jbrout
0 stars 0 forks source link

Backtrace when refreshing db.xml #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Refresh all
2. get backtrace
Traceback (most recent call last):
  File "jbrout.py", line 1586, in on_menu_refresh
    self.on_drop_folders_from_os(model,[path])
  File "jbrout.py", line 1686, in on_drop_folders_from_os
    for nb in iterator:
  File "/home/matej/build/Extras/jbrout/jbrout/jbrout/jbrout/db.py", line 162, in add
    self.__addPhoto(nodeDir, file , tags, filesInBasket)
  File "/home/matej/build/Extras/jbrout/jbrout/jbrout/jbrout/db.py", line 203, in __addPhoto
    importedTags = node.updateInfo(iii)
  File "/home/matej/build/Extras/jbrout/jbrout/jbrout/jbrout/db.py", line 906, in updateInfo
    nodeComment.text = comment_text
  File "lxml.etree.pyx", line 821, in lxml.etree._Element.text.__set__ (src/lxml/lxml.etree.c:32944)
  File "apihelpers.pxi", line 645, in lxml.etree._setNodeText (src/lxml/lxml.etree.c:15265)
  File "apihelpers.pxi", line 1242, in lxml.etree._utf8 (src/lxml/lxml.etree.c:19848)
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes

What is the expected output? What do you see instead?
no output

What version of the product are you using? On what operating system?
SVN checkout of jbrout, RHEL 6.2, python python-2.6.6-29.el6.x86_64

Please provide any additional information below.

Original issue reported on code.google.com by matej.c...@gmail.com on 6 Dec 2011 at 9:19

GoogleCodeExporter commented 9 years ago
Cannot reproduce, bad report.

Original comment by matej.c...@gmail.com on 12 Aug 2013 at 10:31