On 5/18/20 1:39 PM, Enrico Forestieri wrote:
> On Sat, Mar 14, 2020 at 05:27:19PM +0100, Enrico Forestieri wrote:
>
>> On Sat, Mar 14, 2020 at 04:36:41PM +0100, Jürgen Spitzmüller wrote:
>>> Am Samstag, den 14.03.2020, 16:22 +0100 schrieb Enrico Forestieri:
Please, try the attached patch.
>>>
On Sat, Mar 14, 2020 at 05:27:19PM +0100, Enrico Forestieri wrote:
> On Sat, Mar 14, 2020 at 04:36:41PM +0100, Jürgen Spitzmüller wrote:
> > Am Samstag, den 14.03.2020, 16:22 +0100 schrieb Enrico Forestieri:
> > > Please, try the attached patch.
> >
> > This fixes the problem for me.
>
> I have
On Sunday, 22 March 2020 10.34.05 WET Jürgen Spitzmüller wrote:
> With master, open the German User Guide:
>
> Traceback (most recent call last):
> File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview2bitmap.py",
> line 594, in
> sys.exit(main(sys.argv)[0])
> File "/home/juergen/lyx/l
Am Sonntag, den 22.03.2020, 22:06 +0100 schrieb Enrico Forestieri:
> Should be fixed at 92c4bb46.
It is. Thanks!
Jürgen
signature.asc
Description: This is a digitally signed message part
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel
On Sun, Mar 22, 2020 at 11:34:05AM +0100, Jürgen Spitzmüller wrote:
> With master, open the German User Guide:
>
> Traceback (most recent call last):
> File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview2bitmap.py",
> line 594, in
> sys.exit(main(sys.argv)[0])
> File "/home/juergen/l
Am Sun, 22 Mar 2020 12:28:56 +0100
schrieb Jürgen Spitzmüller :
> Am Sonntag, den 22.03.2020, 12:24 +0100 schrieb Kornel Benko:
> > I don't see it. Instead I get plenty of
> > ** (lyx2.4:21053): WARNING **: 12:17:00.471: invalid source position
> > for horizontal
> > gradient
>
> Do you have in
Am Sonntag, den 22.03.2020, 12:24 +0100 schrieb Kornel Benko:
> I don't see it. Instead I get plenty of
> ** (lyx2.4:21053): WARNING **: 12:17:00.471: invalid source position
> for horizontal
> gradient
Do you have instant preview enabled?
> BTW, running python3
Me too.
Jürgen
signature.asc
D
Am Sun, 22 Mar 2020 11:34:05 +0100
schrieb Jürgen Spitzmüller :
> With master, open the German User Guide:
>
> Traceback (most recent call last):
> File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview2bitmap.py",
> line 594, in
> sys.exit(main(sys.argv)[0])
> File "/home/juergen/lyx/
With master, open the German User Guide:
Traceback (most recent call last):
File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview2bitmap.py",
line 594, in
sys.exit(main(sys.argv)[0])
File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview2bitmap.py",
line 446, in main
return legac
On Sat, Mar 14, 2020 at 04:36:41PM +0100, Jürgen Spitzmüller wrote:
> Am Samstag, den 14.03.2020, 16:22 +0100 schrieb Enrico Forestieri:
> > Please, try the attached patch.
>
> This fixes the problem for me.
I have extended the patch to some other obvious cases and committed it.
Riki, I think th
On 2020-03-14, Jürgen Spitzmüller wrote:
> [-- Type: text/plain, Encoding: quoted-printable --]
> Am Samstag, den 14.03.2020, 12:29 + schrieb Guenter Milde:
>> I'll have a look if you tell me how to reproduce...
> MWE attached. The cuplrit here seem to be log messages such as the
> following
Am Samstag, den 14.03.2020, 16:22 +0100 schrieb Enrico Forestieri:
> Please, try the attached patch.
This fixes the problem for me.
Thanks, Enrico.
Jürgen
signature.asc
Description: This is a digitally signed message part
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/
On Fri, Mar 13, 2020 at 10:06:48AM +0100, Jürgen Spitzmüller wrote:
> I get the following python traceback in master:
>
> Traceback (most recent call last):
> File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview2bitmap.py",
> line 594, in
> sys.exit(main(sys.argv)[0])
> File "/home/ju
Am Samstag, den 14.03.2020, 12:29 + schrieb Guenter Milde:
> I'll have a look if you tell me how to reproduce...
MWE attached. The cuplrit here seem to be log messages such as the
following (in latin9, as the document is set to that):
Package csquotes Info: Allocating character ».
Thanks,
Jü
On 2020-03-13, Jürgen Spitzmüller wrote:
> I get the following python traceback in master:
> Traceback (most recent call last):
> File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview2bitmap.py",
> line 594, in
> sys.exit(main(sys.argv)[0])
> File "/home/juergen/lyx/lyx-devel/lib/scri
I get the following python traceback in master:
Traceback (most recent call last):
File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview2bitmap.py",
line 594, in
sys.exit(main(sys.argv)[0])
File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview2bitmap.py",
line 472, in main
latex
Am Montag, den 15.07.2019, 11:29 + schrieb Guenter Milde:
> I am following the list via the gmane news interface and cannot send
> or read
> attachemnts in my newsreader.
Not good.
> You can simply save the complete post and pass it to `git apply`,
> though.
> Or I could just commit to master
On 2019-07-15, Jürgen Spitzmüller wrote:
> [-- Type: text/plain, Encoding: quoted-printable --]
> Am Sonntag, den 14.07.2019, 21:28 + schrieb Guenter Milde:
>> It did not. Is it required?
> I believe so.
>> The patch below makes it run with both, 2.7 and 3.5 in a simple
>> test:
> Could yo
Am Sonntag, den 14.07.2019, 21:28 + schrieb Guenter Milde:
> It did not. Is it required?
I believe so.
> The patch below makes it run with both, 2.7 and 3.5 in a simple
> test:
Could you post a real patch (as attachment)?
Jürgen
signature.asc
Description: This is a digitally signed messag
On 2019-07-14, Jean-Marc Lasgouttes wrote:
> Le 14/07/2019 à 12:52, Kornel Benko a écrit :
>> Am Sonntag, 14. Juli 2019, 12:09:41 CEST schrieb Jean-Marc Lasgouttes:
>>> If I start lyx with a non-existing user directory, LyX fails.
>>> JMarc
>> I don't see it. Instead I see a new dialog stating t
On 2019-07-14, Jürgen Spitzmüller wrote:
> [-- Type: text/plain, Encoding: quoted-printable --]
> Am Sonntag, den 14.07.2019, 08:17 + schrieb Guenter Milde:
>> This file is for Python2.
>> The patch below made it work with Python3.5 here.
> Does it also still work with python 2.7?
It did n
Le 14/07/2019 à 12:52, Kornel Benko a écrit :
Am Sonntag, 14. Juli 2019, 12:09:41 CEST schrieb Jean-Marc Lasgouttes:
If I start lyx with a non-existing user directory, LyX fails.
JMarc
I don't see it. Instead I see a new dialog stating that there are no latex
classes found,
and the option t
Am Sonntag, 14. Juli 2019, 12:09:41 CEST schrieb Jean-Marc Lasgouttes:
> If I start lyx with a non-existing user directory, LyX fails.
>
> JMarc
>
I don't see it. Instead I see a new dialog stating that there are no latex
classes found,
and the option to reconfigure again. Checking this, lyx st
If I start lyx with a non-existing user directory, LyX fails.
JMarc
jarvis: src/lyx -userdir ddd
LyX : création du répertoire /home/jean-marc/src/lyx/devbuild/ddd
LyX : reconfiguration du répertoire utilisateur
[...]
+checking list of textclasses...
Traceback (most recent call last):
File "/ho
Am Sonntag, den 14.07.2019, 08:17 + schrieb Guenter Milde:
> This file is for Python2.
>
> The patch below made it work with Python3.5 here.
Does it also still work with python 2.7?
Jürgen
signature.asc
Description: This is a digitally signed message part
On 2019-07-13, Jürgen Spitzmüller wrote:
> [-- Type: text/plain, Encoding: quoted-printable --]
> make_i18n.inc (in po/) fails for me with this error:
> /usr/bin/python3 ./postats.py "2.4.0dev" ar.po bg.po cs.po de.po el.po
> en.po es.po eu.po fi.po fr.po he.po hu.po ia.po id.po it.po ja.po nb.p
make_i18n.inc (in po/) fails for me with this error:
/usr/bin/python3 ./postats.py "2.4.0dev" ar.po bg.po cs.po de.po el.po
en.po es.po eu.po fi.po fr.po he.po hu.po ia.po id.po it.po ja.po nb.po
nl.po nn.po pl.po pt_BR.po pt_PT.po ru.po sk.po sv.po tr.po uk.po
zh_CN.po zh_TW.po >i18n.inc
Tracebac
On Friday, 7 June 2019 15.17.53 WEST Jean-Marc Lasgouttes wrote:
> Go ahead.
>
> JMarc
Done.
--
José Abílio
Le 07/06/2019 à 14:17, José Abílio Matos a écrit :
On Wednesday, 5 June 2019 23.24.29 WEST José Abílio Matos wrote:
Thank you. This is only the first step (it controls the build time).
Attached is a patch that does the same for run time.
I will commit this. Tell me if you have problems with t
On Wednesday, 5 June 2019 23.24.29 WEST José Abílio Matos wrote:
> Thank you. This is only the first step (it controls the build time).
>
> Attached is a patch that does the same for run time.
I will commit this. Tell me if you have problems with this code.
--
José Abílio
On Thursday, 16 May 2019 17.37.06 WEST Jean-Marc Lasgouttes wrote:
> Done.
>
> JMarc
Thank you. This is only the first step (it controls the build time).
Attached is a patch that does the same for run time.
What do you think?
It search first for python3 and only later for python 2.
PS: There
Le 15/05/2019 à 21:41, José Abílio Matos a écrit :
On Wednesday, 15 May 2019 16.19.49 WEST Jean-Marc Lasgouttes wrote:
OK, so I change the list to [python3 python2], right?
Done.
JMarc
Jean-Marc Lasgouttes
>
> The sentence makes sense to me, although not in the intended way.
>
Couldn't you say the same for any bug? ;)
Jürgen
> JMarc
>
On Wednesday, 15 May 2019 16.19.49 WEST Jean-Marc Lasgouttes wrote:
> OK, so I change the list to [python3 python2], right?
>
> JMarc
Yes.
--
José Abílio
Le 15/05/2019 à 16:27, José Abílio Matos a écrit :
Currently, we have a baroque list which is:
[python python2 python3 python3.3 python3.2 python3.1 python3.0
python2.7 dnl
python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
We should get rid of those and only test pyth
On Wednesday, 15 May 2019 13.45.55 WEST Jean-Marc Lasgouttes wrote:
> Le 15/05/2019 à 14:29, José Abílio Matos a écrit :
> > On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote:
> >> On my self-build master LyX on windows 10, I get the error below when
> >> reconfiguring. Python is 3.6
On Wednesday, 15 May 2019 14.01.23 WEST jungok wrote:
> > 1) The first step is to change both cmake and autotols detection.
>
> Cmake already searches for python3 first.
That is nice. Thank you. :-)
--
José Abílio
Am Mittwoch, 15. Mai 2019, 13:29:10 CEST schrieb José Abílio Matos:
> On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote:
> > On my self-build master LyX on windows 10, I get the error below when
> > reconfiguring. Python is 3.6.
> >
> > What is that?
> >
> > JMarc
>
> Based on thi
Le 15/05/2019 à 14:29, José Abílio Matos a écrit :
On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote:
On my self-build master LyX on windows 10, I get the error below when
reconfiguring. Python is 3.6.
What is that?
JMarc
Based on this I would like to suggest before 2.4 to mod
On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote:
> On my self-build master LyX on windows 10, I get the error below when
> reconfiguring. Python is 3.6.
>
> What is that?
>
> JMarc
Based on this I would like to suggest before 2.4 to modify the current python
detection logic.
I
On Wednesday, 15 May 2019 07.06.54 WEST Jürgen Spitzmüller wrote:
> Then point the finder towards me.
>
> Thanks for fixing
> Jürgen
I think that you misunderstood me (my fault). :-)
I was anthropomorphising the code because then when we say that the code gives
some fight it is easier to relate
Le 15/05/2019 à 08:11, Jürgen Spitzmüller a écrit :
Am Mittwoch, den 15.05.2019, 08:06 +0200 schrieb Jürgen Spitzmüller:
Then point the finder towards me.
*Sigh* Even my accusatives are buggy these days.
The sentence makes sense to me, although not in the intended way.
JMarc
Am Mittwoch, den 15.05.2019, 08:06 +0200 schrieb Jürgen Spitzmüller:
> Then point the finder towards me.
*Sigh* Even my accusatives are buggy these days.
Jürgen
signature.asc
Description: This is a digitally signed message part
Am Dienstag, den 14.05.2019, 22:15 +0100 schrieb José Abílio Matos:
> On a second look this is the culprit. One of those variables is a
> string while
> it should be bytes. I will try to find who (it should be *what* but
> it is
> funnier if I make this personal ;-) )
Then point the finder towar
On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote:
> On my self-build master LyX on windows 10, I get the error below when
> reconfiguring. Python is 3.6.
>
> What is that?
>
> JMarc
The culprit was the _local_ variable.
The following patch should fix it.
diff --git a/lib/config
On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote:
> % (modname, filename, desc, pkgs, req, excl, catgy, local))
On a second look this is the culprit. One of those variables is a string while
it should be bytes. I will try to find who (it should be *what* but it is
funnier if
On Tuesday, 14 May 2019 19.17.56 WEST Jean-Marc Lasgouttes wrote:
> On my self-build master LyX on windows 10, I get the error below when
> reconfiguring. Python is 3.6.
>
> What is that?
>
> JMarc
>
> +checking list of modules...
> Z:/Jean-Marc/lyx/lib\layouts\algorithm2e.module
> Traceback (mo
On my self-build master LyX on windows 10, I get the error below when
reconfiguring. Python is 3.6.
What is that?
JMarc
+checking list of modules...
Z:/Jean-Marc/lyx/lib\layouts\algorithm2e.module
Traceback (most recent call last):
File "Z:/Jean-Marc/lyx/lib/configure.py", line 1875, in
On Thursday, 13 April 2017 15.52.57 WEST Enrico Forestieri wrote:
> Thanks for the pointer. I also see there:
>
> Changed in version 3.6: Unrecognized escape sequences produce a
> DeprecationWarning. In some future version of Python they will
> be a SyntaxError.
>
> which is what I wo
On Thu, Apr 13, 2017 at 11:36:56AM +, Guenter Milde wrote:
>
> Ther difference in backslash handling is due to the "r" praefix, not
> depending on binary or not:
>
> rb'\n' <-> r'\n'
>b'\n' <-> '\n'
Yes, I was aware of the meaning of the r prefix.
> In Python, the backslash c
On Thu, Apr 13, 2017 at 02:45:07PM +0100, José Abílio Matos wrote:
> On Thursday, 13 April 2017 10.46.18 WEST Enrico Forestieri wrote:
> > The rule I infer from the above is that in b'' objects the backslash
> > is not special unless followed by another backslash, in which case
> > is quotes the ba
On Thursday, 13 April 2017 10.46.18 WEST Enrico Forestieri wrote:
> The rule I infer from the above is that in b'' objects the backslash
> is not special unless followed by another backslash, in which case
> is quotes the backslash. This seems nonsense to me.
FWIW a couple of weeks ago I was bitte
On 2017-04-13, Enrico Forestieri wrote:
> On Thu, Apr 13, 2017 at 09:48:00AM +0100, José Abílio Matos wrote:
>> On Wednesday, 12 April 2017 19.40.32 WEST Enrico Forestieri wrote:
>> > I have some difficulty understanding how backslashes are treated
>> > in bytes-like objects, though.
>> Do you hav
On Thu, Apr 13, 2017 at 09:48:00AM +0100, José Abílio Matos wrote:
> On Wednesday, 12 April 2017 19.40.32 WEST Enrico Forestieri wrote:
> > I have some difficulty understanding how backslashes are treated
> > in bytes-like objects, though.
>
> Do you have an examples?
>
> I am not aware of any di
On Wednesday, 12 April 2017 19.25.29 WEST Enrico Forestieri wrote:
> Maybe I beat him
Yes, you did. :-)
> Please, try the attached. It works for me with both python 2 and 3.
I like this code more than the previous since the previous section that was
windows specific could fail if we had a fil
On Wednesday, 12 April 2017 19.40.32 WEST Enrico Forestieri wrote:
> I have some difficulty understanding how backslashes are treated
> in bytes-like objects, though.
Do you have an examples?
I am not aware of any differences regarding backslashes in strings or bytes.
--
José Abílio
Am Mittwoch, den 12.04.2017, 20:25 +0200 schrieb Enrico Forestieri:
> On Wed, Apr 12, 2017 at 07:28:49PM +0200, Enrico Forestieri wrote:
> > On Wed, Apr 12, 2017 at 06:09:00PM +0200, Jürgen Spitzmüller wrote:
> > >
> > > FWIW the patch fixes my case (although reconfiguring seems
> > > significantl
On Wed, Apr 12, 2017 at 05:03:24PM +0100, José Abílio Matos wrote:
> On Wednesday, 12 April 2017 16.49.54 WEST Enrico Forestieri wrote:
> > And how would you perform regex matches when dealing with bytes-like
> > objects in python3? Don't you get a TypeError?
>
> http://stackoverflow.com/questions
On Wed, Apr 12, 2017 at 07:28:49PM +0200, Enrico Forestieri wrote:
> On Wed, Apr 12, 2017 at 06:09:00PM +0200, Jürgen Spitzmüller wrote:
> >
> > FWIW the patch fixes my case (although reconfiguring seems
> > significantly slower).
>
> Let's see whether José comes up with something, then.
Maybe I
On Wed, Apr 12, 2017 at 06:09:00PM +0200, Jürgen Spitzmüller wrote:
>
> FWIW the patch fixes my case (although reconfiguring seems
> significantly slower).
Let's see whether José comes up with something, then.
--
Enrico
Am Mittwoch, den 12.04.2017, 16:42 +0200 schrieb Enrico Forestieri:
> If we agree on this, with the attached patch no re-encoding is
> necessary.
> Please, try it. The python chardet module is required.
FWIW the patch fixes my case (although reconfiguring seems
significantly slower).
Jürgen
sig
On Wednesday, 12 April 2017 16.49.54 WEST Enrico Forestieri wrote:
> And how would you perform regex matches when dealing with bytes-like
> objects in python3? Don't you get a TypeError?
http://stackoverflow.com/questions/5618988/regular-expression-parsing-a-binary-file
tldr; defining the regex e
On Wed, Apr 12, 2017 at 04:21:33PM +0100, José Abílio Matos wrote:
>
> The other option would be to open the file in binary mode and then we have to
> make sure to use the b"" strings when there are file manipulations.
And how would you perform regex matches when dealing with bytes-like
objects
On Wednesday, 12 April 2017 15.42.42 WEST Enrico Forestieri wrote:
> On Wed, Apr 12, 2017 at 03:36:10PM +0200, Jürgen Spitzmüller wrote:
> > I understand that there is no perfect method. However, if we can catch
> > a significant set of cases without too much effort, we should probably
> > do that.
On Wed, Apr 12, 2017 at 03:36:10PM +0200, Jürgen Spitzmüller wrote:
>
> I understand that there is no perfect method. However, if we can catch
> a significant set of cases without too much effort, we should probably
> do that.
If we agree on this, with the attached patch no re-encoding is necessa
On Wed, Apr 12, 2017 at 03:36:10PM +0200, Jürgen Spitzmüller wrote:
>
> Could you tell me again why it is now necessary to open the files with
> a specific encoding, while we did not do that until now? (I admit that
> I skipped most of those "Python 3" threads)
Because of this commit:
http://www.
Am Mittwoch, den 12.04.2017, 15:22 +0200 schrieb Enrico Forestieri:
> I find that the chardet library is the least reliable. I get better
> results with python-magic. However, all methods are unreliable to
> some extent. Try the attached patch to see in how many encodings
> you can read a file. Try
On Wed, Apr 12, 2017 at 03:22:58PM +0200, Enrico Forestieri wrote:
> some extent. Try the attached patch to see in how many encodings
^
Sorry, I meant script, of course.
--
Enrico
On Wed, Apr 12, 2017 at 02:28:48PM +0200, Jürgen Spitzmüller wrote:
>
> There seem to be some ways to detect the file encoding in python:
> http://stackoverflow.com/questions/436220/determine-the-encoding-of-tex
> t-in-python
I find that the chardet library is the least reliable. I get better
res
Am Mittwoch, den 12.04.2017, 14:13 +0200 schrieb Enrico Forestieri:
> I highlighted this issue here:
> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg199359.html
> I don't know what will happen.
I see. So the patch you have posted (which has been applied by JMarc)
helps in JMarc's own case
On Wed, Apr 12, 2017 at 01:38:57PM +0200, Jürgen Spitzmüller wrote:
> Am Mittwoch, den 12.04.2017, 13:05 +0200 schrieb Enrico Forestieri:
>
> > I think that this deserves a comment
> > in release notes.
>
> At least. If there's a way to do the recoding via layout2layout, I
> would very much prefe
Am Mittwoch, den 12.04.2017, 13:05 +0200 schrieb Enrico Forestieri:
> Check that all your layout files are utf8 encoded:
>
> file ~/.lyx/layout/*
Indeed, some weren't.
> If not, use iconv to convert them.
Did that (using recode). That helped.
> I think that this deserves a comment
> in releas
On Wed, Apr 12, 2017 at 12:24:20PM +0200, Jürgen Spitzmüller wrote:
> I am currently getting the following error while doing reconfigure:
>
> checking LaTeX configuration... auto
> Traceback (most recent call last):
> File "/home/juergen/lyx/lyx-devel2/lib/configure.py", line 1825, in
>
>
I am currently getting the following error while doing reconfigure:
checking LaTeX configuration... auto
Traceback (most recent call last):
File "/home/juergen/lyx/lyx-devel2/lib/configure.py", line 1825, in
ret = checkLatexConfig(lyx_check_config and LATEX != '',
bool_docbook)
Fi
74 matches
Mail list logo