Search the web
Sign In
New User? Sign Up
zms-developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Global Message is not global   Message List  
Reply | Forward Message #3290 of 3474 |
Problem with SQL-Datasource

Hello

i have a problem inserting SQL-Datasource within special object:

i configured Z MySQL Database Connection successfully
but when i add SQL-Datasource via ZMI always an error comes up:

Error Type: AttributeError
Error Value: Name

the object itself is inserted in the system

ZMS: ZMS 2.10.5-24 (Build #129f)
ZOPE: (Zope 2.10.4-final, python 2.4.4, linux2)
PYTHON: 2.4.4 (#7, Sep 5 2008, 14:29:18) [GCC 4.2.1 (SUSE Linux)]
ZMySQLDA-3.0
MySQL Version: 5.0.45

Traceback (innermost last):

      *  Module ZPublisher.Publish, line 119, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 42, in call_object
    * Module App.special_dtml, line 65, in __call__
    * Module DocumentTemplate.DT_String, line 476, in __call__
    * Module DocumentTemplate.DT_Let, line 75, in render
    * Module DocumentTemplate.DT_Util, line 196, in eval
      __traceback_info__: getEntities
    * Module <string>, line 0, in ?
    * Module Products.zms.zmssqldb, line 380, in getEntities
    * Module Products.ZMySQLDA.DABase, line 130, in __getattr__


Does anybody has a tipp?

regards, Th. Weber



Tue Nov 11, 2008 8:27 pm

frost_helm
Offline Offline
Send Email Send Email

Forward
Message #3290 of 3474 |
Expand Messages Author Sort by Date

The so called 'Global Message' from ZMS configuration is not global in master-client implementations. It is shown only within the ZMS node where it was set,...
Peter Zechmeister
ineverwillus...
Offline Send Email
Nov 11, 2008
9:15 am

Hello i have a problem inserting SQL-Datasource within special object: i configured Z MySQL Database Connection successfully but when i add SQL-Datasource via...
Thorsten Weber
frost_helm
Offline Send Email
Nov 11, 2008
8:27 pm

Hello, Using the zmssqldb object within a container content object class is no problem. But, please use the former ZMySQLDA-Version 2.0.8; only this will work...
Dr. Frank Hoffmann
dr_frank_hof...
Offline Send Email
Nov 12, 2008
7:03 pm

Hello Mr. Hoffmann, thank you for your hints ... the half way luck was on my side ;) as a first step I tried the former ZMySQLDA Version change my.cnf and...
Thorsten Weber
frost_helm
Offline Send Email
Nov 12, 2008
9:33 pm

Hello Mister Hoffmann, everything is fine now! It works great ! :) It was my own fault - sorry! The error was produced by duplicate ids (a hidden object in ...
Thorsten Weber
frost_helm
Offline Send Email
Nov 14, 2008
10:53 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help