This is an automated notification sent by LCG Savannah.
It relates to:
task #7437, project CDS Invenio
==============================================================================
OVERVIEW of task #7437:
==============================================================================
URL:
<http://savannah.cern.ch/task/?7437>
Summary: Infinite loop in WebColl
Project: CDS Invenio
Submitted by: skaplun
Submitted on: 2008-07-23 15:13
Should Start On: 2008-07-23 00:00
Should be Finished on: 2008-07-23 00:00
Category: WebSearch
Priority: 5 - Normal
Status: None
Privacy: Private
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
I managed to create an infinite loop to WebColl. Starting from an empty demo
site I created a new collection and tried to set Atlantis collection as
children of my collection, in order to later remove Atlantis. This apparently
is impossible. Moreover running webcoll in this situation brings an infinite
loop with stack overflow (the same happens in rendering the web interface):
Hello:
The following problem occurred on <http://pcsk.cern.ch:80> (CDS Invenio
0.99.1.20080710)
>>> Registered exception
2008-07-23 17:08:37 -> RuntimeError: maximum recursion depth exceeded while
calling a Python object
>>> User details
No client information available
>>> Traceback details
Forced traceback (most recent call last)
File "/opt/cds-dev/bin/webcoll", line 34, in <module>
main()
File "/usr/lib64/python2.5/site-packages/invenio/websearch_webcoll.py",
line 839, in main
task_run_fnc=task_run_core)
File "/usr/lib64/python2.5/site-packages/invenio/bibtask.py", line 208, in
task_init
if not _task_run(task_run_fnc):
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/invenio/bibtask.py", line 563, in
_task_run
if callable(task_run_fnc) and task_run_fnc():
File "/usr/lib64/python2.5/site-packages/invenio/websearch_webcoll.py",
line 901, in task_run_core
coll.calculate_reclist()
File "/usr/lib64/python2.5/site-packages/invenio/websearch_webcoll.py",
line 689, in calculate_reclist
coll_reclist, coll_reclist_with_nonpublic_subcolls =
coll.calculate_reclist()
File "/usr/lib64/python2.5/site-packages/invenio/websearch_webcoll.py",
line 689, in calculate_reclist
coll_reclist, coll_reclist_with_nonpublic_subcolls =
coll.calculate_reclist()
...
...
...
...
coll.calculate_reclist()
File "/usr/lib64/python2.5/site-packages/invenio/websearch_webcoll.py",
line 688, in calculate_reclist
for coll in self.get_sons():
File "/usr/lib64/python2.5/site-packages/invenio/websearch_webcoll.py",
line 220, in get_sons
res = run_sql(query)
File "/usr/lib64/python2.5/site-packages/invenio/dbquery.py", line 230, in
run_sql
cur = db.cursor()
File "/usr/lib64/python2.5/site-packages/MySQLdb/connections.py", line 226,
in cursor
return (cursorclass or self.cursorclass)(self)
File "/usr/lib64/python2.5/site-packages/MySQLdb/cursors.py", line 41, in
__init__
from weakref import proxy
RuntimeError: maximum recursion depth exceeded while calling a Python object
Best regards
--
Atlantis Institute of Fictive Science <http://pcsk.cern.ch:80>
Need human intervention? Contact <[email protected]>
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
2195 | -SUB-
==============================================================================
This item URL is:
<http://savannah.cern.ch/task/?7437>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/