Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26895 - straw can't poll
Summary: straw can't poll
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-18 21:51 UTC by Lars Weiler (RETIRED)
Modified: 2006-02-04 06:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Weiler (RETIRED) gentoo-dev 2003-08-18 21:51:23 UTC
The RSS-News aggregator straw won't poll on a ppc.  The version doesn't matter
but I use the recent 0.19.  Latest output is:

Traceback (most recent call last):
  File "src/lib/Main.py", line 101, in poll_network
  File "src/lib/URLFetch.py", line 110, in poll
  File "src/lib/LookupManager.py", line 57, in poll
  File "/usr/lib/python2.2/site-packages/ADNS.py", line 48, in run
    for q in self._s.completed(timeout):
adns.Error: (14, 'Bad address')

I'm not a python guru, so I don't know where the error lies.  Could this be an
endianess-problem?  On my x86 it works really stable...
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-10-11 05:07:36 UTC
It could be possible yes. The error is spawn from the code performing dns
queries. Can you double check you haven't specified a 'bad address'? 
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2003-12-05 06:24:46 UTC
With a newer version of straw (0.21.2) I receive several other errors:

  File "/usr/lib/python2.2/site-packages/straw/PollManager.py", line 16, in maybe_poll
    self.poll_network()
  File "/usr/lib/python2.2/site-packages/straw/PollManager.py", line 54, in poll_network
    straw.URLFetch.connection_manager.poll(straw.NetworkConstants.POLL_TIMEOUT)
  File "/usr/lib/python2.2/site-packages/straw/URLFetch.py", line 117, in poll
    lookup_manager.poll(timeout)
  File "/usr/lib/python2.2/site-packages/straw/LookupManager.py", line 72, in poll
    self.queryengine.run(timeout)
  File "/usr/lib/python2.2/site-packages/ADNS.py", line 48, in run
    for q in self._s.completed(timeout):
adns.Error: (14, 'Bad address')

The addresses are all correct as I use the same on my x86.
Comment 3 Lars Weiler (RETIRED) gentoo-dev 2004-02-12 06:48:14 UTC
Interesting thing.  When I unmerge ADNS, straw works.  It isn't really necessary for straw, it just makes it quicker.  But I guess, there are several other applications, that depends on ADNS.  So, this is no solution.

I should ask the programmer of straw to help me.
Comment 4 Bartosch Pixa (RETIRED) gentoo-dev 2004-02-15 02:15:02 UTC
this is a python bug imo, adding liquidx to cc
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2004-02-15 02:58:42 UTC
ADNS is an optional runtime dependency (or more specifically adns-python). 

there is no sane way to introduce a useflag here, so we assume everyone would want to use async dns resolution because thats much faster. 

have you tried net-libs/adns-1.1 to see if that helps at all?
Comment 6 Lars Weiler (RETIRED) gentoo-dev 2004-02-15 09:24:26 UTC
Nope.  I still see the same errors with tried net-libs/adns-1.1
Comment 7 Lars Weiler (RETIRED) gentoo-dev 2004-03-10 17:27:15 UTC
I changed the latest ebuild that straw should not ADNS for ppc.  If it is already installed, we can't check... (at least I think so).

I close this bug with WORKSFORME