Re: [Proiektor] Setup Dependencies
At 09:49 AM 6/7/2001 -0500, Stephan Richter wrote:
or Zope <proiektor.imail.iuveno-net.de> List-Unsubscribe: <http://imail.iuveno-net.de/mailman/listinfo/proiektor>, <mailto:proiektor-request@imail.iuveno-net.de?subject=unsubscribe> List-Archive: <http://imail.iuveno-net.de/pipermail/proiektor/> Date: Thu, 07 Jun 2001 09:49:56 -0500
At 08:14 AM 6/7/01, Sherwood Robinson wrote:
Hello I downloaded 0.4.0 and have started to install it. I found that on a new Zope there are many dependencies that need to be installed. One that particularly has me slightly unsure what I am looking for is the Zope PostgreSQLDA requirement. Yeah, there are some requirements. But I feel better by using standard Zope Products. I do not have to maintain as much code. ;-)
I have found 2 Zope PostgreSQL type objects ZPyGreSQLDA and ZPoPyDA I developed it for ZPyGreSQLDA. ZPoPyDA works differently with booleans.
My first Question is one of these the ProstgreSQL DA object I need? and please Identify it.
ZPyGreSQLDA
The second question I must ask is has anyone set up this to work on a Windows Environment? Oh, I do not know of anyone. It works under Linux and Solaris so far.
I have tried to compile with CYGWIN but neither are doing the job. I have compiled PostGreSQL with CYGWIN before, but I do not know about the ZPyGres and ZPyGreSQLDA. Has anyone else more experience? It would be cool, if we could port it to Windows. Then we could offer Offline functionality!
CygWin has PostGreSQL pre-compiled for it now so that wasn't the problem. I got ZPyGreSQLDA compiled but it is not working correctly. I am getting this error when it tries to load the product Traceback (innermost last): File "C:\Zopes\swlw001\lib\python\OFS\Application.py", line 528, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\__init__.py", line 89, in ? import sys, os, Globals, DA File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\DA.py", line 91, in ? from db import DB File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\db.py", line 89, in ? import _pg, regex, sys, types ImportError: No module named _pg I also compiled it with Phython 2.1 because that is what is in CygWin and I just wanted to see if it would work. But even though I compiled the ZPyGreSQLDA and placed it in the correct folder I still get this error. I am going to cross post this into the zope@zope.org list also. SR
Regards, Stephan
Stephan Richter iuveno AG - Technical Design and Implementation Technical Design and Development
_______________________________________________ Proiektor mailing list Proiektor@imail.iuveno-net.de http://imail.iuveno-net.de/mailman/listinfo/proiektor
---------------------------------------------------- Sherwood Robinson Hostmaster The Free Lance-Star/Internet Department srobinson@fredericksburg.com http://www.fredericksburg.com 616 Amelia St. Fredericksburg, VA 22401 540-374-5000 ext. 5657
Traceback (innermost last): File "C:\Zopes\swlw001\lib\python\OFS\Application.py", line 528, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\__init__.py", line 89, in ? import sys, os, Globals, DA File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\DA.py", line 91, in ? from db import DB File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\db.py", line 89, in ? import _pg, regex, sys, types ImportError: No module named _pg
I also compiled it with Phython 2.1 because that is what is in CygWin and I just wanted to see if it would work. But even though I compiled the ZPyGreSQLDA and placed it in the correct folder I still get this error.
Did you compile PyGreSQL? Or was it part of the ZPyGreSQLDA product? _pg is the main module of PyGreSQL. This module and some other files must be in the proper Python Lib directory, in order to work. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management
That was for the ZPyGreSWLDA Product PostGreSQL came pre-compiled for with cygwin. SR At 04:21 PM 6/7/2001 -0500, Stephan Richter wrote:
Traceback (innermost last): File "C:\Zopes\swlw001\lib\python\OFS\Application.py", line 528, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\__init__.py", line 89, in ? import sys, os, Globals, DA File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\DA.py", line 91, in ? from db import DB File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\db.py", line 89, in ? import _pg, regex, sys, types ImportError: No module named _pg
I also compiled it with Phython 2.1 because that is what is in CygWin and I just wanted to see if it would work. But even though I compiled the ZPyGreSQLDA and placed it in the correct folder I still get this error.
Did you compile PyGreSQL? Or was it part of the ZPyGreSQLDA product? _pg is the main module of PyGreSQL. This module and some other files must be in the proper Python Lib directory, in order to work.
Regards, Stephan
-- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development & Technical Project Management
---------------------------------------------------- Sherwood Robinson Hostmaster The Free Lance-Star/Internet Department srobinson@fredericksburg.com http://www.fredericksburg.com 616 Amelia St. Fredericksburg, VA 22401 540-374-5000 ext. 5657
At 04:21 PM 6/7/2001 -0500, Stephan Richter wrote:
Traceback (innermost last): File "C:\Zopes\swlw001\lib\python\OFS\Application.py", line 528, in import_products product=__import__(pname, global_dict, global_dict, silly) File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\__init__.py", line 89, in ? import sys, os, Globals, DA File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\DA.py", line 91, in ? from db import DB File "C:\Zopes\swlw001\lib\python\Products\ZPyGreSQLDA\db.py", line 89, in ? import _pg, regex, sys, types ImportError: No module named _pg
I also compiled it with Phython 2.1 because that is what is in CygWin and I just wanted to see if it would work. But even though I compiled the ZPyGreSQLDA and placed it in the correct folder I still get this error.
Did you compile PyGreSQL? Or was it part of the ZPyGreSQLDA product? _pg is the main module of PyGreSQL. This module and some other files must be in the proper Python Lib directory, in order to work.
The only _pg anything I can find on my harddrive is the _pgmodule.dll that I created when I compiled the PyGreSQLDA.
Regards, Stephan
-- Stephan Richter CBU - Physics and Chemistry Student
Web2k - Web Design/Development & Technical Project Management
---------------------------------------------------- Sherwood Robinson Hostmaster The Free Lance-Star/Internet Department srobinson@fredericksburg.com http://www.fredericksburg.com 616 Amelia St. Fredericksburg, VA 22401 540-374-5000 ext. 5657
The only _pg anything I can find on my harddrive is the _pgmodule.dll that I created when I compiled the PyGreSQLDA.
Ok, this file contains _pg. Now, I think it is not in the correct Python directory. No clue, where it must go though. Regards, Stephan Stephan Richter iuveno AG - Technical Design and Implementation Technical Design and Development
You lost me with this one? Did you attach a file and it didn't show up? or modify a zip? At 12:11 PM 6/8/2001 -0500, Stephan Richter wrote:
The only _pg anything I can find on my harddrive is the _pgmodule.dll that I created when I compiled the PyGreSQLDA.
Ok, this file contains _pg. Now, I think it is not in the correct Python directory. No clue, where it must go though.
Regards, Stephan
Stephan Richter iuveno AG - Technical Design and Implementation Technical Design and Development
---------------------------------------------------- Sherwood Robinson Hostmaster The Free Lance-Star/Internet Department srobinson@fredericksburg.com http://www.fredericksburg.com 616 Amelia St. Fredericksburg, VA 22401 540-374-5000 ext. 5657
participants (3)
-
Sherwood Robinson -
Stephan Richter -
Stephan Richter