MintBackup Tool not opening [SOLVED]

Archived topics about LMDE 1
Forum rules
msm
Level 3
Level 3
Posts: 137
Joined: Tue Mar 23, 2010 7:40 am
Location: Dublin, Ireland

MintBackup Tool not opening [SOLVED]

Postby msm » Sat Jul 16, 2011 8:00 am

Having recently installed LMDE I've downloaded a large number of software. I'd like to make a backup of the software list via the MintBackup tool. But when I click on its icon nothing happens - the program doesn't open. I've tried deleting and reinstalling it but that didn't fix it. What could the reason be for this?
Last edited by msm on Sun Jul 17, 2011 10:16 am, edited 1 time in total.

grizzler
Level 5
Level 5
Posts: 620
Joined: Wed Jun 15, 2011 5:19 pm
Location: The Hague, NL

Re: MintBackup Tool not opening

Postby grizzler » Sat Jul 16, 2011 12:21 pm

viewtopic.php?f=141&t=67502&p=432781&hilit=mintbackup#p432781

Reported over a month ago. Still not fixed? I applied the patch myself so I can't check.

msm
Level 3
Level 3
Posts: 137
Joined: Tue Mar 23, 2010 7:40 am
Location: Dublin, Ireland

Re: MintBackup Tool not opening

Postby msm » Sat Jul 16, 2011 3:33 pm

Apparently it hasn't been fixed yet. At least it doesn't work for me. Don't get an error message, it just doesn't open.

davrych
Level 1
Level 1
Posts: 1
Joined: Sun Jul 17, 2011 12:21 am

Re: MintBackup Tool not opening

Postby davrych » Sun Jul 17, 2011 12:48 am

@msm

I applied the patch, and it worked :D, I have lmde 32 with linux 2.6.39-2-686-pae and python-apt 0.8.0

You have to edit /usr/lib/linuxmint/mintbackup/mintbackup.py , import apt.progress.gtk2, and then replace line 87 with class MessageDialog(apt.progress.gtk2.GOpProgress), save your file and there you go.

This fix was provided by M Thomson on https://bugs.launchpad.net/linuxmint/+bug/795132 , read carefully you should know what are you doing, I learned that myself about twenty minutes ago. Good luck!

msm
Level 3
Level 3
Posts: 137
Joined: Tue Mar 23, 2010 7:40 am
Location: Dublin, Ireland

Re: MintBackup Tool not opening

Postby msm » Sun Jul 17, 2011 8:02 am

davrych wrote:
You have to edit /usr/lib/linuxmint/mintbackup/mintbackup.py , import apt.progress.gtk2, and then replace line 87 with class MessageDialog(apt.progress.gtk2.GOpProgress)


Thanks, but I'm not sure how to import the apt.progress.gtk2. How can I import that file?

grizzler
Level 5
Level 5
Posts: 620
Joined: Wed Jun 15, 2011 5:19 pm
Location: The Hague, NL

Re: MintBackup Tool not opening

Postby grizzler » Sun Jul 17, 2011 9:22 am

This is what I did. Open a terminal window and enter these three commands (the first is just to backup the file in case the patching goes wrong - make sure to include the space and the dot at the end):

Code: Select all

cp /usr/lib/linuxmint/mintBackup/mintBackup.py .
wget https://bugs.launchpad.net/linuxmint/+bug/795132/+attachment/2162530/+files/mintBackup.py.diff
sudo patch /usr/lib/linuxmint/mintBackup/mintBackup.py -i mintBackup.py.diff

You can remove the files 'mintBackup.py' and 'mintBackup.py.diff' from your home directory when the patching is done.

=====================================================================================================
EDIT 04-08-2011: to anyone planning to use this patch now: DON'T!
The patched version of MintBackup has been released through the update system. You should now have version 2.0.8 which should just work. Trying to apply the patch to that version will cause problems.
Last edited by grizzler on Thu Aug 04, 2011 2:28 pm, edited 1 time in total.

User avatar
doktordave
Level 2
Level 2
Posts: 60
Joined: Wed Apr 08, 2009 8:57 am
Location: Danville, VA

Re: MintBackup Tool not opening

Postby doktordave » Sun Jul 17, 2011 9:55 am

Thanks, grizzler. Works like a charm here.

msm
Level 3
Level 3
Posts: 137
Joined: Tue Mar 23, 2010 7:40 am
Location: Dublin, Ireland

Re: MintBackup Tool not opening

Postby msm » Sun Jul 17, 2011 10:14 am

grizzler wrote:This is what I did. Open a terminal window and enter these three commands (the first is just to backup the file in case the patching goes wrong - make sure to include the space and the dot at the end):

Code: Select all

cp /usr/lib/linuxmint/mintBackup/mintBackup.py .
wget https://bugs.launchpad.net/linuxmint/+bug/795132/+attachment/2162530/+files/mintBackup.py.diff
sudo patch /usr/lib/linuxmint/mintBackup/mintBackup.py -i mintBackup.py.diff

You can remove the files 'mintBackup.py' and 'mintBackup.py.diff' from your home directory when the patching is done.


Worked for me as well. Thank you!

bigdee
Level 1
Level 1
Posts: 44
Joined: Sun Dec 03, 2006 7:25 am
Location: Norfolk, England.

Re: MintBackup Tool not opening [SOLVED]

Postby bigdee » Mon Jul 25, 2011 6:24 am

A big thank you from me too grizzler. :D
DAVID

gorade
Level 2
Level 2
Posts: 66
Joined: Sat Feb 07, 2009 3:53 pm

Re: MintBackup Tool not opening [SOLVED]

Postby gorade » Thu Aug 04, 2011 11:25 am

Code: Select all

patching file /usr/lib/linuxmint/mintBackup/mintBackup.py
Hunk #2 FAILED at 88.
1 out of 2 hunks FAILED -- saving rejects to file /usr/lib/linuxmint/mintBackup/mintBackup.py.rej


What do I do wrong?

Backup of program choice still doesn't start.

hozomean
Level 1
Level 1
Posts: 33
Joined: Mon Jun 06, 2011 2:06 pm

Re: MintBackup Tool not opening [SOLVED]

Postby hozomean » Thu Aug 04, 2011 11:37 am

This bug fix has been released, so if you're fully up to date, you should not need to apply the patch. Please update mintBackup and update if you're still having problems.


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 9 guests