unexpected ride error: 'DataLoader' object has no attribute 'is_alive'

13 views
Skip to first unread message

Bryan Oakley

unread,
Dec 30, 2009, 12:21:16 PM12/30/09
to robotframework-devel
Has anyone seen this error before? I recently did an hg pull followed
by an hg update, and when I run ride I get this error:

File "/home/boakley/dev/ride/hg/src/robotide/application/application.py",
line 74, in _load_suite
while loader.is_alive():
AttributeError: 'DataLoader' object has no attribute 'is_alive'

Sure enough, when I grep through the sources I don't see anywhere
where is_alive() is defined.

Bulkan

unread,
Dec 30, 2009, 5:16:48 PM12/30/09
to oak...@bardo.clearlight.com, robotframework-devel
is_alive() is a method on a threading.Thread object  [1]  I'm not sure whey you're getting that error

Janne Härkönen

unread,
Jan 5, 2010, 5:45:11 AM1/5/10
to robotframework-devel
Forgot to reply also to the list.

---------- Forwarded message ----------
From: Janne Härkönen <janne.t....@gmail.com>
Date: Fri, Jan 1, 2010 at 7:17 PM
Subject: Re: unexpected ride error: 'DataLoader' object has no
attribute 'is_alive'

To: oak...@bardo.clearlight.com


On Wed, Dec 30, 2009 at 7:21 PM, Bryan Oakley
<oak...@bardo.clearlight.com> wrote:
> AttributeError: 'DataLoader' object has no attribute 'is_alive'
>
> Sure enough, when I grep through the sources I don't see anywhere
> where is_alive() is defined.

is_alive is method of threading.Thread, which DataLoader inherits. It
seems however that in Python versions older than 2.6, name of this
method is isAlive (which also works in 2.6). I will correct this
promptly.


thanks for reporting the issue,
__janne

Reply all
Reply to author
Forward
0 new messages