Hello, I am afraid I can't give a helpful answer but I'll tune in anyway. ;)
On 4/28/07, Robert Leftwich <[EMAIL PROTECTED]> wrote: > > > I'm just attempting an upgrade to 0.9.5 and a lot of pages starting > failing with > "unicode' object has no attribute 'is_file_component'" errors. This looks > to be > happening because the controller params are now all being sent as unicode > objects and in most cases I'm using at least one param to dynamically > generate > the Myghty template name I want to render and these names are now unicode > objects instead of strings, which Myghty does not seem to handle. Hmm. The str class doesn't have 'is_file_component' either, does it? My app's running on 0.9.5 just fine but it doesn't use Myghty. I note in the internationalisation document it mentions using a > request_settings > in the config, which I *don't* have, as the way I read it, you only need > to use > this dict to turn the coercion on, implying it is off by default. > > Is there a way to stop this automatic coercion of these params to unicode > or do > I need to tackle this problem in some other way? If you want to turn it off I believe you need to dig into Paste, not Pylons because it happens there IIRC. Max. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---