Hi,
I discovered ezdxf a couple of weeks ago.
First, I tested in Windows os and it works great.
Finally, I have to tested sample in linux server. it didn't work.
I thought that's because our linux server hasn't any display devices.
So, I tried to install xvfb package and try again.
That's finally messages from your addon function.
Traceback (most recent call last):
File "run_odafileconverter.py", line 4, in <module>
doc = odafc.readfile('test.dwg')
File "/usr/local/lib/python3.7/site-packages/ezdxf/addons/odafc.py", line 79, in readfile
_execute_odafc(args)
File "/usr/local/lib/python3.7/site-packages/ezdxf/addons/odafc.py", line 238, in _execute_odafc
raise ODAFCError(msg)
ezdxf.addons.odafc.ODAFCError: ODA File Converter failed: return code = 0.
stdout:
stderr: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QVncServer created on port 5900
Quit (core dumped)
It's really hard to figure out what's happening in code anymore. please help us and let us know how could we solve this problem.
I wrote down our environ bellow, if you any further information about our source code then reply to me. Thank's a lot.
- our environments (using docker)
- ubuntu 18.04
- python 3.7