Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Daniele Varrazzo's latest activity

Wednesday, October 16 2013
186 Error on install psycopg2 in OS X 10.9 mavericks was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 3:41 PM

    Well, the sequence of import is relatively easy:

    psycopg/error_type.c -> psycopg/psycopg.h -> <Python.h> -> pyerrors.h
    

    it's up to you to understand why this d...

  • Daniele Varrazzo
    Daniele Varrazzo commented at 1:49 PM

    Sorry: PyBaseExceptionObject is defined in pyerrors.h.

    $ grep -r PyBaseExceptionObject /usr/include/python2.7
    /usr/include/python2.7/pyerrors.h:} PyBaseExcepti...
  • Daniele Varrazzo
    • State changed from new to invalid
    by Daniele Varrazzo at 9:45 AM

    PyBaseExceptionObject is included in pyerrors.h. If you can't find this file in /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/...

167 Problem with %, (, ) in names of parameters in cursor.execute was updated in psycopg
  • Daniele Varrazzo
    • State changed from open to resolved
    by Daniele Varrazzo at 2:37 PM

    Issue solved by declaring in the docs that %, (, ) are not supported.

173 Return a meaningful message on async connection error was updated in psycopg
  • Daniele Varrazzo
    • State changed from open to resolved
    by Daniele Varrazzo at 2:29 PM

    Fixed in my 2.5 branch, to be released in 2.5.2

Tuesday, October 15 2013
185 connect doesn't support connection URIs was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to invalid
    by Daniele Varrazzo at 10:07 AM

    Psycopg doesn't parse the connection string: it is passed verbatim to the libpq.

    In [3]: psycopg2.connect("postgresql://postgres@localhost:5432/test")
    Out[3]: ...
Monday, October 14 2013
183 DataError when underlying type changes was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 11:15 AM

    Hello Chad,

    the use case for such subclass is fairly restricted, and I think it would be more the hassle to document it than its general usefulness, not to ment...

184 Reason: image not found was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to invalid
    by Daniele Varrazzo at 10:55 AM

    Most definitely it is some library mix-up on your box.

Friday, October 11 2013
183 DataError when underlying type changes was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to invalid
    by Daniele Varrazzo at 10:41 PM

    Caching of the attribute is necessary but it's local to the scope you have registered the composite.

    Avoid using register_composite with global=True: use it on ...

Wednesday, October 02 2013
182 Using with gevent causes segfault was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to resolved
    by Daniele Varrazzo at 4:06 PM

    It's in the exception pickling: I think it's caused by bug #170

    Core was generated by `python gwebapp.py'.
    Program terminated with signal 11, Segmentation faul...