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

 
 

bug #9476: circlelib Internal error

Submitted by:  None
Submitted on:  Mon 28 Jun 2004 04:26:48 AM UTC  
 
Category: InternalSeverity: 5 - Important: no release until fixed
Item Group: BugStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Mon 28 Jun 2004 04:26:49 AM UTCNoneAttached File-=>Added nodetest.py, #1439

Back to the top


Powered by Savane 3.1-cleanup1