AttributeError: Values instance has no attribute 'debug'

Asked by Riccardo carta

Hi,
after the last update i encounter this issue when trying to launch a simulation in batch mode:

riccardo@riccardo-desktop:~/Scrivania/Febbraio2013/prova1$ yade-daily-batch --job-threads=8 sim.py

Will run simulation(s) ['sim.py'] using `/usr/bin/yade-daily', nice value 10, using max 8 cores.
Running 1 stand-alone simulation(s) in batch mode.
Traceback (most recent call last):
  File "/usr/bin/yade-daily-batch", line 438, in <module>
    jobDebug=opts.debug
AttributeError: Values instance has no attribute 'debug'

riccardo@riccardo-desktop:~/Scrivania/Febbraio2013/prova1$

So the simulation does not start...

I completely do not know what to do!

Thanks

Riccardo

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Anton Gladky
Solved:
Last query:
Last reply:
Revision history for this message
Anton Gladky (gladky-anton) said :
#1

Hi Riccardo,

it was my fault, when I deleted --debug option, but did not test batch-mode,
Sorry for that.I have fixed it in the last commit (need to test it
again), so tomorrow a new version of yade-daily should work normally.

You can also install yade-stable, if you do not use the latest changes of the
code.

Cheers,

Anton

2013/2/4 Riccardo carta <email address hidden>:
> New question #221033 on Yade:
> https://answers.launchpad.net/yade/+question/221033
>
> Hi,
> after the last update i encounter this issue when trying to launch a simulation in batch mode:
>
> riccardo@riccardo-desktop:~/Scrivania/Febbraio2013/prova1$ yade-daily-batch --job-threads=8 sim.py
>
> Will run simulation(s) ['sim.py'] using `/usr/bin/yade-daily', nice value 10, using max 8 cores.
> Running 1 stand-alone simulation(s) in batch mode.
> Traceback (most recent call last):
> File "/usr/bin/yade-daily-batch", line 438, in <module>
> jobDebug=opts.debug
> AttributeError: Values instance has no attribute 'debug'
>
> riccardo@riccardo-desktop:~/Scrivania/Febbraio2013/prova1$
>
> So the simulation does not start...
>
> I completely do not know what to do!
>
> Thanks
>
> Riccardo
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
Riccardo carta (riccardo-carta) said :
#2

Ok I will try the new version tomorrow, because I installed yade-stable also but for the same simulation it gives me back this error

File "/usr/bin/yade-stable", line 144, in runScript
    execfile(script,globals())
  File "sim.py", line 17, in <module>
    O.load('./deposito')
RuntimeError: basic_string::resize

while trying to load data.

Thanks Anton

Revision history for this message
Riccardo carta (riccardo-carta) said :
#3

Hi,
the new yade-daily I updated today still do not work in batch mode giving the same problem...

Revision history for this message
Best Anton Gladky (gladky-anton) said :
#4

Try to update again. Should be ok now.

Anton

Revision history for this message
Riccardo carta (riccardo-carta) said :
#5

perfect!

thanks a lot!

Riccardo

Revision history for this message
Riccardo carta (riccardo-carta) said :
#6

Thanks Anton Gladky, that solved my question.