[ECODP-dev] New error

John Glover john.glover at okfn.org
Wed Jun 12 08:35:33 UTC 2013


Hi,

Yes, Postgres (libpq specifically in this case) is required for the
psycopg2 Python module.

Regards,
John


On 12 June 2013 08:12, Dimitrios Mexis <dimitrios.mexis at tenforce.com> wrote:

> Postgresql requirement ?
>
>
> On Wed, Jun 12, 2013 at 8:08 AM, Dimitrios Mexis <
> dimitrios.mexis at tenforce.com> wrote:
>
>> ImportError: libpq.so.5: cannot open shared object file: No such file or
>> directory
>> Traceback (most recent call last):
>>   File "/applications/ecodp/users/ecodp/ckan/ecportal/bin/paster", line
>> 9, in <module>
>>     load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
>>   File
>> "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/script/command.py",
>> line 104, in run
>>     invoke(command, command_name, options, args[1:])
>>   File
>> "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/script/command.py",
>> line 143, in invoke
>>     exit_code = runner.run(args)
>>   File
>> "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/script/command.py",
>> line 238, in run
>>     result = self.command()
>>   File
>> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal-release-v1.8.1/ckanext/ecportal/commands.py",
>> line 84, in command
>>     self._load_config()
>>   File
>> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/cli.py",
>> line 83, in _load_config
>>     load_environment(conf.global_conf, conf.local_conf)
>>   File
>> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/environment.py",
>> line 308, in load_environment
>>     engine = sqlalchemy.engine_from_config(config, 'sqlalchemy.',
>> **extras)
>>   File
>> "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/sqlalchemy/engine/__init__.py",
>> line 356, in engine_from_config
>>     return create_engine(url, **opts)
>>   File
>> "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/sqlalchemy/engine/__init__.py",
>> line 338, in create_engine
>>     return strategy.create(*args, **kwargs)
>>   File
>> "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/sqlalchemy/engine/strategies.py",
>> line 64, in create
>>     dbapi = dialect_cls.dbapi(**dbapi_args)
>>   File
>> "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py",
>> line 312, in dbapi
>>     psycopg = __import__('psycopg2')
>>   File
>> "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/psycopg2/__init__.py",
>> line 67, in <module>
>>     from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
>> ImportError: libpq.so.5: cannot open shared object file: No such file or
>> directory
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130612/7aa1b957/attachment.html>


More information about the ecodp-dev mailing list