← Back to team overview

yade-users team mailing list archive

Re: Problem of installition on kubuntu8.04

 

What yade version do you use, 0.11.1? The sconsVersion should be
numeric-comparable version of scons, 9700 for 0.97.00 and so on. So you
can try setting it to 9699 or 9700 and one of them will work (probably
9699): 0.97 introduced different argument number for the
FormatOptionHelpText function and there is conditional handling that.

Hope it works.

You may prefer to use SVN version (trunk).

Vaclav
>     Fewer months ago I installed yade on ubuntu 7.10
> successfully. However when I turn to kubuntu8.04 ,I
> recieved the following error message during
> installition:
>
> scons: Reading SConscript files ...
> ValueError: invalid literal for int() with base 10:
> '0d20071203':
>   File
> "/home/beautykiller/Desktop/yade-0.11.1/SConstruct",
> line 28:
>    
> sconsVersion=sum([int(SCons.__version__.split('.')[ord[0]])*ord[1]
> for ord in
> [(0,10000),(1,100),(2,1)][:len(SCons.__version__.split('.'))]
> ])
>
>
>     I install kubuntu7.10 and update to 8.04.Does it
> matter with the error?
>     I've searched the mail-list for the error and
> found the someone asked long before . I follow the
> answer but the error stand still. 
>     I know little about python and have no idea what
> the statement(line 28) stand for. Is the scons version
> wrong? or the file sconstruct too old for newer
> kubuntu?
>     I tried to replace line 28 with
> "sconsVersion=20071203" , I recieved another error
> message. I can't remember what it exactly is. It
> sounds there is a error in line 100(or 101) :the
> function needs 5 parameters but recieve 6 actully.
> Thanks for any help!
> 												Zhang Lin
> 												08.6.2
>
>
>       ___________________________________________________________ 
>  雅虎邮箱,您的终生邮箱! 
> http://cn.mail.yahoo.com/
> _______________________________________________
> Yade-users mailing list
> Yade-users@xxxxxxxxxxxxxxxx
> https://lists.berlios.de/mailman/listinfo/yade-users
>   

_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users

References