We encounter the following error with SA 0.5.4p2 under Postgres 7.4
(Linux) from within Zope.
Anyone seen this before?

Andreas

-----------

Error Type:  exceptions.RuntimeError
Error Value: dictionary changed size during iteration

Traceback:
  File "/projects/HRS2/etch64/HRS_P_0907/HRS/BPExport/Bauplanexport/
hrsbp_exp_query_thread.py", line 113, in run_export
    self.exportoptions = self.validate_query()
  File "/projects/HRS2/etch64/HRS_P_0907/HRS/BPExport/Bauplanexport/
hrsbp_exp_query_thread.py", line 183, in validate_query

    return self.query.validate(self.threadContext)
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/parts/products-svn/
HaufeCMS/DataLevel/BauplanQuery/BauplanQueryBase.py", line 120, in
validate

    return resolver.validate(qd)
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/parts/products-svn/
HaufeCMS/DataLevel/BauplanQuery/ToolboxQueryResolver.py", line 312, in
validate

    kategorieNode = hierarchy_by_lidx(toolbox_db, productID,
kategorieID)
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/parts/modules-svn/
toolbox/product/util3.py", line 150, in hierarchy_by_lidx

    parent = TB(pid=pid)
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/parts/modules-svn/
toolbox/product/treebuilder3.py", line 40, in __call__

    self._updateNodes(node)
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/parts/modules-svn/
toolbox/product/treebuilder3.py", line 51, in _updateNodes

    self._updateNodes(child, level+1)
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/parts/modules-svn/
toolbox/product/treebuilder3.py", line 51, in _updateNodes

    self._updateNodes(child, level+1)
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/parts/modules-svn/
toolbox/product/treebuilder3.py", line 50, in _updateNodes

    for child in node.children:
  File "/projects/HRS2/etch64/HaufeCMS/parts/modules-svn/toolbox/
database/model.py", line 479, in children
    for n in self._children:
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/eggs/
SQLAlchemy-0.5.4p2-py2.4.egg/sqlalchemy/orm/attributes.py", line 158,
in __get__

    return self.impl.get(instance_state(instance), instance_dict
(instance))
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/eggs/
SQLAlchemy-0.5.4p2-py2.4.egg/sqlalchemy/orm/attributes.py", line 374,
in get

    value = callable_()
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/eggs/
SQLAlchemy-0.5.4p2-py2.4.egg/sqlalchemy/orm/strategies.py", line 568,
in __call__

    result = q.all()
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/eggs/
SQLAlchemy-0.5.4p2-py2.4.egg/sqlalchemy/orm/query.py", line 1193, in
all

    return list(self)
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/eggs/
SQLAlchemy-0.5.4p2-py2.4.egg/sqlalchemy/orm/query.py", line 1286, in
__iter__

    self.session._autoflush()
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/eggs/
SQLAlchemy-0.5.4p2-py2.4.egg/sqlalchemy/orm/session.py", line 899, in
_autoflush

    self.flush()
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/eggs/
SQLAlchemy-0.5.4p2-py2.4.egg/sqlalchemy/orm/session.py", line 1354, in
flush

    self._flush(objects)
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/eggs/
SQLAlchemy-0.5.4p2-py2.4.egg/sqlalchemy/orm/session.py", line 1359, in
_flush

    if (not self.identity_map.check_modified() and
  File "/projects/HRS2/etch64/HRS_P_0907/HaufeCMS/eggs/
SQLAlchemy-0.5.4p2-py2.4.egg/sqlalchemy/orm/identity.py", line 56, in
check_modified

    for state in self._mutable_attrs:

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to