incorrect self link to bookserver.archive.org/catalog
Bug #548454 reported by
mangtronix
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Internet Archive BookServer |
Fix Released
|
High
|
mangtronix |
Bug Description
User report:
Just noticed while testing something that this link:
<link rel="self" type="applicati
href="http://
in http://
will 404, because it needs to have a trailing / to work:
http://
http://
The @rel=self is correct in the main catalog.
Changed in bookserver: | |
assignee: | nobody → mangtronix (mang) |
importance: | Undecided → High |
status: | New → Confirmed |
To post a comment you must log in.
Not really related but the search engine timed out the first time I tried to access /downloads.xml
Traceback (most recent call last): sw/lib/ python/ web/application .py", line 242, in process sw/lib/ python/ web/application .py", line 233, in handle sw/lib/ python/ web/application .py", line 412, in _delegate sw/lib/ python/ web/application .py", line 387, in handle_class mang/bookserver /opds.py" , line 249, in GET ingest. IASolrToCatalog (pubInfo, solrUrl, urn, titleFragment= titleFragment) mang/bookserver /bookserver/ catalog/ ingest/ SolrToCatalog. py", line 150, in __init__ urlopen( self.url) getresponse( ) begin()
File "/petabox/
return self.handle()
File "/petabox/
return self._delegate(fn, self.fvars, args)
File "/petabox/
return handle_class(cls)
File "/petabox/
return tocall(*args)
File "/home/
ingestor = catalog.
File "/home/
f = urllib.
File "urllib.py", line 82, in urlopen
return opener.open(url)
File "urllib.py", line 190, in open
return getattr(self, name)(url)
File "urllib.py", line 328, in open_http
errcode, errmsg, headers = h.getreply()
File "httplib.py", line 1195, in getreply
response = self._conn.
File "httplib.py", line 924, in getresponse
response.
File "httplib.py", line 385, in begin
version, status, reason = self._read_status()
File "httplib.py", line 343, in _read_status
line = self.fp.readline()
File "socket.py", line 331, in readline
data = recv(1)
IOError: [Errno socket error] timed out
I added a dump of the URL. When I tried accessing the second time it was successful.
$ ./opds.py 9090 0.0.0.0: 9090/ se.us.archive. org:8983/ solr/select? fl=identifier, title,creator, publicdate, date,contributo r,publisher, subject, language, format, month&wt= json&q= mediatype% 3Atexts+ AND+(format% 3A(LuraTech+ PDF)+OR+ scanner: google) &sort=month+ desc&rows= 50
http://
url - http://
71.202.38.39:61501 - - [25/Mar/2010 23:48:28] "HTTP/1.1 GET /downloads.xml" - 200 OK