bugThe Circle - Bugs: bug #9476, circlelib Internal error

 
 

bug #9476: circlelib Internal error

Submitter:  None
Submitted:  Mon 28 Jun 2004 04:26:48 AM UTC
   
 
Category:  Internal Severity:  5 - Important: no release until fixed
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 28 Jun 2004 04:26:48 AM UTC, original submission:  

I run this code, and get some erros.
I am a new hacker in the circlelib so, I don't know where this error is.

The Code is attached.
This is the error message:

-------------
Testando o core The Circle
node created
node started
node publishing chave.txt TXT content: Hello Circle!
node retrieving already published data: chave.txt
Circle: data type error: expecting something dumpable, got something of <type 'float'>: 1088396244.8800631.  Traceback:
  File "nodetest.py", line 72, in ?
    teste.getDataPublished("chave.txt")
  File "nodetest.py", line 48, in getDataPublished
    pipe = self.node.retrieve(circlelib.hash.hash_of(data_name))
  File "/usr/lib/python2.3/site-packages/circlelib/node.py", line 2004, in retrieve
    pipe.start(node_search,self,name,redundancy,addresses_only,local_only)
  File "/usr/lib/python2.3/site-packages/circlelib/utility.py", line 844, in start
    apply(function,(self,)+parameters)
  File "/usr/lib/python2.3/site-packages/circlelib/node.py", line 1249, in node_search
    utility.start_thread(node_search_subsubthread(
  File "/usr/lib/python2.3/site-packages/circlelib/utility.py", line 197, in start_thread
    type,params = thread.next()
  File "/usr/lib/python2.3/site-packages/circlelib/node.py", line 1364, in node_search_subsubthread
    ticket, template, wait = node.call(
  File "/usr/lib/python2.3/site-packages/circlelib/node.py", line 2310, in call
    reply = handle_request(self,query,address,ticket)
  File "/usr/lib/python2.3/site-packages/circlelib/node.py", line 776, in handle_request
    result = perform_request(node,request,address,call_id)
  File "/usr/lib/python2.3/site-packages/circlelib/node.py", line 1084, in perform_request
    ret = obj.handle(request, address, call_id)
  File "/usr/lib/python2.3/site-packages/circlelib/node.py", line 1800, in handle
    return perform_standard_request(self, request, address, call_id)
  File "/usr/lib/python2.3/site-packages/circlelib/node.py", line 1016, in perform_standard_request
    check.check_is_dumpable(result)  #=@E29
  File "/usr/lib/python2.3/site-packages/circlelib/check.py", line 92, in check_is_dumpable
    check_is_dumpable(item)
  File "/usr/lib/python2.3/site-packages/circlelib/check.py", line 97, in check_is_dumpable
    check_is_dumpable(val)
  File "/usr/lib/python2.3/site-packages/circlelib/check.py", line 99, in check_is_dumpable
    show_data_type_error('something dumpable', obj)
Traceback (most recent call last):
  File "nodetest.py", line 72, in ?
    teste.getDataPublished("chave.txt")
  File "nodetest.py", line 48, in getDataPublished
    pipe = self.node.retrieve(circlelib.hash.hash_of(data_name))
  File "/usr/lib/python2.3/site-packages/circlelib/node.py", line 2004, in retrieve
    pipe.start(node_search,self,name,redundancy,addresses_only,local_only)
  File "/usr/lib/python2.3/site-packages/circlelib/utility.py", line 844, in start
    apply(function,(self,)+parameters)
  File "/usr/lib/python2.3/site-packages/circlelib/node.py", line 1249, in node_search
    utility.start_thread(node_search_subsubthread(
  File "/usr/lib/python2.3/site-packages/circlelib/utility.py", line 197, in start_thread
    type,params = thread.next()
  File "/usr/lib/python2.3/site-packages/circlelib/node.py", line 1364, in node_search_subsubthread
    ticket, template, wait = node.call(
  File "/usr/lib/python2.3/site-packages/circlelib/node.py", line 2312, in call
    raise reply
circlelib.error.Error: <Error: bug encountered>
--------------

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #1448:  nodetest.py added by None (2KiB - text/x-python - The code that I run, and get the errors)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2004-06-28 None Attached File- Added nodetest.py, #1439

Back to the top

Powered by Savane 3.13-3230.
Corresponding source code