Dear Oleg Broytmann,

     thank you
     how to upgrade?
     i tried the easy_install.exe without getting 0.7.1
     

Tuesday, June 6, 2006, 11:46:03 AM, you wrote:

OB> On Tue, Jun 06, 2006 at 11:30:02AM +0200, Ivan Horvath wrote:
>>   but it makes an assertionerror requesting to specify forceDBName
>>   = True argument for every column.

OB> col.py:141:

OB>         if not forceDBName:
OB>             assert sqlbuilder.sqlIdentifier(name), 'Name must
OB> be SQL-safe (letters, numbers, underscores): %s (or use
OB> forceDBName=True)' \
OB>                % repr(name)

OB>    The assertion error means your column names are not SQL identifiers.
OB> SQLBuioder consider a name a valid identifier:

OB> safeSQLRE = re.compile(r'^[a-zA-Z_][a-zA-Z0-9_\.]*$')
OB> def sqlIdentifier(obj):
OB>     return type(obj) is type("") and not not safeSQLRE.search(obj.strip())

OB>    safeSQLRE was fixed after 0.7.0 so you probably need upgrade. 0.7.1
OB> beta1 was released two weeks ago.

OB> Oleg.



-- 
Best regards,
 Ivan Horvath
 Chief Programmer

 Alcatel ISD
 PMS 2000 Product Team

 H-1116, Budapest
 Kondorfa u. 10.
 Tel.: +36 1 209 9546
 Fax.: +36 1 209 9599
 Mobil: +36 30 257 0235
 VOIP: +49 511 676 478010
 mailto:[EMAIL PROTECTED]

Anyone who has never made a mistake has never tried anything new.

/Albert Einstein/ 



_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to