Opened 4 years ago

Closed 4 years ago

#6168 closed defect (fixed)

Link to OpenModelica Users Guide in OMEdit 1.16 (Windows) broken...

Reported by: jarry@… Owned by: Adrian Pop
Priority: blocker Milestone: 1.16.1
Component: Installation program Version: v1.16.0-dev
Keywords: Cc: Martin Sjölund

Description

Click on Help -> OpenModelica Users Guide (or pressing F1) in OMEdit triggers error in message browser (and Users Guide is not opened):

Scripting Error
Unable to open file file:///C:/Program Files/OpenModelica1.16.0-64bit/share/doc/omc/OpenModelicaUsersGuide/index.html.

Proper path to Users Guide in default installation on Windows is:

C:/Program Files/OpenModelica1.16.0-64bit/share/doc/omc/index.html

Link to PDF-version of Users Guide is correct and works...

Change History (10)

comment:1 by Adrian Pop, 4 years ago

@adeas31, could we add a Qt test for this one?
Seems we always have issues with it when we release new stuff.

comment:2 by Francesco Casella, 4 years ago

Milestone: Future1.16.1
Priority: lownormal

comment:3 by jarry@…, 4 years ago

Not sure if this is related to the reported bug or new one, but I just updated OM to 1.16 on my Linux Mint, and links to Users Guide are dead too (both html and pdf).

I tried to find where those guides are installed, but "dpkg -L openmodelica" returns just this:

sudo dpkg -L openmodelica
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/openmodelica
/usr/share/doc/openmodelica/changelog.Debian
/usr/share/doc/openmodelica/copyright

It should report all files installed by package "openmodelica", but apparently does not...

comment:4 by Francesco Casella, 4 years ago

Cc: Martin Sjölund added

comment:5 by Martin Sjölund, 4 years ago

The OpenModelica package is a meta-package. You'll need to check omc or I think omc-doc

comment:6 by Adeel Asghar, 4 years ago

Component: OMEditInstallation program
Owner: changed from Adeel Asghar to Adrian Pop
Status: newassigned

I did some investigation on it. When making the nightly builds we use https://openmodelica.org/doc/openmodelica-doc-latest.tar.xz and when making the release Adrian made this https://openmodelica.org/doc/openmodelica-doc-v1.16.0.tar.xz manually which has a different folder hierarchy hence this bug.

I talked with Adrian and we need to fix this and make 1.16.1

comment:7 by Francesco Casella, 4 years ago

Priority: normalblocker

comment:8 by Francesco Casella, 4 years ago

@adrpo, can you fix this ASAP so we can release 1.16.1? Otherwise please reschedule to 1.17.0

comment:9 by Adeel Asghar, 4 years ago

We can consider this as fixed. Actually it is fixed automatically when Adrian makes the 1.16.1 release. Just to need to fix the path in the .tar when making the release. We discussed this last time and he wrote it down in his release notes.

comment:10 by Francesco Casella, 4 years ago

Resolution: fixed
Status: assignedclosed

OK.

Note: See TracTickets for help on using tickets.