[Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-09 Thread Tony Reix
Hi Matthias, We have checked, and there is no 14.10 version yet for PPC64LE. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python2.7 in Ubuntu. https://bugs.launchpad.net/bugs/137 Title: OptionParser on PPC64LE does

[Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-09 Thread Tony Reix
Hi Breno, I have changed the source code of the Avro Python tests in order to save the temporary file used by the test. I saved it in a file I named /tmp/REIX . This file contains non-asci data. I gonna attach it to this bug. Also, I think this file depends on the machine architecture. About the

[Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-09 Thread Tony Reix
/tmp/REIX file for testing. ** Attachment added: File for testing. Produced on PPC64LE by Avro test code https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/137/+attachment/4229394/+files/REIX.PPC64LE -- You received this bug notification because you are a member of Ubuntu Touch

[Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-09 Thread Tony Reix
I've tried to use PDb on Ubuntu/PPC64LE for debugging the issue. However, with Pdb, the issue disappears... We have in opts variable the correct value for fields: 'fields': 'first, last' $ pdb ../../lang/py/build/scripts/avro cat /tmp/REIX --fields 'first, last' build/scripts/avro: line

[Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-09 Thread Tony Reix
Looking at ./Lib/optparse.py of Python 2.7.6 : def parse_args(self, args=None, values=None): stop = self._process_args(largs, rargs, values) _process_args() _process_args() _process_long_opt() Probably the issue is in : def _process_long_opt(self, rargs,

[Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-09 Thread Breno Leitão
Tony, You can check the same bug on Ubuntu 14.10 daily image that could be found at: http://cdimage.ubuntu.com/ubuntu-server/daily/current/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python2.7 in Ubuntu.

[Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-09 Thread Tony Reix
Hi Breno OK. There is a place where to get an install image for Ubuntu 14.10 for PPC64 LE. Since the PPC64/LE machines I use are managed by another team, it may be complicated/long to get them agree to install a machine with something unstable. Anyway, I'll ask if it is possible. Now, why do

Re: [Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-09 Thread Matthias Klose
Am 09.10.2014 um 15:49 schrieb Tony Reix: Hi Breno OK. There is a place where to get an install image for Ubuntu 14.10 for PPC64 LE. Since the PPC64/LE machines I use are managed by another team, it may be complicated/long to get them agree to install a machine with something unstable.

[Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-09 Thread Tony Reix
I've found the issue. I had changed the python shell in order to add some trace options and that generated the issue. Removing the change did fix the issue. And, looking in depth at Avro results, I found that the final result is mixed with the traces, and that the result is OK. So, that is my

[Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-09 Thread Tony Reix
No issue with Python. My mistake. ** Changed in: python2.7 (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python2.7 in Ubuntu. https://bugs.launchpad.net/bugs/137 Title:

[Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-08 Thread Tony Reix
In Avro, the issue appears as: [py-test] ERROR: test_fields (test_script.TestCat) [py-test] -- [py-test] Traceback (most recent call last): [py-test] File

[Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-08 Thread Matthias Klose
please can you check this in current utopic (14.10) as well? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python2.7 in Ubuntu. https://bugs.launchpad.net/bugs/137 Title: OptionParser on PPC64LE does not split args

[Touch-packages] [Bug 1378888] Re: OptionParser on PPC64LE does not split args correctly

2014-10-08 Thread Breno Leitão
Tony, what is the contect of /tmp/REIX? I am trying to reproduce it on 14.10, using a simple text file at /tmp/REIX and I got: ubuntu@ubuntu:~/avro/avro/trunk/lang/py/build/scripts-2.7$ avro cat /tmp/REIX --fields 'first,last' panic: ord() expected a character, but string of length 0 found --