ZMySQLDA connection error when adding
Hello again, I hope not you are tired of my newbie questions already :-) Finally I succeed in adding MySQL functionality to Zope but I can't add a connection. This is the error I get when I try: Error Type: IOError Error Value: [Errno 2] No such file or directory: '/usr/local/Zope-2.3.0-linux2-x86/lib/python/Shared/DC/ZRDB/connectionAdd.dtml Traceback (innermost last): File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.3.0-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/App/special_dtml.py, line 127, in __call__ (Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 479, in __call__ (Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 408, in cook (Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 400, in read (Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 580, in read_raw (Object: manage_addZMySQLConnectionForm) IOError: (see above) Any good ideas ? Regards, -- ************************ Gitte Wange Jensen System Squid Developer MMManager Aps +45 29 72 79 72 gitte@mmmanager.org ************************
Permissions problem ----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org> To: <zope@zope.org> Sent: Wednesday, March 28, 2001 9:08 AM Subject: [Zope] ZMySQLDA connection error when adding
Hello again,
I hope not you are tired of my newbie questions already :-) Finally I succeed in adding MySQL functionality to Zope but I can't add a connection. This is the error I get when I try:
Error Type: IOError Error Value: [Errno 2] No such file or directory:
'/usr/local/Zope-2.3.0-linux2-x86/lib/python/Shared/DC/ZRDB/connectionAdd.dt ml
Traceback (innermost last): File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.3.0-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/App/special_dtml.py, line 127, in __call__ (Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 479, in __call__
(Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 408, in cook
(Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 400, in read
(Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 580, in read_raw
(Object: manage_addZMySQLConnectionForm) IOError: (see above)
Any good ideas ?
Regards,
-- ************************ Gitte Wange Jensen
System Squid Developer MMManager Aps +45 29 72 79 72
gitte@mmmanager.org ************************
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
It says a file is missing ... is that a permissions problem ? I have chowned my entire Zope directory to nobody.nobody but the problem is still there ? What should I look for ? Gitte On 28 Mar 2001 10:15:49 +0100, Phil Harris wrote:
Permissions problem
----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org> To: <zope@zope.org> Sent: Wednesday, March 28, 2001 9:08 AM Subject: [Zope] ZMySQLDA connection error when adding
Hello again,
I hope not you are tired of my newbie questions already :-) Finally I succeed in adding MySQL functionality to Zope but I can't add a connection. This is the error I get when I try:
Error Type: IOError Error Value: [Errno 2] No such file or directory:
'/usr/local/Zope-2.3.0-linux2-x86/lib/python/Shared/DC/ZRDB/connectionAdd.dt ml
Traceback (innermost last): File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.3.0-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/App/special_dtml.py, line 127, in __call__ (Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 479, in __call__
(Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 408, in cook
(Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 400, in read
(Object: manage_addZMySQLConnectionForm) File /usr/local/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 580, in read_raw
(Object: manage_addZMySQLConnectionForm) IOError: (see above)
Any good ideas ?
Regards,
-- ************************ Gitte Wange Jensen
System Squid Developer MMManager Aps +45 29 72 79 72
gitte@mmmanager.org ************************
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ************************ Gitte Wange Jensen System Squid Developer MMManager Aps +45 29 72 79 72 gitte@mmmanager.org ************************
Phil Harris wrote:
Error Type: IOError Error Value: [Errno 2] No such file or directory:
Permissions problem
Actually, I had this problem too, and it turned out the file _didn't_ actually exist. I meant to stick this in the collector. I think the file is in: /lib/python/Shared/DC/ZRDB/dtml or something. I just copied it to where it was supposed to be and everything worked. Maybe you could put this in the collecto? cheers, Chris
On 28 Mar 2001 13:03:12 +0100, Chris Withers wrote:
Phil Harris wrote:
Error Type: IOError Error Value: [Errno 2] No such file or directory:
Permissions problem
Actually, I had this problem too, and it turned out the file _didn't_ actually exist.
I meant to stick this in the collector. I think the file is in: /lib/python/Shared/DC/ZRDB/dtml or something.
I just copied it to where it was supposed to be and everything worked.
Maybe you could put this in the collecto?
cheers,
Chris
Thank you - it worked ! So now I am able to add MySQL connections ... now I just have to find out how Zope works :-) Gitte
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ************************ Gitte Wange Jensen System Squid Developer MMManager Aps +45 29 72 79 72 gitte@mmmanager.org ************************
Gitte Wange wrote:
Thank you - it worked !
So now I am able to add MySQL connections ... now I just have to find out how Zope works :-)
Please can you make sure you post what you did to the collector: http://classic.zope.org:8080/Collector/ cheers, Chris
On 28 Mar 2001 13:28:43 +0100, Chris Withers wrote:
Gitte Wange wrote:
Thank you - it worked !
So now I am able to add MySQL connections ... now I just have to find out how Zope works :-)
Please can you make sure you post what you did to the collector: http://classic.zope.org:8080/Collector/
cheers,
Chris
Anywhere there in particular it should be posted ?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ************************ Gitte Wange Jensen System Squid Developer MMManager Aps +45 29 72 79 72 gitte@mmmanager.org ************************
Poor Gitte. I counted 20 emails between downloading Zope and posting a message saying that everything was working and a mysql connection was working. I don't know if that is the common experience, as I had fewer problems when I recently came back to Zope, but it is pretty bad, nonetheless. We obviously have a ways to go with the usability thing. It is a good thing this list is so responsive. All 20 messages took only about 48 hours. --sam Gitte Wange wrote:
On 28 Mar 2001 13:28:43 +0100, Chris Withers wrote:
Gitte Wange wrote:
Thank you - it worked !
So now I am able to add MySQL connections ... now I just have to find out how Zope works :-)
Please can you make sure you post what you did to the collector: http://classic.zope.org:8080/Collector/
cheers,
Chris
Anywhere there in particular it should be posted ?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ************************ Gitte Wange Jensen
System Squid Developer MMManager Aps +45 29 72 79 72
gitte@mmmanager.org ************************
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ----------------------------------------------- "The language and concepts contained herein are guaranteed not to cause eternal torment in the place where the guy with the horns and pointed stick conducts his business." --Frank Zappa
On Wednesday 28 March 2001 22:22, sam gendler wrote:
Poor Gitte. I counted 20 emails between downloading Zope and posting a message saying that everything was working and a mysql connection was working. I don't know if that is the common experience, as I had fewer problems when I recently came back to Zope, but it is pretty bad, nonetheless. We obviously have a ways to go with the usability thing. It is a good thing this list is so responsive. All 20 messages took only about 48 hours.
--sam
i think MySQL has something to do with the added latency. i see that MySql users do see a lot of problems connecting to zope. but there are threads that recorded the successful attempt of connecting to MySQL. maybe the successful user can compile that ro a how-to. i use postgresql, and ZPyGreSDA, and PoPy/ZPoPy has been straight forward enough. my .02 -- -----------8<------------------- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine http://www.zope.org/members/kedai How can I laugh tomorrow, if i can't even smile today.
I appreciate all the help I - so far - have gotten from this list. When you start using a new system as complex as Zope, there will always be some start problems. I still have a lot of questions, but I am not sure people on this list would like to see more postings from me.ΓΈ Have you ever concidered making a newbie-list ? Regards, Gitte On 28 Mar 2001 06:22:10 -0800, sam gendler wrote:
Poor Gitte. I counted 20 emails between downloading Zope and posting a message saying that everything was working and a mysql connection was working. I don't know if that is the common experience, as I had fewer problems when I recently came back to Zope, but it is pretty bad, nonetheless. We obviously have a ways to go with the usability thing. It is a good thing this list is so responsive. All 20 messages took only about 48 hours.
--sam
Gitte Wange wrote:
On 28 Mar 2001 13:28:43 +0100, Chris Withers wrote:
Gitte Wange wrote:
Thank you - it worked !
So now I am able to add MySQL connections ... now I just have to find out how Zope works :-)
Please can you make sure you post what you did to the collector: http://classic.zope.org:8080/Collector/
cheers,
Chris
Anywhere there in particular it should be posted ?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ************************ Gitte Wange Jensen
System Squid Developer MMManager Aps +45 29 72 79 72
gitte@mmmanager.org ************************
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ----------------------------------------------- "The language and concepts contained herein are guaranteed not to cause eternal torment in the place where the guy with the horns and pointed stick conducts his business." --Frank Zappa
Gitte Wange wrote:
Have you ever concidered making a newbie-list ?
zope@zope.org is kind of a newbie list. The majority of questions posted are from newbie's with additional problems from more advanced users. I don't think anyone minds seeing your questions, Gitte, although I think you would have found some of them already answered if you had searched the mailing list. I just sent you seom advice for newbie's, which might make your efforts a little easier from now on (assuming you follow my advice, anyway ;-) ) --sam
Regards, Gitte
On 28 Mar 2001 06:22:10 -0800, sam gendler wrote:
Poor Gitte. I counted 20 emails between downloading Zope and posting a message saying that everything was working and a mysql connection was working. I don't know if that is the common experience, as I had fewer problems when I recently came back to Zope, but it is pretty bad, nonetheless. We obviously have a ways to go with the usability thing. It is a good thing this list is so responsive. All 20 messages took only about 48 hours.
--sam
Gitte Wange wrote:
On 28 Mar 2001 13:28:43 +0100, Chris Withers wrote:
Gitte Wange wrote:
Thank you - it worked !
So now I am able to add MySQL connections ... now I just have to find out how Zope works :-)
Please can you make sure you post what you did to the collector: http://classic.zope.org:8080/Collector/
cheers,
Chris
Anywhere there in particular it should be posted ?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ************************ Gitte Wange Jensen
System Squid Developer MMManager Aps +45 29 72 79 72
gitte@mmmanager.org ************************
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ----------------------------------------------- "The language and concepts contained herein are guaranteed not to cause eternal torment in the place where the guy with the horns and pointed stick conducts his business." --Frank Zappa
-- ------------------------------------------------------- Yea, I walk through the valley of the shadow of death, but I fear no evil, for I am the baddest mother f'er in the valley. --Edward Abbey
participants (7)
-
bak -
Chris Withers -
Gitte Wange -
Gitte Wange -
Phil Harris -
sam gendler -
Steve Drees