> I am trying to run some script like the one below: > > #!/bin/sh > /home/sanjay/python2.5/bin/tg-admin shell << EOF > print "Hi" > EOF > > I am getting error: > TypeError: decode() argument 1 must be string, not None > > It was working properly with Python 2.4 and TG 1.0.2.2. > > Needing help.
I am stuck on how to write a database initialization script using "tg- admin shell" like the above. This is a common requirement and I was using it in all my TG projects. But since I upgraded to 1.0.4.4, I am facing this problem. I am able to manage with roundabout ways, but curious to know why tg-admin shell is not working for me. thanks Sanjay --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

