Cannot start Previsat after installing via apt

Bug #1717646 reported by Emilien Klein
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
previsat (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
New
Undecided
Unassigned
Bionic
New
Undecided
Unassigned
Cosmic
New
Undecided
Unassigned
Disco
Fix Released
Undecided
Unassigned

Bug Description

Situation:
----------

I have done a new/fresh install of Previsat on my Ubuntu 16.04 64 bit.
When starting Previsat for the first time, it complains that the data folder does not exist, and points to a folder containing snapd in the path (see attachment).
The error message informs that Previsat should be reinstalled (which I did, still same issue).

After clicking on OK on the error message, the program crashes with a segfault.
Starting it again shows an error message that the software is already running. Relaunching after that gets you back to the first error message, then the segfault, then error about already running. We're in some kind of loop ;(

Temporary solution:
-------------------

I have solved this (temporarily) by symlinking the folder that Previsat looks at to the folder where the data was really installed on my machine:

$ sudo ln -s /usr/share/Astropedia /var/lib/snapd/desktop/Astropedia

Long-term solution:
-------------------

But the correct solution would be to have Previsat look at /usr/share/Astropedia instead of /var/lib/snapd/desktop/Astropedia
(I find it peculiar that Previsat would be looking for something in a Snap folder, when it was installed via Apt and not Snap...)

System information:
-------------------

$ uname -a
Linux daguerre 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Previsat version: 3.5.1.7+dfsg1-1

Tags: xenial
Revision history for this message
Emilien Klein (emilien-klein) wrote :
tags: added: xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in previsat (Ubuntu):
status: New → Confirmed
Revision history for this message
Logan Rosen (logan) wrote :

This bug was fixed in the package previsat - 3.5.1.7+dfsg1-3

---------------
previsat (3.5.1.7+dfsg1-3) unstable; urgency=medium

  * created VCS stuff in d/control
  * upgraded Standards-Version: 4.2.1 and dh level : 11
  * fixed the location of command data in the file previsat.cpp. Closes: #915330
  * added a call to lrelease, added PreviSat_en.qm to installable files,
    modified main.cpp to search language files under
    /usr/share/Astropedia/PreviSat
  * added a build-dependency on qttools5-dev-tools

 -- Georges Khaznadar <email address hidden> Mon, 03 Dec 2018 19:19:06 +0100

Changed in previsat (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.