I've just "switched on" the package index on python.org. The register command in python2.3a2 (current CVS) uses this address by default now, and the www.amk.ca script does a "half 301"* to tell users that the server has moved. Thanks Andrew for your support! The new address is http://www.python.org/pypi There's still a couple of outstanding issues: the big one is the download url handling. See http://www.python.org/sf/683939 for info on that. The verbosity issue is known about and awaiting patching (http://www.python.org/sf/684398). Neither are blockers as far as I'm concerned. Richard *"half 301" - for those who are curious, I respond with a Status: 301 and an explanation of what's going on. I don't supply the Location: header because the python urllib libraries will automatically follow it, and not supply the basic auth credentials. The missing Location: results in the register command just displaying the server response. The user is prompted to use the different URL.
Richard Jones wrote:
I've just "switched on" the package index on python.org.
excellent! one nit: the RSS feed seems to be broken; it seems to contain HTML stuff mixed in with the RSS data: http://www.python.org/pypi?:action=rss here's what wget gives me: <?xml version="1.0"?> <!-- name="generator" content="PyPI/1.0" --> <!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.n etscape.com/publish/formats/rss-0.91.dtd"> <rss version="0.91"> <channel> <title>PyPI recent updates</title> <link>http://www.python.org/pypi</link> <description>Updates to the Python Packages Index (PyPI)</description> <language>en</language> Status: 500 Internal Server Error Content-Type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <?xml-stylesheet href="http://www.python.org/style.css" type="text/css"?> <html><head><title>Python Packages Index</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="generator" content="HT2HTML/2.0"> <link rel="SHORTCUT ICON" href="http://www.python.org/pics/pyfav.gif"> <link rel="STYLESHEET" href="http://www.python.org/style.css" type="text/css"> <link rel="STYLESHEET" href="http://mechanicalcat.net/pypi.css" type="text/css"> </head> <body bgcolor="#ffffff" text="#000000" marginwidth="0" marginheight="0" link="#0000bb" vlink="#551a8b" alink="#ff0000"> ... I'm also having serious problems setting trove classifiers for my contributions, but that's probably my fault. </F>
On Wednesday 19 February 2003 12:02, Fredrik Lundh wrote:
Richard Jones wrote:
I've just "switched on" the package index on python.org.
excellent!
one nit: the RSS feed seems to be broken; it seems to contain HTML stuff mixed in with the RSS data:
Here's another problem (I tried submitting a bug report, but I can't figure out how to do it!). I tried to register, and after submitting my data I got the following traceback, which seems to indicate a configuration problem: PyPI: Error... Internal Server Error Traceback (most recent call last): File "/usr/local/pypi/lib/pypi/webui.py", line 110, in run self.inner_run() File "/usr/local/pypi/lib/pypi/webui.py", line 368, in inner_run getattr(self, action)() File "/usr/local/pypi/lib/pypi/webui.py", line 1183, in user self.send_email(info['email'], rego_message%info) File "/usr/local/pypi/lib/pypi/webui.py", line 1270, in send_email smtp = smtplib.SMTP(self.config.mailhost) File "/usr/lib/python2.2/smtplib.py", line 234, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.2/smtplib.py", line 283, in connect raise socket.error, msg error: (61, 'Connection refused') -- ------------------------------------------------------------------------------- Konrad Hinsen | E-Mail: hinsen@cnrs-orleans.fr Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24 Rue Charles Sadron | Fax: +33-2.38.63.15.17 45071 Orleans Cedex 2 | Deutsch/Esperanto/English/ France | Nederlands/Francais -------------------------------------------------------------------------------
On Wed, 19 Feb 2003 11:53 pm, Konrad Hinsen wrote:
PyPI: Error...
Internal Server Error
Traceback (most recent call last): File "/usr/local/pypi/lib/pypi/webui.py", line 110, in run self.inner_run() File "/usr/local/pypi/lib/pypi/webui.py", line 368, in inner_run getattr(self, action)() File "/usr/local/pypi/lib/pypi/webui.py", line 1183, in user self.send_email(info['email'], rego_message%info) File "/usr/local/pypi/lib/pypi/webui.py", line 1270, in send_email smtp = smtplib.SMTP(self.config.mailhost) File "/usr/lib/python2.2/smtplib.py", line 234, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.2/smtplib.py", line 283, in connect raise socket.error, msg error: (61, 'Connection refused')
This is fixed. Richard
On Wed, 19 Feb 2003 10:02 pm, Fredrik Lundh wrote:
Richard Jones wrote:
I've just "switched on" the package index on python.org.
excellent!
one nit: the RSS feed seems to be broken; it seems to contain HTML stuff mixed in with the RSS data:
http://www.python.org/pypi?:action=rss
here's what wget gives me:
<?xml version="1.0"?> <!-- name="generator" content="PyPI/1.0" --> <!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.n etscape.com/publish/formats/rss-0.91.dtd"> <rss version="0.91"> <channel> <title>PyPI recent updates</title> <link>http://www.python.org/pypi</link> <description>Updates to the Python Packages Index (PyPI)</description> <language>en</language> Status: 500 Internal Server Error Content-Type: text/html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <?xml-stylesheet href="http://www.python.org/style.css" type="text/css"?> <html><head><title>Python Packages Index</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="generator" content="HT2HTML/2.0"> <link rel="SHORTCUT ICON" href="http://www.python.org/pics/pyfav.gif"> <link rel="STYLESHEET" href="http://www.python.org/style.css" type="text/css"> <link rel="STYLESHEET" href="http://mechanicalcat.net/pypi.css" type="text/css"> </head> <body bgcolor="#ffffff" text="#000000" marginwidth="0" marginheight="0" link="#0000bb" vlink="#551a8b" alink="#ff0000">
Hurm - I can't reproduce this - if you get it again, could you submit the entire response to the bug tracker on sf.net? The project is "pypi" and is linked to from the pypi pages as "Bug Reports".
I'm also having serious problems setting trove classifiers for my contributions, but that's probably my fault.
Please let me know if there's anything that can be done at my end to make this work better for you. Richard
On Thu, 20 Feb 2003 7:50 am, Richard Jones wrote:
Hurm - I can't reproduce this - if you get it again, could you submit the entire response to the bug tracker on sf.net? The project is "pypi" and is linked to from the pypi pages as "Bug Reports".
Arg, my apologies, I could reproduce this, I was just looking at the wrong ".N" download from wget. It's fixed now. Richard
"Fredrik Lundh" <fredrik@pythonware.com> writes:
Richard Jones wrote:
I've just "switched on" the package index on python.org.
excellent!
one nit: the RSS feed seems to be broken; it seems to contain HTML stuff mixed in with the RSS data:
Now that this is fixed, I'm having much fun reading the pypi channel with the effnews reader. Thanks to both of you! Thomas
participants (4)
-
Fredrik Lundh -
Konrad Hinsen -
Richard Jones -
Thomas Heller