[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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
version and somehow does not work at all, uses strange python modules
that aren't packaged, etc etc. I fear I need to drop xasy.

Not sure what modules you're speaking about. After installing python3-pyqt5 & python3-pyqt5.qtsvg at least the ModuleNotFoundError is gone. Now I get:

hille@sid:~ $ xasy -h
Traceback (most recent call last):
  File "/usr/bin/xasy", line 5, in <module>
    from Window1 import MainWindow1
  File "/usr/share/asymptote/GUI/Window1.py", line 23, in <module>
    import xasy2asy as x2a
  File "/usr/share/asymptote/GUI/xasy2asy.py", line 36, in <module>
    import xasyOptions as xo
  File "/usr/share/asymptote/GUI/xasyOptions.py", line 153, in <module>
    class BasicConfigs:
  File "/usr/share/asymptote/GUI/xasyOptions.py", line 156, in BasicConfigs
    'xasyconfig', os.path.join(_configPath, 'xasyconfig.cson'))
  File "/usr/share/asymptote/GUI/xasyOptions.py", line 80, in __init__
    self.options = self.defaultOptions()
File "/usr/share/asymptote/GUI/xasyOptions.py", line 38, in defaultOptions
    opt = cson.loads(f.read())
AttributeError: 'NoneType' object has no attribute 'loads'

..which looks like a bug in xasy to me.

Regarding the original problem: as expected it is not solved in 4.77.

Hilmar
--
#206401 http://counter.li.org


Reply to: