Author Topic: QtOctave icons not shown - installation errors workaround [Solved]  (Read 148 times)

Offline dm+

  • Jr. Member
  • **
  • Posts: 25
2-Feb-2013

Present in: 0.10.1-1pclos2013 (also previous versions) - fixed in 0.10.1-2pclos2013

Problem:

When QtOctave is run, button icons are not shown, editor highlighting does not work; a warning is displayed:

>>>warning: addpath: /opt/qtoctave/share/qtoctave/scripts_octave/: No such file or directory
>>>error: `_ide_reload_variables_list' undefined near line 4 column 1

A quick investigation shows that directories are hard-coded in the qtoctave binary:

strings /usr/bin/qtoctave |grep "/opt"

/opt/qtoctave/share/qtoctave/images
/opt/qtoctave/share/qtoctave
/opt/qtoctave/share/doc/qtoctave/qtoctave_doc/index.html
/opt/qtoctave/share/doc/octave-html/octave_doc/index.html
/opt/qtoctave/share/qtoctave/lang
/opt/qtoctave/share/qtoctave/pkg-commands.list


Workaround:
A 'qtoctave' directory should be added in /opt
A symbolic link should then be created inside /opt/qtoctave pointing to /usr/share:

mkdir /opt/qtoctave
ln -s /usr/share /opt/qtoctave/share



« Last Edit: February 09, 2013, 09:30:13 AM by dm+ »

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2847
    • other projects...
Re: QtOctave icons not shown - installation errors workaround
« Reply #1 on: February 02, 2013, 06:13:27 AM »
thanks for the report and the fix, also needs the menus in the user-account .qtoctave. Fixed package coming soon.
-p.