rapt-file search not works

Bug #1263222 reported by Edle8
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt-file (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 13.10
apt-file 2.5.2ubuntu1

The search with the apt-file works normal. But when I try the same search with the rapt-file, a python error occurs:

(not that the network connection is ok)

% apt-file search add-apt-reposi
software-properties-common: /usr/bin/add-apt-repository

% rapt-file search add-apt-reposi
Traceback (most recent call last):
  File "/usr/bin/rapt-file", line 130, in <module>
    for res in unpickle(urlopen(url)):
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 101] Network is unreachable>

Tags: rapt-file
Revision history for this message
Edle8 (edle8) wrote :

In verbose mode I see this line:

Querying http://dde.debian.net/dde/q/aptfile/byfile/squeeze-amd64/add-apt-reposi?t=pickle...

But this domain does not exist and not resolves to a IP.
Is there a domain change to update in rapt-file configuration?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-file (Ubuntu):
status: New → Confirmed
Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

@Dudytz
I have this issue as well, thanks for your report it came up in the Google search results.

Revision history for this message
V字龍(Vdragon) (vdragon) wrote :

If you see the source of rapt-file you'll find that the url is hard-coded into the code and is currently only compatible to Debian repositories... might need few work to make it support Ubuntu software sources.

In the meanwhile use apt-file instead, although I admit that the functionality of rapt-file is really attractive to me.

Revision history for this message
Niels Thykier (niels-thykier) wrote :

In the mean time, rapt-file has been discontinued as the back end service has stopped working. I suspect this bug ought to be closed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.