gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Unable to alter/save change of URL for ADR reporting


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Unable to alter/save change of URL for ADR reporting
Date: Fri, 12 Nov 2010 16:29:15 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Nov 08, 2010 at 11:00:48PM -0800, Jim Busser wrote:

> and try to change it to
> 
>       http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2809446/
> 
> the new value complains (beeps on attempted save) and does not allow to be 
> saved.

Indeed:

        
urllib2.urlopen('http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2809446/')Traceback
 (most recent call last):  File "<stdin>", line 1, in <module>  File 
"/usr/lib/python2.6/urllib2.py", line 126, in urlopen    return 
_opener.open(url, data, timeout)  File "/usr/lib/python2.6/urllib2.py", line 
397, in open    response = meth(req, response)  File 
"/usr/lib/python2.6/urllib2.py", line 510, in http_response    'http', request, 
response, code, msg, hdrs)  File "/usr/lib/python2.6/urllib2.py", line 435, in 
error    return self._call_chain(*args)  File "/usr/lib/python2.6/urllib2.py", 
line 369, in _call_chain    result = func(*args)  File 
"/usr/lib/python2.6/urllib2.py", line 518, in http_error_default    raise 
HTTPError(req.get_full_url(), code, msg, hdrs, fp)urllib2.HTTP
        Error: HTTP Error 403: Forbidden

which is likely due to redirections etc.

> The medications plug in contains a button "ADR" - nice. However it is 
> pre-configured to go to
> 
>       https://dcgma.org/uaw/meldung.php

        urllib2.urlopen('https://dcgma.org/uaw/meldung.php')
        <addinfourl at 3070364236L whose fp = <socket._fileobject object at 
0xb70069ac>>

which works.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]