deragon / autopoweroff

Manage automatic poweroff and other actions (suspend / custom) when specific conditions are reunited.
GNU General Public License v2.0
52 stars 7 forks source link

Requires Gnome 3.0 #2

Closed dineshmm23 closed 5 years ago

dineshmm23 commented 5 years ago

Sorry, but this application requires Gnome 3.0 resources that are not installed on this machine. Following is the specific error No module named gi

deragon commented 5 years ago

You mean that a dependency was missing? How did you install Autopoweroff? With .deb or .rpm?

dineshmm23 commented 5 years ago

with .deb

deragon commented 5 years ago

python-gi is missing as a dependency. I will add it for the next release. In the meantime, install it separately using the command:

sudo apt install python-gi
deragon commented 5 years ago

@dineshmm23, did you managed to pull Gtk? What distribution are you using? I found out on Fedora that pulling the 'gi' module for Python is not enough and Gtk must be added as a dependency. I would like to know what distribution you are using.

deragon commented 5 years ago

This issue is fix in release 3.1.0.