python file run without error but desktop launcher show error

by mark080   Last Updated May 13, 2019 04:02 AM

I have python script that runs correctly from IDE but when I create .desktop launcher for it on desktop as follow

[Desktop Entry]
Version=1.0
Name=Python Script Name
Comment=Open Python script (name)
Exec=/home/mark/proj2/proj/GUI.py
Icon=/home/mark/Videos/Hopstarter-Malware-Search.ico
Terminal=true
Type=Application
Categories=Application;
Name[en_US]=detect

it show error

OperationalError: no such table: frames

the database file is sqlite that is in same folder as python script

how to fix this ?

I am using ubuntu 18.04



Related Questions


How to add launcher icon for python script?

Updated June 27, 2017 09:02 AM

Adding Folder shortcut to Launcher Ubuntu 14.04

Updated March 26, 2015 14:00 PM

how to make android like app folders on ubuntu desktop

Updated February 16, 2017 14:02 PM


Create Eclipse Neon Launcher in Ubuntu 16.4

Updated July 06, 2017 02:02 AM