References with unicode attributes don't work as expected

Bug #251825 reported by Gustavo Niemeyer on 2008-07-25
Affects Status Importance Assigned to Milestone

Bug Description

Gabriel Rossetti reported in the list:

I found the error if anyone ever has this too : in my reference
declarations, I used a unicode string... The error isn't very indicative
of the problem, but if you replace :

language = Reference(languageId, u"")

with :

language = Reference(languageId, "")

it works.

After stumbling on the following error:

 File "/usr/lib/python2.5/site-packages/storm/", line 796,
in _resolve_string
   return registry.get(property_path, self._namespace)
 File "/usr/lib/python2.5/site-packages/storm/", line 284,
in get
   (name, ", ".join(paths)))
storm.exceptions.PropertyPathError: Path '' matches multiple

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers