MintBackup Tool not opening [SOLVED]

Questions about applications and software
Forum rules
Before you post please read this

MintBackup Tool not opening [SOLVED]

Postby msm on 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.
msm
Level 3
Level 3
 
Posts: 138
Joined: Tue Mar 23, 2010 7:40 am
Location: Dublin, Ireland

Linux Mint is funded by ads and donations.
 

Re: MintBackup Tool not opening

Postby grizzler on 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.
grizzler
Level 4
Level 4
 
Posts: 399
Joined: Wed Jun 15, 2011 5:19 pm
Location: The Hague, NL

Re: MintBackup Tool not opening

Postby msm on 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.
msm
Level 3
Level 3
 
Posts: 138
Joined: Tue Mar 23, 2010 7:40 am
Location: Dublin, Ireland

Re: MintBackup Tool not opening

Postby davrych on 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!
davrych
Level 1
Level 1
 
Posts: 1
Joined: Sun Jul 17, 2011 12:21 am

Re: MintBackup Tool not opening

Postby msm on 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?
msm
Level 3
Level 3
 
Posts: 138
Joined: Tue Mar 23, 2010 7:40 am
Location: Dublin, Ireland

Re: MintBackup Tool not opening

Postby grizzler on 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.
grizzler
Level 4
Level 4
 
Posts: 399
Joined: Wed Jun 15, 2011 5:19 pm
Location: The Hague, NL

Re: MintBackup Tool not opening

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

Thanks, grizzler. Works like a charm here.
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 msm on 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!
msm
Level 3
Level 3
 
Posts: 138
Joined: Tue Mar 23, 2010 7:40 am
Location: Dublin, Ireland

Re: MintBackup Tool not opening [SOLVED]

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

A big thank you from me too grizzler. :D
DAVID
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 gorade on 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.
User avatar
gorade
Level 1
Level 1
 
Posts: 42
Joined: Sat Feb 07, 2009 3:53 pm

Re: MintBackup Tool not opening [SOLVED]

Postby hozomean on 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.
hozomean
Level 1
Level 1
 
Posts: 32
Joined: Mon Jun 06, 2011 2:06 pm

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 4 guests