wting / flyback

Automatically exported from code.google.com/p/flyback
0 stars 0 forks source link

AttributeError: main_gui instance has no attribute 'show_prefs_dialog' #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download flyback 0.2, unpack and run on Ubuntu Gutsy system with all
(the stated) dependencies satisfied

What is the expected output? What do you see instead?
I expect some sort of GUI. Instead, it dies with error output as follows

What version of the product are you using? On what operating system?
Ubuntu Gutsy (i.e., 7.10)

Please provide any additional information below.
Traceback (most recent call last):
  File "./flyback.py", line 813, in <module>
    main_gui()
  File "./flyback.py", line 738, in __init__
    self.show_prefs_dialog()
AttributeError: main_gui instance has no attribute 'show_prefs_dialog'

Original issue reported on code.google.com by Gnyf...@gmail.com on 7 Nov 2007 at 1:11

GoogleCodeExporter commented 9 years ago
Same here on Gusty 7.10 64 bit.

  File "./flyback.py", line 813, in <module>
    main_gui()
  File "./flyback.py", line 738, in __init__
    self.show_prefs_dialog()
AttributeError: main_gui instance has no attribute 'show_prefs_dialog'

Original comment by black1...@gmail.com on 7 Nov 2007 at 2:17

GoogleCodeExporter commented 9 years ago
same here on kubuntu gutsy 7.10

Original comment by okke.formsma on 7 Nov 2007 at 2:25

GoogleCodeExporter commented 9 years ago
Same here. Ubuntu 7.04 Feisty Fawn. All dependencies satisfied.

Original comment by kuk...@gmail.com on 7 Nov 2007 at 2:42

GoogleCodeExporter commented 9 years ago
Same here, on gutsy.

Original comment by brenttke...@gmail.com on 7 Nov 2007 at 2:54

Attachments:

GoogleCodeExporter commented 9 years ago
Python is right, there is no show_prefs_dialog() in the main_gui class.  I 
tried a
quick patch that seems to have worked:

On line 648 (before "def hide_window(...)") I added the following:
def show_prefs_dialog(self):
    prefs_gui(self)

It should run fine after that.  You might get an error dialog, but I think 
that's
just because the backup location hasn't been set the first time you run it.  
After
that it seems to run as advertised.

Original comment by hickswri...@gmail.com on 7 Nov 2007 at 3:16

GoogleCodeExporter commented 9 years ago
I got the same problem... Checking out the source from subversion gave the same 
issue.

I had to revert back to revision 7 (latest is 13 as of now) to get this working.

Original comment by hexm...@gmail.com on 7 Nov 2007 at 3:22

GoogleCodeExporter commented 9 years ago
hickswright's workaround works.

thanks.

Original comment by black1...@gmail.com on 7 Nov 2007 at 3:36

Attachments:

GoogleCodeExporter commented 9 years ago
@ comment 5 hickswright

That worked for me to.

ubuntu 7.10

ubuntustudio

Original comment by pedalwre...@gmail.com on 7 Nov 2007 at 3:41

GoogleCodeExporter commented 9 years ago
I added the work around as shown just before 648 under Ubuntu 7.10 x86 and when
running, it just sits until I control C out of it 15 minutes later.

Original comment by bens...@gmail.com on 7 Nov 2007 at 4:17

GoogleCodeExporter commented 9 years ago
This worked for me as well.

Original comment by niles.co...@gmail.com on 7 Nov 2007 at 4:33

GoogleCodeExporter commented 9 years ago
The fix in comment five worked for me as well on Ubuntu 7.10 -- how do I remove 
a
directory if I've already added it to the backup list, though?

Original comment by mdmadph on 7 Nov 2007 at 4:56

GoogleCodeExporter commented 9 years ago
Same problem as bensode - I fixed the code as detailed above but when executing 
it
simply does nothing. No GUI comes up at all. 

Original comment by ad...@desktopbucks.com on 7 Nov 2007 at 5:47

GoogleCodeExporter commented 9 years ago
problem cropped up on first use, before a backup location was set.

fixed in svn and v0.2.1.

Original comment by pub...@kered.org on 7 Nov 2007 at 5:57