Thanks Christian, I've deinstalled Python 3.1 and installed Python 2.6. It's now working :-) So now I can start experimenting with svn hooks.
Markus On Jun 10, 7:51 pm, Christian Hammond <chip...@chipx86.com> wrote: > Hi Markus, > > Python 3.x is very different from 2.x. We don't support it yet (nor > does most of our dependencies). You should install 2.6. > > Christian > > > > On Thursday, June 10, 2010, LeChuck <m...@silverseed.de> wrote: > > Hi, > > > I'm using Windows 7 and I wanted to experiment with postreview.py > > (reviewboard server is already up and running in an ubuntu > > virtualbox). So I've installed Python 3.1.2 for Windows. But now when > > I try to execute "python postreview" I'm getting a syntax error in > > line 213 > > File "postreview.py", line 213 > > except APIError, e: > > > A quick seach with google brought up this syntax for python exception > > catching: > > except APIError as e: > > > I'm not familiar with Python but I guess I'm either using the wrong > > Python version, the wrong script or something else is wrong here. > > > Has anyone a suggestion on how to get this script running on Windows? > > > Thanks, > > Markus > > > BTW: I've downloaded RBTools-0.2.tar.gz from 18-Apr-2010 23:49 > > I've also tried to correct(?) the syntax by changing "except APIError, > > e" to "except APIError as e" but then other syntax errors follow (e.g > > line 276). > > > -- > > Want to help the Review Board project? Donate today > > athttp://www.reviewboard.org/donate/ > > Happy user? Let us know athttp://www.reviewboard.org/users/ > > -~----------~----~----~----~------~----~------~--~--- > > To unsubscribe from this group, send email to > > reviewboard+unsubscr...@googlegroups.com > > For more options, visit this group > > athttp://groups.google.com/group/reviewboard?hl=en > > -- > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en