Issue 77 in flyback: flyback does not run on Debian Lenny

4 views
Skip to first unread message

codesite...@google.com

unread,
Dec 10, 2009, 10:04:51 PM12/10/09
to flyback...@googlegroups.com
Status: New
Owner: ----

New issue 77 by nomo17k: flyback does not run on Debian Lenny
http://code.google.com/p/flyback/issues/detail?id=77

I installed flyback_0.6.1_r111-1_all.deb on Debian Lenny. Unfortunately I
cannot get it to run at all. When running it with python flyback.py, I get
the following error:

(flyback.py:5646): libglade-WARNING **: unknown property `orientation' for
class `GtkVBox'

(flyback.py:5646): libglade-WARNING **: unknown property `orientation' for
class `GtkVBox'
Traceback (most recent call last):
File "flyback.py", line 72, in <module>
launch_select_backup_gui()
File "flyback.py", line 43, in launch_select_backup_gui
register_gui( select_backup_gui.GUI(register_gui, unregister_gui) )
File "/usr/local/src/flyback/flyback-read-only/src/select_backup_gui.py",
line 138, in __init__
util.register_device_added_removed_callback(self.refresh_device_list)
File "/usr/local/src/flyback/flyback-read-only/src/util.py", line 75, in
register_device_added_removed_callback
if not device_monitor_thread.is_alive():
AttributeError: 'DeviceMonitorThread' object has no attribute 'is_alive'



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Feb 19, 2010, 11:02:58 AM2/19/10
to flyback...@googlegroups.com

Comment #1 on issue 77 by pub...@kered.org: flyback does not run on Debian
Lenny
http://code.google.com/p/flyback/issues/detail?id=77

not sure what could cause this. what version of python are you running?
in util.py, could you add the following:

print 'device_monitor_thread', device_monitor_thread

after this line:

device_monitor_thread = DeviceMonitorThread()

and rerun? (and give me the output?)

codesite...@google.com

unread,
Feb 19, 2010, 12:06:23 PM2/19/10
to flyback...@googlegroups.com
Updates:
Status: NeedInfo
Labels: Type-Defect

Comment #2 on issue 77 by pub...@kered.org: flyback does not run on Debian
Lenny
http://code.google.com/p/flyback/issues/detail?id=77

(No comment was entered for this change.)

codesite...@google.com

unread,
Feb 25, 2010, 5:32:17 AM2/25/10
to flyback...@googlegroups.com

Comment #3 on issue 77 by joseluis.ferrero: flyback does not run on Debian
Lenny
http://code.google.com/p/flyback/issues/detail?id=77

Hello

With your indications, the result is this.

debian:/usr/share/flyback# python flyback.py
device_monitor_thread <DeviceMonitorThread(Thread-1, initial)>
/usr/share/flyback

(flyback.py:3977): libglade-WARNING **: unknown property `orientation' for
class
`GtkVBox'

(flyback.py:3977): libglade-WARNING **: unknown property `orientation' for

class
`GtkVBox'
Traceback (most recent call last):
File "flyback.py", line 72, in <module>
launch_select_backup_gui()
File "flyback.py", line 43, in launch_select_backup_gui
register_gui( select_backup_gui.GUI(register_gui, unregister_gui) )

File "/usr/share/flyback/select_backup_gui.py", line 138, in __init__
util.register_device_added_removed_callback(self.refresh_device_list)
File "/usr/share/flyback/util.py", line 81, in

register_device_added_removed_callback
if not device_monitor_thread.is_alive():
AttributeError: 'DeviceMonitorThread' object has no attribute 'is_alive'

debian:/usr/share/flyback#
debian:/usr/share/flyback# python flyback.py
device_monitor_thread <DeviceMonitorThread(Thread-1, initial)>
/usr/share/flyback

(flyback.py:3992): libglade-WARNING **: unknown property `orientation' for
class
`GtkVBox'

(flyback.py:3992): libglade-WARNING **: unknown property `orientation' for

class
`GtkVBox'
Traceback (most recent call last):
File "flyback.py", line 72, in <module>
launch_select_backup_gui()
File "flyback.py", line 43, in launch_select_backup_gui
register_gui( select_backup_gui.GUI(register_gui, unregister_gui) )

File "/usr/share/flyback/select_backup_gui.py", line 138, in __init__
util.register_device_added_removed_callback(self.refresh_device_list)
File "/usr/share/flyback/util.py", line 81, in

register_device_added_removed_callback
if not device_monitor_thread.is_alive():
AttributeError: 'DeviceMonitorThread' object has no attribute 'is_alive'


Regards

codesite...@google.com

unread,
Feb 28, 2010, 6:56:18 AM2/28/10
to flyback...@googlegroups.com

Comment #4 on issue 77 by oll...@gmx.net: flyback does not run on Debian
Lenny
http://code.google.com/p/flyback/issues/detail?id=77

This is because you use python2.5 on Lenny which has no is_alive() method
on the
threading object.
On Debian SID with python2.6 it works very well.

codesite...@google.com

unread,
Mar 1, 2010, 2:28:48 PM3/1/10
to flyback...@googlegroups.com

Comment #5 on issue 77 by public.kered.org: flyback does not run on Debian
Lenny
http://code.google.com/p/flyback/issues/detail?id=77

bummer. didn't know that is_alive() is new in 2.6. (usually the docs will
hint at
such...)

googling leads me to the following fix:
if not hasattr(threading.Thread, "is_alive"):
threading.Thread.is_alive = threading.Thread.isAlive

codesite...@google.com

unread,
Mar 1, 2010, 3:32:46 PM3/1/10
to flyback...@googlegroups.com
Updates:
Status: Fixed

Comment #6 on issue 77 by pub...@kered.org: flyback does not run on Debian
Lenny
http://code.google.com/p/flyback/issues/detail?id=77

This issue was closed by revision 52e3831be6.

codesite...@google.com

unread,
Mar 1, 2010, 3:40:58 PM3/1/10
to flyback...@googlegroups.com

Comment #7 on issue 77 by pub...@kered.org: flyback does not run on Debian
Lenny
http://code.google.com/p/flyback/issues/detail?id=77

checked in. can someone confirm this worked for them?

codesite...@google.com

unread,
Apr 5, 2010, 6:15:16 PM4/5/10
to flyback...@googlegroups.com

Comment #8 on issue 77 by germar.reitze: flyback does not run on Debian
Lenny
http://code.google.com/p/flyback/issues/detail?id=77

yea. that works on debian lenny and although on knoppix 6.2

codesite...@google.com

unread,
Apr 26, 2010, 6:17:30 AM4/26/10
to flyback...@googlegroups.com

Comment #9 on issue 77 by pcanavan: flyback does not run on Debian Lenny
http://code.google.com/p/flyback/issues/detail?id=77

This issue exists on Ubuntu 8.04 LTS also. The checked in fix for util.py
works
(thanks) but the latest .deb available doesn't include the fix so you may
see more
people with this issue.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "flyback-discuss" group.
To post to this group, send email to flyback...@googlegroups.com
To unsubscribe from this group, send email to flyback-discu...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/flyback-discuss?hl=en

Project homepage: http://code.google.com/p/flyback/
Reply all
Reply to author
Forward
0 new messages