Your message dated Tue, 13 Jul 2010 08:36:45 +0200
with message-id <[email protected]>
and subject line Re: [Python-modules-team] Bug#588246: python-pycurl: exception 
is  thrown when setting NTLM authentication mode
has caused the Debian Bug report #588246,
regarding python-pycurl: exception is thrown when setting NTLM authentication 
mode
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
588246: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588246
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-pycurl
Version: 7.18.2-1
Severity: important


When calling:

            curl.setopt(HTTPAUTH, HTTPAUTH_NTLM)

The exception below does not describe the problem (not even when following the 
suggestions from Erich Schubert 
on bug 433941. The exception is:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "siebel.py", line 37, in __init__
    curl.setopt(HTTPAUTH, HTTPAUTH_NTLM)
pycurl.error: (2, '')

Not sure if related, but I found the following in pycurl's ChangeLog which is 
similarly represents  my issue.
http://pycurl.sourceforge.net/ChangeLog

        * Use Py_ssize_t where appropriate for Python 2.5 and 64-bit
          compatibility.  This fixes the problem reported by Aaron
          Hill, where the exception "pycurl.error: (2, '')" is thrown
          when calling setopt(pycurl.POSTFIELDS,...) on 64-bit
          platforms.

It works fine in sid, with the following versions.

ii  curl                                  7.19.7-1                   Get a file 
from an HTTP, HTTPS or FTP server
ii  gnupg-curl                            1.4.10-2                   GNU 
privacy guard - a free PGP replacement (cURL)
ii  libcurl3                              7.19.7-1                   
Multi-protocol file transfer library (OpenSSL)
ii  libcurl3-gnutls                       7.19.7-1                   
Multi-protocol file transfer library (GnuTLS)
ii  libcurl4-gnutls-dev                   7.19.7-1                   
Development files and documentation for libcurl (GnuTLS
ii  libwww-curl-perl                      4.09-1+b1                  Perl 
bindings to libcurl
ii  python-pycurl                         7.19.0-3+b1                Python 
bindings to libcurl


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-pycurl depends on:
ii  libc6           2.7-18lenny2             GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description library
ii  libcurl3-gnutls 7.18.2-8lenny4           Multi-protocol file transfer libra
ii  libgnutls26     2.4.2-6+lenny2           the GNU TLS library - runtime libr
ii  libidn11        1.8+20080606-1           GNU libidn library, implementation
ii  libkrb53        1.6.dfsg.4~beta1-5lenny3 MIT Kerberos runtime libraries
ii  libldap-2.4-2   2.4.11-1+lenny1          OpenLDAP libraries
ii  python          2.5.2-3                  An interactive high-level object-o
ii  python-central  0.6.8                    register and build utility for Pyt
ii  zlib1g          1:1.2.3.3.dfsg-12        compression library - runtime

python-pycurl recommends no packages.

Versions of packages python-pycurl suggests:
pn  libcurl4-gnutls-dev           <none>     (no description available)
pn  python-pycurl-dbg             <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 7.19.0-1

Hello,

On Tue, Jul 6, 2010 at 14:57, gomes <[email protected]> wrote:
> Package: python-pycurl
> Version: 7.18.2-1
> Severity: important
>
>
> When calling:
>
>            curl.setopt(HTTPAUTH, HTTPAUTH_NTLM)

Please next time report a complete script to replicate your problem, like:

import pycurl
curl = pycurl.Curl()
curl.setopt(pycurl.HTTPAUTH, pycurl.HTTPAUTH_NTLM)

(also it seems to imply you're using "from pycurl import *" that's
bad, unless you're selectively import stuff from pycurl module).

> The exception below does not describe the problem (not even when following 
> the suggestions from Erich Schubert
> on bug 433941. The exception is:
>
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "siebel.py", line 37, in __init__
>    curl.setopt(HTTPAUTH, HTTPAUTH_NTLM)
> pycurl.error: (2, '')

I can replicate on stable.

> Not sure if related, but I found the following in pycurl's ChangeLog which is 
> similarly represents  my issue.
> http://pycurl.sourceforge.net/ChangeLog
>
>        * Use Py_ssize_t where appropriate for Python 2.5 and 64-bit
>          compatibility.  This fixes the problem reported by Aaron
>          Hill, where the exception "pycurl.error: (2, '')" is thrown
>          when calling setopt(pycurl.POSTFIELDS,...) on 64-bit
>          platforms.

No, that's for version 7.16.2.1 , while in stable you have 7.18.2-1,
which is already next.

> It works fine in sid, with the following versions.

and I can verify that too. Given that, I don't think it needs a stable
update, hence I'm closing this bug marking it as fixed in 7.19.0-1 .

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to