Issue 273 in pyftpdlib: test_ftpd.py: 'Kqueue' object has no attribute '_poller'

3 views
Skip to first unread message

pyft...@googlecode.com

unread,
Oct 5, 2013, 2:14:25 PM10/5/13
to pyftpdli...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-Library

New issue 273 by michaelr...@gmail.com: test_ftpd.py: 'Kqueue' object has
no attribute '_poller'
http://code.google.com/p/pyftpdlib/issues/detail?id=273

Run test_ftpd.py on FreeBSD 9.1-R:

ERROR: test_ioloop_fileno (__main__.TestCornerCases)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_ftpd.py", line 3310, in test_ioloop_fileno
fd = self.server.server.ioloop.fileno()
File "build/bdist.freebsd-9.1-RELEASE-amd64/egg/pyftpdlib/ioloop.py",
line 581, in fileno
return self._poller.fileno()
AttributeError: 'Kqueue' object has no attribute '_poller'


pyftpdlib 1.2.0, FreeBSD 9.1-R, Python 2.7


Possible fix:
> diff ioloop.py.orig ioloop.py
581c581
< return self._poller.fileno()
---
> return self._kqueue.fileno()



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

pyft...@googlecode.com

unread,
Nov 6, 2013, 3:26:00 PM11/6/13
to pyftpdli...@googlegroups.com
Updates:
Status: FixedInSVN
Labels: OpSys-BSD Milestone-1.3.0

Comment #1 on issue 273 by g.rodola: test_ftpd.py: 'Kqueue' object has no
attribute '_poller'
http://code.google.com/p/pyftpdlib/issues/detail?id=273

Sorry for the big delay on this.
Committed in r1234.
Reply all
Reply to author
Forward
0 new messages