BackendException: Could not initialize backend: No module named gi.repository

Asked by Aaron Lucero

Please take it easy on me. I'm new to Linux, just installed it moments ago. I wanna backup my files to an external drive, after selecting My Passport as my backup destination, I tried creating a folder to save my backups, and I tried without the folder destination. I keep getting this error, after I pushed the Backup Now button.
I keep getting this error:

BackendException: Could not initialize backend: No module named gi.repository

I don't know what to do. I'm lost. Please help.

Question information

Language:
English Edit question
Status:
Solved
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Lucero
Solved:
Last query:
Last reply:
Revision history for this message
Michael Terry (mterry) said :
#1

Hrm. Try doing this in a Terminal:

sudo apt-get install python-gi

This problem looks like a bug in the packaging. That package should be installed for you.

Revision history for this message
Aaron Lucero (aw-lucero) said :
#2

It didn't fix it for me. It prompted me for a password. Is it suppose to do that?

Revision history for this message
Aaron Lucero (aw-lucero) said :
#3

I reinstalled Fedora, and tried your suggestion. It suddenly worked. Thanks pal.

Revision history for this message
John Smisko (john-smisko) said :
#4

Running

sudo apt-get install python-gi

Also helped me to restore a backup using Deja Dup with Ubuntu 16.04.

Revision history for this message
Sandeep C (meetsc) said :
#5

This fixed the issue for me. Thanks!