#2286: SyntaxError in catwalk/tg2/_controller.py (missing closing parenthesis)
------------------------+---------------------------------------------------
 Reporter:  brainsik    |       Owner:        
     Type:  defect      |      Status:  new   
 Priority:  normal      |   Milestone:  2.0rc1
Component:  TurboGears  |     Version:  2.0b7 
 Severity:  normal      |    Keywords:        
------------------------+---------------------------------------------------
 To reproduce:
   1. Create a fresh virtualenv for 2.0b7
     1. {{{virtualenv tg2b7}}}
     1. {{{. tg2b7/bin/activate}}}
     1. {{{easy_install -i
 http://www.turbogears.org/2.0/downloads/current/index tg.devtools}}}
   1. Create a new quickstart project
     * paster quickstart (yes to auth)
   1. {{{cd}}} into the project and run {{{python setup.py develop}}}

 You'll get a !SyntaxError in the Catwalk egg:

 {{{
 Searching for Catwalk
 Reading http://pypi.python.org/simple/Catwalk/
 Reading http://code.google.com/p/tgtools/wiki/Catwalk
 Best match: Catwalk 2.0.2
 Downloading
 
http://pypi.python.org/packages/2.5/C/Catwalk/Catwalk-2.0.2-py2.5.egg#md5=d8869ec105e0890e5e47bed5d24f7ad2
 Processing Catwalk-2.0.2-py2.5.egg
 creating /Volumes/Users/brainsik/src/venv/tg2b7/lib/python2.5/site-
 packages/Catwalk-2.0.2-py2.5.egg
 Extracting Catwalk-2.0.2-py2.5.egg to
 /Volumes/Users/brainsik/src/venv/tg2b7/lib/python2.5/site-packages
   File "/Volumes/Users/brainsik/src/venv/tg2b7/lib/python2.5/site-
 packages/Catwalk-2.0.2-py2.5.egg/catwalk/tg2/_controller.py", line 162
     super(Catwalk, self).__init__(session, *args, **kwargs)
         ^
 SyntaxError: invalid syntax

 Adding Catwalk 2.0.2 to easy-install.pth file
 }}}

 Looks like this is because the line 161 (the one above the error) is
 missing a closing parenthesis:

 {{{
     161         self.model = self.catwalkModelType(sessions
     162         super(Catwalk, self).__init__(session, *args, **kwargs)
 }}}

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2286>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to