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.

Christian Bachmaier's latest activity

Tuesday, August 26 2014
201 Python freezed binary cannot use psycopg.so was updated in psycopg
  • Christian Bachmaier
    Christian Bachmaier commented at 4:15 PM

    Have another test: I suspect if _psycopg.so is in the same directory of the executable you don't even need the sys.path hack, but I may be wrong.

    Unfortunatel...

  • Christian Bachmaier
    Christian Bachmaier commented at 3:31 PM

    Daniele, thanks.

    Your code sys.path Manipulation works with the version from

    cd /scratch
    git clone https://github.com/dvarazzo/psycopg -b freeze
    cd psycopg
    pyth...

Saturday, May 17 2014
201 Python freezed binary cannot use psycopg.so was updated in psycopg
  • Christian Bachmaier
    Christian Bachmaier commented at 5:18 AM

    As far as I can tell, this is exactly as needed. Using debug outputs like

    print(__path__)
    
    from pkgutil import extend_path
    __path__ = extend_path(__path__, __n...
  • Christian Bachmaier
    Christian Bachmaier edited a comment at 5:20 AM

    As far as I can tell, this is exactly as needed. Using debug outputs like

    print(__path__)
    
    from pkgutil import extend_path
    __path__ = extend_path(__path__, __n...
Friday, May 16 2014
201 Python freezed binary cannot use psycopg.so was updated in psycopg
  • Christian Bachmaier
    Christian Bachmaier commented at 9:07 PM

    Adding

    from pkgutil import extend_path
    __path__ = extend_path(__path__, __name__)
    

    to the top of psycopg2/__init__.py resolves the problem and the frozen binar...

Wednesday, May 14 2014
201 Python freezed binary cannot use psycopg.so was updated in psycopg
  • Christian Bachmaier
    Christian Bachmaier commented at 6:40 AM

    Adding

    from pkgutil import extend_path
    __path__ = extend_path(__path__, __name__)
    

    to the top of psycopg2/__init__.py resolves the problem and the frozen binar...

Tuesday, March 25 2014
201 Python freezed binary cannot use psycopg.so was updated in psycopg