ODA Drawings Explorer (formerly Teigha Viewer) is a free (not libre) viewer for proprietary DWG files, developed by Open Design Alliance.
The developing company provides RPM and DEB packages for easy installation at their site.
I download the 64 bit DEB package, and install it using:
sudo dpkg -i TeighaViewer_QT5_lnxX64_4.7dll.deb
After that, the software is easily installed and I can run the software from Dash (windows key + typing Teigha) or from bash with the command
TeighaViewer
The software loads quickly and automatically prompts to open a file. This is where the trouble beings... and ends: the moment I select any DWG, TeighaViewer consistently crashes every time.
- Regardless if I select big or small DWGs
- Regardless of the location of the files I select or permissions.
- Regardless if the DWG file was generated with a new or old version of AutoCAD
- Regardless if I install the Windows version of Teigha with wine and run it
In all of these cases, Teigha systematically crashes.
I have even tried to open the DWG file directly from command line by issuing:
TeighaViewer myTestFile.dwg
But it still crashes. Note there are no spaces in the name of test DWG file being opened.
When running Teigha from command line, there is a hint of the problem though:
~$ TeighaViewer myTestFile.dwg
QString::arg: Argument missing: Property Dialog, Teigha Viewer
QString::arg: Argument missing: Property Dialog, Teigha Viewer
terminate called after throwing an instance of 'OdError'
Aborted (core dumped)
I have googled everywhere for these errors, and came empty handed.
Could the be related to missing QT libraries?
My setup:
$ lsb_release -a
Description: Ubuntu 17.10
$ gnome-shell --version
GNOME Shell 3.26.2
$ uname -a
Linux 4.13.0-36-generic #40-Ubuntu SMP Fri Feb 16 20:07:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ cat /proc/cpuinfo | grep model
model : 142
model name : Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
If anyone was able to make TeighaViewer run on Ubuntu, I would like to know their setup (Ubuntu version, 32 or 64 bit, graphics card in use)
sudo apt -f install
– estibordo Mar 22 '18 at 10:55