← Back to team overview

yade-dev team mailing list archive

Re: [yade/trunk] 027a4e: modified yade executable, fixing bug 1134422

 

I think, Christian can already start yade, right?
My opinion is that we should remove old stuff. But if you think we can wait,
so no problem.

There is another question. Manpages are not generating with argparser that
is why Debian-Ubuntu packages are not building now. I have fixed that
for yade, but need also fix it for yade-batch as well.

Python-argaprser is available in even old Ubuntu-Debian distros, so we can just
leave a warning, that this module should be installed and RuntimeError.

Anton


2013/2/28 Jan Stránský <honzik.stransky@xxxxxxxxx>:
> Hi Anton,
>
> Bruno could start Yade without problems, he only got deprecation warning
> from argparse.ArgumentParser ('version' argument was ok with optparse, but
> was depricated in argparse, so now it is deleted)
>
> I agree to delete optparse and leave only argparse, but for a certain time I
> would leave both together to prevent situations like Christians's, who was
> not able to start Yade at all. Now he would get warning to update python
> module.
>
> Jan
>
>
> 2013/2/28 Anton Gladky <gladky.anton@xxxxxxxxx>
>>
>> Jan, I do not think, it will fix Bruno's problem.
>>
>> I think, we should use argparser, not both, because it is a mess.
>>
>> Bruno, can you start yade now?
>>
>> Anton
>>
>>
>> 2013/2/28 Jan Stransky <jan.stransky@xxxxxxxxxxx>:
>> >   Branch: refs/heads/master
>> >   Home:   https://github.com/yade/trunk
>> >   Commit: 027a4e8682620f2b226497301aaaafa5ca555037
>> >
>> > https://github.com/yade/trunk/commit/027a4e8682620f2b226497301aaaafa5ca555037
>> >   Author: Jan Stransky <jan.stransky@xxxxxxxxxxx>
>> >   Date:   2013-02-28 (Thu, 28 Feb 2013)
>> >
>> >   Changed paths:
>> >     M core/main/main.py.in
>> >
>> >   Log Message:
>> >   -----------
>> >   modified yade executable, fixing bug 1134422
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~yade-dev
>> > Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~yade-dev
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-dev
>> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-dev
>> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp
>


References