Re: Problem with Python 3.6.6

2019-06-04 Thread José Abílio Matos
On Tuesday, 4 June 2019 07.43.18 WEST Guenter Milde wrote: > It *may* be required with Python 3.1, 3.2, 3.3, or 3.4. > Unfortunately, I don't know whether `output` is of type "bytes" or > "str" with this versions. > > If we can establish, that `output` is of type "str" in all Python versions >

Re: Problem with Python 3.6.6

2019-06-04 Thread Guenter Milde
On 2019-06-03, José Abílio Matos wrote: > On Tuesday, 26 February 2019 12.15.06 WEST Guenter Milde wrote: >> In any case, os.popen is deprecated since Python 2.6 and should be replaced >> by calls to subprocess. https://docs.python.org/3/library/subprocess.html > That is true but in a sense

Re: Problem with Python 3.6.6

2019-06-04 Thread Guenter Milde
On 2019-06-03, José Abílio Matos wrote: > On Thursday, 28 February 2019 22.03.48 WEST Guenter Milde wrote: >> >> diff --git a/lib/scripts/convertDefault.py >> >> b/lib/scripts/convertDefault.py >> >> index 8678965013..c7db4f5499 100644 >> >> --- a/lib/scripts/convertDefault.py >> >> +++

Re: Problem with Python 3.6.6

2019-06-03 Thread José Abílio Matos
On Tuesday, 26 February 2019 12.15.06 WEST Guenter Milde wrote: > In any case, os.popen is deprecated since Python 2.6 and should be replaced > by calls to subprocess. https://docs.python.org/3/library/subprocess.html > > Hope this helps, > > Günter That is true but in a sense there is no need

Re: Problem with Python 3.6.6

2019-06-03 Thread José Abílio Matos
On Thursday, 28 February 2019 22.03.48 WEST Guenter Milde wrote: > >> diff --git a/lib/scripts/convertDefault.py > >> b/lib/scripts/convertDefault.py > >> index 8678965013..c7db4f5499 100644 > >> --- a/lib/scripts/convertDefault.py > >> +++ b/lib/scripts/convertDefault.py > >> @@ -35,7 +35,10 @@

Re: Problem with Python 3.6.6

2019-02-28 Thread Guenter Milde
On 2019-02-28, Stephan Witt wrote: > Am 27.02.2019 um 14:23 schrieb Guenter Milde : >> On 2019-02-26, Stephan Witt wrote: >>> Am 26.02.2019 um 13:15 schrieb Guenter Milde : On 2019-02-26, Stephan Witt wrote: > Am 26.02.2019 um 09:06 schrieb Guenter Milde : >> On 2019-02-26, Stephan

Re: Problem with Python 3.6.6

2019-02-27 Thread Stephan Witt
Am 27.02.2019 um 14:23 schrieb Guenter Milde : > > On 2019-02-26, Stephan Witt wrote: >> Am 26.02.2019 um 13:15 schrieb Guenter Milde : >>> On 2019-02-26, Stephan Witt wrote: Am 26.02.2019 um 09:06 schrieb Guenter Milde : > On 2019-02-26, Stephan Witt wrote: > > ... > >> Traceback

Re: Problem with Python 3.6.6

2019-02-27 Thread Guenter Milde
On 2019-02-26, Stephan Witt wrote: > Am 26.02.2019 um 13:15 schrieb Guenter Milde : >> On 2019-02-26, Stephan Witt wrote: >>> Am 26.02.2019 um 09:06 schrieb Guenter Milde : On 2019-02-26, Stephan Witt wrote: ... > Traceback (most recent call last): > File

Re: Problem with Python 3.6.6

2019-02-26 Thread Stephan Witt
Am 26.02.2019 um 13:15 schrieb Guenter Milde : > > On 2019-02-26, Stephan Witt wrote: >> Am 26.02.2019 um 09:06 schrieb Guenter Milde : >>> On 2019-02-26, Stephan Witt wrote: > I’m having a problem with lib/scripts/convertDefault.py and Python 3, see below: > Traceback (most

Re: Problem with Python 3.6.6

2019-02-26 Thread Guenter Milde
On 2019-02-26, Stephan Witt wrote: > Am 26.02.2019 um 09:06 schrieb Guenter Milde : >> On 2019-02-26, Stephan Witt wrote: >>> I’m having a problem with lib/scripts/convertDefault.py and Python 3, >>> see below: >>> Traceback (most recent call last): >>> File

Re: Problem with Python 3.6.6

2019-02-26 Thread Stephan Witt
Am 26.02.2019 um 09:06 schrieb Guenter Milde : > > On 2019-02-26, Stephan Witt wrote: >> Hi dear Pythonists, > >> I’m having a problem with lib/scripts/convertDefault.py and Python 3, >> see below: > >> Traceback (most recent call last): >> File

Re: Problem with Python 3.6.6

2019-02-26 Thread Guenter Milde
On 2019-02-26, Stephan Witt wrote: > Hi dear Pythonists, > I’m having a problem with lib/scripts/convertDefault.py and Python 3, > see below: > Traceback (most recent call last): > File "/Users/stephan/git/lyx/lib/scripts/convertDefault.py", line 38, in > > output = output.decode() >

Problem with Python 3.6.6

2019-02-25 Thread Stephan Witt
Hi dear Pythonists, I’m having a problem with lib/scripts/convertDefault.py and Python 3, see below: Traceback (most recent call last): File "/Users/stephan/git/lyx/lib/scripts/convertDefault.py", line 38, in output = output.decode() AttributeError: 'str' object has no attribute 'decode'