[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 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

[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] [NEW] OptionParser on PPC64LE does not split args correctly

2014-10-08 Thread Tony Reix
Public bug reported: The issue appears on PPC64 LE. It is OK on (Ubuntu) x86_64. Version of Python is 2.7.6 on both systems. The issue is demonstrated while running AVRO Python tests (in lang/py : ant test). - On Ubuntu / PPC64 LE : $ pwd /lang/py $ export PYTHONPATH=./build/src $

[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