Hum, I think this is official python.

(python(x,y) is just packaging a lot of python install into a one .msi.

And under linux I use the one given by apt-get install under ubuntu 8.10.

That is a 2.5.2

Perhaps you still use older python than 2.5.0?


>From python doc:

Exceptions <> ¶

Exceptions raised in the child process, before the new program has started to 
execute, will be re-raised in the parent. Additionally, the exception object 
will have one extra attribute called child_traceback, which is a string 
containing traceback information from the childs point of view.

The most common exception raised is  
<> OSError. 
This occurs, for example, when trying to execute a non-existent file. 
Applications should prepare for  
<> OSError 

A  <> 
ValueError will be raised if  
<> Popen is 
called with invalid arguments.

check_call() will raise CalledProcessError, if the called process returns a 
non-zero return code.

(So Raise WindowsError: under windows…)

U sure you don’t get this kind of exception ?_?

Perhaps try to rename to a dummy command that does not exist on your system. 
It’s crazy you don’t get the exception!



De : [] De la 
part de Christian Hammond
Envoyé : vendredi 20 mars 2009 23:02
À :
Objet : Re: Cleartool missing + Svn access issue ?


We'll have to do the try/catch method I suppose. I don't know why you'd be 
getting the OSError below. There's something clearly different between the 
subprocess implementations we're using. We officially are supporting the 
version from, so it's something in the one you're using.

As for .reviewboardrc, you can create a file with that name just fine on 
Windows. I just verified it. What are you seeing that' preventing it?


Christian Hammond -
Review Board -
VMware, Inc. -

On Fri, Mar 20, 2009 at 1:58 PM, Laurent Dufrechou 
<> wrote:

By the way .reviewboardrc for the filename of config name is not good for 
portability because under windows you can't '.reviewboardrc'
It absolutely want somthin like "xxxx.yy" or "xxxx" :(
perhaps alowing a second name for windows could be a good idea too.

somethong like reviewboardrc.conf.

If you want I can modify the script to work under windows (with .conf  + try 
catch for subprocess) and send it back to you.

2009/3/20 Laurent Dufrechou <>


More like an active state like:

I think this is more because of i'm under vista business SP1.
I've run in same bug under ipython wednesday.
A subprocess couldn't be called due to UAC (other issue but related to 
subprocess) and it raised Windows Error.
So seems subprocess rise this sort of error when it see that the subprocess 
call exist with failure.

Perhpas more related to Vista vs XP?


2009/3/20 Christian Hammond <>

post-review doesn't require clearcase, and the code that was being run there is 
the test for whether or not you had it. What should have happened is that we'd 
see the failure (as a return code, not an exception) and then we'd just 
silently skip it. The thing is, on your Windows Python install for whatever 
reason, we're getting the exception instead of the return code.

We can definitely do a try/except around the subprocess.Popen call, and then 
just fake an error return code. I'm just wondering why this is happening in the 
first place on your system, since I know many other people use post-review on 
Windows and haven't complained about it.

When you say the python(x,y) distribution, do you mean specifically the Python 
installer on, or are you using something like ActiveState's Python 


Christian Hammond -
Review Board -
VMware, Inc. -

On Fri, Mar 20, 2009 at 1:24 PM, Laurent Dufrechou 
<> wrote:

python -> from python(x,y) distribution. this is a python 2.5.2.
Json as been installed from setuptools.

The fact is as I don't have clearcase on my computer, it could not detetc the 
tool, so it should warn the user that it could'nt do the test I think.
This is not related to python, but more dur to the fact taht my windows clinet 
knows nothing about clearcase.
(you can catch it with try: except WindowsError: but then I don't now how to 
says there was a failure, perhpas raisng another exeption and cathcing it in 
higher level?)

I will definitvely read the doc, and setup a property for svn.

will come after some tries.



2009/3/20 Christian Hammond <>

The .reviewboardrc is needed for specifying which server to use, but really 
this should be done through a property on the SVN server. See the docs in the 
script for details on setting this up.

However, .reviewboardrc isn't related to this. The problem is that we're 
attempting to execute the clearcase tool in order to see if 1) it's available 
and 2) this is a clearcase repository. We do these scans with lots of tools. 
What's odd about this one is that we're actually getting an error back that we 
don't expect. The call we use *should* return an error code, not an exception.

Where did you install your Python from?


Christian Hammond -
Review Board -
VMware, Inc. -

On Fri, Mar 20, 2009 at 12:29 PM, Laurent Dufrechou 
<> wrote:

It means "File not found"
By the way taking  a look  @ python script I've seen that it look after a 
.reviewboardrc file.

the fact is i use the script on windows pc client that is not the server. So 
perhaps someone could say me where i can find this file that must me configured 
I think?
Sorry I fall in all the newbies trap.... 

2009/3/20 Christian Hammond <>


I imagine we're trying to detect if it's a clearcase repository and something 
with the locale is causing us to fail incorrectly. Possibly a locale-related 
issue. What does "Le fichier spÚcifiÚ est introuvable" translate to in English?


Christian Hammond -
Review Board -
VMware, Inc. -

On Fri, Mar 20, 2009 at 10:07 AM, Laurent Dufréchou 
<> wrote:

Hum yeah...
I've set up a svn repos in the web interface.
But I access it usually via svn://

(I never heard of Clear Case SCM until now :) )

> -----Message d'origine-----
> De : []
> De la part de Bartlomiej Celary
> Envoyé : vendredi 20 mars 2009 14:33
> À :
> Objet : Re: Cleartool missing + Svn access issue ?

> Are you using a Clear Case SCM? Cleartool is the tool needed to manage
> this kind of repo.
> If not that means the post-review gives a false positive for a
> clearcase repo instead of detecting subversion (I presume this is what
> you actually need). Are you sure you are in a subversion repository?
> Bartek
> 2009/3/20 <>:
> >
> > Hello ,
> > in my quest to make reviewboard i've got these issues:
> > 1)using under windows got this:
> >>>> cleartool pwv -short
> > Traceback (most recent call last):
> >  File "C:\Users\ldufrechou\Desktop\", line 2312, in
> > <module>
> >    main(sys.argv[1:])
> >  File "C:\Users\ldufrechou\Desktop\", line 2253, in
> > main
> >    repository_info, tool = determine_client()
> >  File "C:\Users\ldufrechou\Desktop\", line 2205, in
> > determine_client
> >    repository_info = tool.get_repository_info()
> >  File "C:\Users\ldufrechou\Desktop\", line 744, in
> > get_repository_info
> >    self.viewinfo = execute(["cleartool", "pwv", "-short"])
> >  File "C:\Users\ldufrechou\Desktop\", line 1888, in
> > execute
> >    env=env)
> >  File "C:\python25\lib\", line 594, in __init__
> >    errread, errwrite)
> >  File "C:\python25\lib\", line 816, in _execute_child
> >    startupinfo)
> > WindowsError: [Error 2] Le fichier spÚcifiÚ est introuvable
> >
> > It don't know where is cleartool and I also don't get any idea too.
> > Do I missed to install something? Looking on google I've something
> > related to rational rose....
> >
> > 2) I've posted a review directly via the web interface giving a .diff
> > file.
> > Clicking on view diff, I get a blank page.
> > I suspect that review board could not connect to svn repos.
> > How can I check communication? Is there any log somewhere to see
> > authentication failure?
> > Does it support svn acces via : svn:// ?
> >
> > Thx for any help  :)
> >
> >
> >
> >
> >
> > >
> >


You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to