Hello everyone.
I started a working TG application after upgrading to FC6. I am using
the trunk and virtual-python to set up a work environment. The problem
is that an incoming argument string is in unicode and the SO select now
fails :
l = model.Pad.byName(library)
To fix ( or rather mask out ) the problem I simply added:
library=library.encode('ascii')
Of course, I'll probably have to go to every method and do the same
and this naturally sucks!
I know I could change all my StringCol to UnicodeCol as most threads
suggest but I am not sure how this will affect existing MYSQL tables.
Does anyone have some advice? I'd appreciate it!
Nicky
---
[EMAIL PROTECTED] BIG-Pagination]$ /home/nicky/TG/svn/bin/tg-admin info
TurboGears Complete Version Information
TurboGears requires:
* TurboGears 1.1a0
* nose 0.9.0
* configobj 4.3.2
* RuleDispatch 0.5a0.dev-r2115
* setuptools 0.6c3
* FormEncode 0.6
* cElementTree 1.0.5-20051216
* PasteScript 1.0
* elementtree 1.2.6-20050316
* simplejson 1.3
* SQLObject 0.7.2b1
* CherryPy 2.2.1
* Genshi 0.3.4
* TurboKid 0.9.9
* TurboCheetah 0.9.5
* TurboJson 0.9.9
* PyProtocols 1.0a0
* Cheetah 1.0
* PasteDeploy 0.9.6
* Paste 0.9.8.1
* FormEncode 0.6
* kid 0.9.3
Identity Providers
* sqlobject (TurboGears 1.1a0)
* sqlalchemy (TurboGears 1.1a0)
tg-admin Commands
* info (TurboGears 1.1a0)
* shell (TurboGears 1.1a0)
* quickstart (TurboGears 1.1a0)
* update (TurboGears 1.1a0)
* sql (TurboGears 1.1a0)
* i18n (TurboGears 1.1a0)
* toolbox (TurboGears 1.1a0)
Visit Managers
* sqlobject (TurboGears 1.1a0)
* sqlalchemy (TurboGears 1.1a0)
Template Engines
* genshi-markup (Genshi 0.3.4)
* genshi-text (Genshi 0.3.4)
* genshi (Genshi 0.3.4)
* json (TurboJson 0.9.9)
* cheetah (TurboCheetah 0.9.5)
* kid (TurboKid 0.9.9)
Widget Packages
* selectshuttle (Select-Shuttle 1.0)
TurboGears Extensions
* visit (TurboGears 1.1a0)
* identity (TurboGears 1.1a0)
* turbomail (TurboMail 2.0)
* fastdata (TGFastData 0.9a6)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---