[Tinyos-devel] Re: [Nescc-bugs] Re: [Tinyos-2.0wg] Problems with nesdoc

Kevin Klues klueska at cs.wustl.edu
Thu Jan 26 11:16:18 PST 2006


That was my problem... I had python version 2.3.5 installed.  I was just 
using the latest version of python available from the debian unstable 
distribution.  I manually installed python 2.4 and everything worked.

Kevin

Joe Polastre wrote:

>Oh, and python sort() *DOES* take keyword arguments as of Python 2.4. 
>You need to upgrade your python.
>
>http://wiki.python.org/moin/HowTo/Sorting
>
>-Joe
>
>On 1/26/06, Joe Polastre <joe at polastre.com> wrote:
>  
>
>>You need to upgrade your tinyos 2.x tools based on my recent modifications.
>>
>>-Joe
>>
>>On 1/26/06, Kevin Klues <klueska at cs.wustl.edu> wrote:
>>    
>>
>>>Oh... and if I comment out lines 102 and 103 in components.py (i.e.,
>>>dont do the sort), then everything works fine.....
>>>
>>>Kevin
>>>
>>>Kevin Klues wrote:
>>>
>>>      
>>>
>>>>I get the following error from nesdoc when I try and run this command.
>>>>
>>>>klueska at charleston:~/tos/tinyos-2.x/apps/Blink$ make mica2 docs
>>>>........
>>>>interface tos.lib.timer.Timer.xml
>>>>component BlinkAppC.xml
>>>>Traceback (most recent call last):
>>>> File "/usr/local/lib/tinyos/nesdoc/genhtml.py", line 71, in ?
>>>>   generate_component(ixml.documentElement)
>>>> File "/usr/local/lib/tinyos/nesdoc/components.py", line 102, in
>>>>generate_component
>>>>   provided.sort(cmp = interface_compare)
>>>>TypeError: sort() takes no keyword arguments
>>>>make: *** [docs_] Error 1
>>>>
>>>>I thought maybe it was a python version problem, but I upgraded to the
>>>>latest one and I still have the problem.  Has anyone else been having
>>>>this problem?
>>>>
>>>>Kevin
>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>Tinyos-2.0wg mailing list
>>>>Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
>>>>https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg
>>>>
>>>>
>>>>        
>>>>
>>>_______________________________________________
>>>Tinyos-2.0wg mailing list
>>>Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
>>>https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg
>>>
>>>      
>>>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd_______________________________________________
>Nescc-bugs mailing list
>Nescc-bugs at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nescc-bugs
>
>
>
>  
>



More information about the Tinyos-devel mailing list