Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Zope and psycopg [Solved]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
useche
n00b
n00b
User avatar
Posts: 58
Joined: Wed Feb 25, 2004 11:21 pm
Location: Caracas, Venezuela
Contact:
Contact useche
Website

Zope and psycopg [Solved]

  • Quote

Post by useche » Tue Mar 14, 2006 1:03 pm

Hi,

I just want to get installed the net-zope/zpsycopgda with my zope installation. I emerged zpsycozope and all went fine. After that I obtain in zope products: ZPsycopgDA and looks fine. The problem comes when I create a conection with ZPsycopgDA, it raise the next error:

Code: Select all

Site Error

An error was encountered while publishing this resource.

Error Type: ImportError
Error Value: psycopg version mismatch: 1.1.18
In the zope log we have:

Code: Select all

2006-03-13T11:54:23 ERROR Zope Could not import Products.ZPsycopgDA
Traceback (most recent call last):
  File "/usr/lib/zope-2.8.4/lib/python/OFS/Application.py", line 695, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/var/lib/zope/zope/Products/ZPsycopgDA/__init__.py", line 92, in ?
    import DA
  File "/var/lib/zope/zope/Products/ZPsycopgDA/DA.py", line 93, in ?
    from db import DB
  File "/var/lib/zope/zope/Products/ZPsycopgDA/db.py", line 99, in ?
    import psycopg
ImportError: No module named psycopg
I dont know what happen. I test with psycopg-1.1.21 but still nothing.

Thanks in advance.
Last edited by useche on Sun Apr 09, 2006 12:44 am, edited 1 time in total.
Luis Useche
luis@gia.usb.ve | useche@gmail.com
Linux User: #355591
Top
useche
n00b
n00b
User avatar
Posts: 58
Joined: Wed Feb 25, 2004 11:21 pm
Location: Caracas, Venezuela
Contact:
Contact useche
Website

  • Quote

Post by useche » Sun Apr 09, 2006 12:43 am

I solved my problem.

The solution was emerge both net-zope/zpsycopgda and dev-python/psycopg on 1.1.15 version.

Bye.
Luis Useche
luis@gia.usb.ve | useche@gmail.com
Linux User: #355591
Top
bocacorazon
n00b
n00b
Posts: 31
Joined: Fri May 07, 2004 12:56 am

Yep, it works

  • Quote

Post by bocacorazon » Thu Jun 29, 2006 7:59 pm

Doing an emerge ="psycopg-1.1.15" fixed the problem for me as well.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy