Bug#912627: asymptote: Asymptote crashes on attempt to create pdf file

2019-01-24 Thread Hilmar Preuße
On 02.11.18 00:22, Dmitry Bogatov wrote: > Dear Maintainer, here is the code: > > > draw((0, 0) -- (1, 1), opacity(0.7)); > > Here is error: > Fixed in git on salsa. H. -- sigfault #206401 http://counter.li.org signature.asc Description: OpenPGP digital signature

Bug#912627: asymptote: Asymptote crashes on attempt to create pdf file

2018-11-06 Thread Dmitry Bogatov
[2018-11-05 11:53] Norbert Preining > > ghostscript recently [1] removed some non-standard extensions, unless > > option -nosafe is used. I'm not sure, when this happened, b/c my gs 9.20 > > in Debian stable fails to process this file too. Work around is > > described on [1] too. > > > > Also th

Bug#912627: asymptote: Asymptote crashes on attempt to create pdf file

2018-11-05 Thread Norbert Preining
On Mon, 05 Nov 2018, Hilmar Preuße wrote: > Nevertheless I tend to see it as bug if asy generates input files, which > needs a special mode in gs to be processed successfully. Either asy should > call gs w/ -nosafe by default (not!) or it should generate generic code, > which can be processed w/ op

Bug#912627: asymptote: Asymptote crashes on attempt to create pdf file

2018-11-05 Thread Hilmar Preuße
Am 05.11.2018 um 03:53 teilte Norbert Preining mit: Hi all, No, I don't think so. As mentioned in the link you sent, the correct way would be to say asy -nosafe ... Just my IMHO. Dimitry, can you check whether adding the -nosafe option to asy helps you? I tend to close this bug report

Bug#912627: asymptote: Asymptote crashes on attempt to create pdf file

2018-11-04 Thread Norbert Preining
Hi both of you, > ghostscript recently [1] removed some non-standard extensions, unless > option -nosafe is used. I'm not sure, when this happened, b/c my gs 9.20 > in Debian stable fails to process this file too. Work around is > described on [1] too. > > Also this function is still mentioned on

Bug#912627: asymptote: Asymptote crashes on attempt to create pdf file

2018-11-04 Thread Norbert Preining
> My guess is that the cson module is not loaded. And not distributed. And > not in Debian. It is cson. I have now packaged speg (needed by pycson) and pycson and updated asymptote git. After these two packages are through the NEW queue I will upload 4.77. Norbert -- PREINING Norbert

Bug#912627: asymptote: Asymptote crashes on attempt to create pdf file

2018-11-04 Thread Norbert Preining
Hi Hilmar, thanks for following up on this. > opt = cson.loads(f.read()) > AttributeError: 'NoneType' object has no attribute 'loads' My guess is that the cson module is not loaded. And not distributed. And not in Debian. > Regarding the original problem: as expected it is not solved in 4.7

Bug#912627: asymptote: Asymptote crashes on attempt to create pdf file

2018-11-04 Thread Hilmar Preuße
Am 03.11.2018 um 06:54 teilte Norbert Preining mit: On Fri, 02 Nov 2018, Hilmar Preuße wrote: Hi, Also this function is still mentioned on [2]. The issue in asy is still in 2.47 (probably) and needs to be forwarded. I tried to update asymptote, but xasy is rewritten in the new upstream vers

Bug#912627: asymptote: Asymptote crashes on attempt to create pdf file

2018-11-02 Thread Norbert Preining
On Fri, 02 Nov 2018, Hilmar Preuße wrote: > Also this function is still mentioned on [2]. The issue in asy is still > in 2.47 (probably) and needs to be forwarded. I tried to update asymptote, but xasy is rewritten in the new upstream version and somehow does not work at all, uses strange python m

Bug#912627: asymptote: Asymptote crashes on attempt to create pdf file

2018-11-02 Thread Hilmar Preuße
On 02.11.2018 00:22, Dmitry Bogatov wrote: Hi Dmitry, > draw((0, 0) -- (1, 1), opacity(0.7)); > > Here is error: > After removing the opacity statement... > Error: /undefined in .setopacityalpha > Operand stack: > 0.7 > The following line is missing when generating

Bug#912627: asymptote: Asymptote crashes on attempt to create pdf file

2018-11-01 Thread Dmitry Bogatov
Package: asymptote Version: 2.44-1+b1 Severity: normal Dear Maintainer, here is the code: draw((0, 0) -- (1, 1), opacity(0.7)); Here is error: Error: /undefined in .setopacityalpha Operand stack: 0.7 Execution stack: %interp_exit .runexec