Philip I update to PasteScript but PasteScript is still failing when I run --reload. What seems to work is commenting out the If statement for Windows:
----------------------------------------------- if sys.platform == "win32": args[0] = '"%s"' % args[0] ----------------------------------------------- I haven't looked at the code closely so I'm not sure what the consequences are of commenting out this code but everything seems to work the way that it did with Python 2.4. Rob J On Apr 2, 3:15 pm, Philip Jenvey <[EMAIL PROTECTED]> wrote: > On Apr 2, 2007, at 12:05 PM, RobJ wrote: > > > > > Every time I run the following paster command: > > > paster serve --reload development.ini > > > I recive this traceback error: > > > erve.py", line 351, in restart_with_monitor > > args[0] = '"%s"' % arg > > NameError: global name 'arg' is not defined > > > Has anyone enconterd this ? I am using Windows XP and Python 2.5 with > > version 9.4.1 any help would be apreciated. > > This was just reported: > > http://trac.pythonpaste.org/pythonpaste/ticket/169 > > and it's fixed in trunk. easy_install -U PasteScript==dev will solve it. > > Hopefully Ian will release 1.3.2 pretty soon. > > -- > Philip Jenvey --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
