Re: test-bugzilla-files.py issues

2017-01-13 Thread Michael Stahl
On 12/01/17 17:02, Nagy Ákos wrote: > Hey, > > I want to run test-bugzilla-files.py to make some test, but I got an error: > > /opt/libreoffice5.3/program/python > /opt/dev-tools/test-bugzilla-files/test-bugzilla-files.py > --soffice=/opt/libreoffice5.3/program/soffice

Re: test-bugzilla-files.py issues

2017-01-13 Thread Nagy Ákos
Can't solve the problem. 2017. 01. 12. 18:07 keltezéssel, Jan Iversen írta: > >> UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 10: >> invalid start byte > > I have frequently the same problem with differen python scripts on > different machines. The problem is usually you

Re: test-bugzilla-files.py issues

2017-01-12 Thread Jan Iversen
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 10: > invalid start byte I have frequently the same problem with differen python scripts on different machines. The problem is usually you locale setting. I added export LANG='' export LC_ALL=en_US.UTF-8 export

test-bugzilla-files.py issues

2017-01-12 Thread Nagy Ákos
Hey, I want to run test-bugzilla-files.py to make some test, but I got an error: /opt/libreoffice5.3/program/python /opt/dev-tools/test-bugzilla-files/test-bugzilla-files.py --soffice=/opt/libreoffice5.3/program/soffice /opt/testfiles/untitled1.ods Traceback (most recent call last): File

'test-bugzilla-files.py' issues

2014-04-15 Thread John Smith
Hi, I seem to have some issues starting and/or connecting to soffice in headless mode. When i run 'soffice.bin -env:UserInstallation=file:///tmp/.config/libreoffice/4 --accept=pipe,name=pytest50f337fa-c471-11e3-93ba-000c29d3;urp --quickstart=no --nofirststartwizard --norestore --nologo

Re: 'test-bugzilla-files.py' issues

2014-04-15 Thread Stephan Bergmann
On 04/15/2014 10:23 AM, John Smith wrote: I seem to have some issues starting and/or connecting to soffice in headless mode. When i run 'soffice.bin -env:UserInstallation=file:///tmp/.config/libreoffice/4 --accept=pipe,name=pytest50f337fa-c471-11e3-93ba-000c29d3;urp --quickstart=no

Re: 'test-bugzilla-files.py' issues

2014-04-15 Thread John Smith
On Tue, Apr 15, 2014 at 12:57 PM, Stephan Bergmann sberg...@redhat.com wrote: * Never start soffice.bin directly, always use soffice instead. Thanks, ill do that from now on. Ive re-tried with using 'soffice' instead of 'soffice.bin', and the results are the same: using soffice directly works.

Re: 'test-bugzilla-files.py' issues

2014-04-15 Thread Stephan Bergmann
On 04/15/2014 05:29 PM, John Smith wrote: On Tue, Apr 15, 2014 at 12:57 PM, Stephan Bergmann sberg...@redhat.com wrote: that you need to run as /usr/local/src/libreoffice/instdir/program/python dev-tools/test-bugzilla-files/test-bugzilla-files.py ... Hrm. I must be doing something wrong with

Re: 'test-bugzilla-files.py' issues

2014-04-15 Thread John Smith
Markus, Stephan: Thanks. I rebuild with './configure --enable-python=internal', but I still get the same results: # pwd /usr/local/src # /usr/local/src/libreoffice/instdir/program/python dev-tools/test-bugzilla-files/test-bugzilla-files.py

Re: 'test-bugzilla-files.py' issues

2014-04-15 Thread Markus Mohrhard
Hey, On Tue, Apr 15, 2014 at 5:29 PM, John Smith lbalba...@gmail.com wrote: On Tue, Apr 15, 2014 at 12:57 PM, Stephan Bergmann sberg...@redhat.com wrote: * Never start soffice.bin directly, always use soffice instead. Thanks, ill do that from now on. Ive re-tried with using 'soffice'

Re: 'test-bugzilla-files.py' issues

2014-04-15 Thread Markus Mohrhard
Hey, On Tue, Apr 15, 2014 at 6:13 PM, John Smith lbalba...@gmail.com wrote: Markus, Stephan: Thanks. I rebuild with './configure --enable-python=internal', but I still get the same results: # pwd /usr/local/src # /usr/local/src/libreoffice/instdir/program/python

Re: 'test-bugzilla-files.py' issues

2014-04-15 Thread John Smith
On Tue, Apr 15, 2014 at 6:53 PM, Markus Mohrhard markus.mohrh...@googlemail.com wrote: I already mentioned on IRC that this means it just did not find any test files. The connection is working otherwise the NoConnectException would be repeated. You need to make sure that you point to the

Re: 'test-bugzilla-files.py' issues

2014-04-15 Thread Markus Mohrhard
Hey, On Tue, Apr 15, 2014 at 7:20 PM, John Smith lbalba...@gmail.com wrote: On Tue, Apr 15, 2014 at 6:53 PM, Markus Mohrhard markus.mohrh...@googlemail.com wrote: I already mentioned on IRC that this means it just did not find any test files. The connection is working otherwise the

Re: 'test-bugzilla-files.py' issues

2014-04-15 Thread John Smith
On Tue, Apr 15, 2014 at 8:37 PM, Markus Mohrhard markus.mohrh...@googlemail.com wrote: It is a feature that it does not look in sub directories. That allows me some freedom in organizing documents and moving broken documents around without too much work. So I would be a bit reluctant to change