QCAD 2.1.3.2 quits when help is selected

If you are having problems with QCAD 2.1/2.2, post here. Please report bugs here.

Moderator: andrew

QCAD 2.1.3.2 quits when help is selected

Postby apjjr » Sat Jun 02, 2007 5:36 pm

Selecting help from the menu or pressing F1 makes QCAD quit.

I just installed QCAD 2.1.3.2 on an up-to-date Ubuntu 7.04 as follows:
cd /opt
sudo tar xzvf ~/qcad-2.1.3.2-1-prof.linux.x86.tar.gz
sudo rm -r qcad-2.1.2.8-1-prof.linux.x86
sudo rm -r qcad-2.1.3.0-1-prof.linux.x86
cd /usr/bin
sudo ln -s /opt/qcad-2.1.3.2-1-prof.linux.x86/qcad qcad

If started by directly referencing the path rather than the link, I get the following error in the help window:
The page could not be found
'/opt/qcad-2.1.2.8-1-prof.linux.x86/doc/index.html'

I linked the qcad-2.1.3.2-1-prof.linux.x86 directory to qcad-2.1.2.8-1-prof.linux.x86 in /opt and by starting QCAD with the full path reference, now help works.

Is there a way to clean this up? Have I done something wrong in the install?

Alex
apjjr
Active Member
 
Posts: 27
Joined: Sun Apr 08, 2007 3:49 pm

QCAD 2.1.3.2 quits when help is selected

Postby apjjr » Sat Jun 02, 2007 7:15 pm

I finally figured it out!

When QT Assistant is run, it looks in your HOME directory for a dir named .assistant. If found it uses it. If not, it creates it.

The contents of my old .assistant directory as follows:
contentdb40.QCad indexdb40.dict.QCad indexdb40.QCad
contentdb.QCadManual indexdb40.doc.QCad indexdb.QCadManual

These files referenced the old 2.1.2.8 installation.

Deleting the .assistant dir and restarting qcad from the install dir fixed the problem.

I changed the link I originally created to a script with the following lines:
# start qcad from install directory
cd /opt/qcad-2.1.3.2-1-prof.linux.x86
exec ./qcad

Is QT Assistant supposed to update these references by comparing the current version with the referenced one or some other means?

Alex
apjjr
Active Member
 
Posts: 27
Joined: Sun Apr 08, 2007 3:49 pm


Return to QCAD 2.1/2.2 Troubleshooting and Problems

Who is online

Users browsing this forum: No registered users and 0 guests