As the original reporter of this bug noticed, this command blocks:
/usr/share/popularity-contest/popcon-upload-ubuntu -u
http://popcon.ubuntu.com/popcon-submit.cgi -f /var/log/popularity-
contest
In fact it is waiting for characters from the terminal. To unblock it,
one can hit Ctrl-d.
The popularity-contest file is then submitted to the HTTP server, and
the server answers with the following error. The problem is therefore
on the server, but I do not know to whom I can report it. I will try a
message to [EMAIL PROTECTED] and [EMAIL PROTECTED] ...
<body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> -->
<body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> --> -->
</font> </font> </font> </script> </object> </blockquote> </pre>
</table> </table> </table> </table> </table> </font> </font> </font><body
bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#6622aa">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica,
arial"> <br><big><big><strong>NameError</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial">Python 2.4.2:
>/usr/bin/python<br>Sat Oct 7 11:44:27 2006</font></td></tr></table>
<p>A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.</p>
<table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr><td bgcolor="#d8bbff"><big> </big><a
href="file:///srv/popcon.ubuntu.com/www/popcon-submit.cgi">/srv/popcon.ubuntu.com/www/popcon-submit.cgi</a>
</td></tr>
<tr><td><font
color="#909090"><tt><small> 27</small> mode = 'a'<br>
</tt></font></td></tr>
<tr><td><font
color="#909090"><tt><small> 28</small> <br>
</tt></font></td></tr>
<tr><td
bgcolor="#ffccee"><tt><small> 29</small> mkdirs(hashDir,0755)<br>
</tt></td></tr>
<tr><td><font
color="#909090"><tt><small> 30</small> data = file(filename,mode)<br>
</tt></font></td></tr>
<tr><td><font
color="#909090"><tt><small> 31</small> data.writelines(header)<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><strong>mkdirs</strong> =
<function mkdirs>, hashDir
<em>undefined</em></font></small></td></tr></table><p><strong>NameError</strong>:
name 'hashDir' is not defined
<br><tt><small> </small> </tt>args =
("name 'hashDir' is not defined",)
<!-- The above is a description of an error in a Python program, formatted
for a Web browser because the 'cgitb' module was enabled. In case you
are not reading this in a Web browser, here is the original traceback:
Traceback (most recent call last):
File "/srv/popcon.ubuntu.com/www/popcon-submit.cgi", line 29, in ?
mkdirs(hashDir,0755)
NameError: name 'hashDir' is not defined
-->
--
Receiving bounce mail messages, even though it should send via HTTP
https://launchpad.net/bugs/39777
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs