[PEAK] Problem with DB connection via domain socket

Stephen C. Waterbury golux at comcast.net
Mon Apr 12 18:22:07 EDT 2004


Phillip J. Eby wrote:

> You probably want to change the password field to have:
> 
>     defaultValue = ''
>     emptyOK = True
> 
> in its class body.  Then, you should end up with an empty string as the 
> password instead of None.

Are you referring to the class body of
peak.storage.SQL.GenericSQL_URL.passwd ?

That seemed reasonable, so I made this modification:

-------------------------------------------------
   class GenericSQL_URL(naming.URL.Base):
       [ ... ]

       class passwd(naming.URL.Field):
+         defaultValue = ''
+         emptyOK = True

       class server( ...
-------------------------------------------------

... but I still get the same traceback.
Is that the wrong place?

- Steve




More information about the PEAK mailing list