Re: post-review under windows
Ok, there is another locale problem now. I have Windows XP with German language installed. So my path to the USERPROFILE looks like C:\Dokumente und Einstellungen\Administrator\Lokale Einstellungen \Anwendungsdaten But in post-review there is this code: if 'USERPROFILE' in os.environ: homepath = os.path.join(os.environ["USERPROFILE"], "Local Settings", "Application Data") And that is the output traceback: Traceback (most recent call last): File "c:\post-review.pl", line 2307, in main(sys.argv[1:]) File "c:\post-review.pl", line 2285, in main server.login() File "c:\post-review.pl", line 291, in login 'password': password, File "c:\post-review.pl", line 552, in api_post return self.process_json(self.http_post(path, fields, files)) File "c:\post-review.pl", line 534, in http_post self.cookie_jar.save(self.cookie_file) File "c:\Programme\Python2.5\lib\_MozillaCookieJar.py", line 118, in save f = open(filename, "w") IOError: [Errno 2] No such file or directory: 'C:\\Dokumente und Einstellungen\\Administrator\\Local Settings\\Application Data\\.post-review-cookies.txt' On Feb 16, 12:39 pm, Brot wrote: > no, I am using an German locale. > > post-review works now for me under windows. I have installed all > components now: python, svn-client and gnu-diffutils. > I am using post-review with the ClearCaseClient call and have no > problems now. > > Nonetheless, seems little bit strange to me. Installation is so much > harder under > Windows than under Linux :-( > > On Feb 16, 12:09 pm, Christian Hammond wrote: > > > Are you using an English locale? > > > Christian > > > -- > > Christian Hammond - chip...@chipx86.com > > Review Board -http://www.review-board.org > > VMware, Inc. -http://www.vmware.com > > > On Mon, Feb 16, 2009 at 3:08 AM, Brot wrote: > > > > I don't have clearcase installed. I am working with svn. > > > > I changed the lines > > > for tool in (SVNClient(), CVSClient(), GitClient(), MercurialClient > > > (), > > > PerforceClient(), ClearCaseClient()): > > > to > > > for tool in (SVNClient(), CVSClient(), GitClient(), MercurialClient > > > (), > > > PerforceClient()): > > > and the error disappears. > > > > Are there some error-handling problems? > > > > On Feb 16, 11:15 am, Dan Savilonis wrote: > > > > I haven't tried to run post-review with clearcase, but I think your > > > > problem may simply be that cleartool is not in your path for some > > > > reason. get_repository_info runs 'cleartool pwv -short' and that's > > > > what you see failing with file not found in your traceback. > > > > > Dan > > > > > On Feb 16, 3:24 am, Brot wrote: > > > > > > I'm advocating the adoption of review-board in my company. The server > > > > > runs on Linux, but sadly the client > > > > > must run on Windows. Subversion is our version control system. We are > > > > > not using cygwin and I tried to run post-review (version 0.8) under > > > > > the windows shell. > > > > > > But the following error appears: > > > > > Traceback (most recent call last): > > > > > File "c:\post-review.pl", line 2307, in > > > > > main(sys.argv[1:]) > > > > > File "c:\post-review.pl", line 2248, in main > > > > > repository_info, tool = determine_client() > > > > > File "c:\post-review.pl", line 2200, in determine_client > > > > > repository_info = tool.get_repository_info() > > > > > File "c:\post-review.pl", line 728, in get_repository_info > > > > > env={'LANG': 'en_US.UTF-8'}) > > > > > File "c:\post-review.pl", line 1892, in execute > > > > > env=env) > > > > > File "c:\Programme\python2.5\lib\subprocess.py", line 594, in > > > > > __init__ > > > > > errread, errwrite) > > > > > File "c:\Programme\python2.5\lib\subprocess.py", line 822, in > > > > > _execute_child > > > > > startupinfo) > > > > > WindowsError: [Error 2] Das System kann die angegebene Datei nicht > > > > > finden > > > > > > As far as I found out the error appears in the class > > > > > "ClearCaseClient". Is there a change to run post-review without > > > > > cygwin? If yes, are there any documentation how to do this? > > > > > The DocString of the ClearCaseClient-Class tells me: > > > > -- > > > > > class ClearCaseClient(SCMClient): > > > > > """ > > > > > A wrapper around the clearcase tool that fetches repository > > > > > information and generates compatible diffs. > > > > > This client assumes that cygwin is installed on windows. > > > > > """ > > > > -- > > > > > > ~ Bernd --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com To unsubscribe
Re: post-review under windows
no, I am using an German locale. post-review works now for me under windows. I have installed all components now: python, svn-client and gnu-diffutils. I am using post-review with the ClearCaseClient call and have no problems now. Nonetheless, seems little bit strange to me. Installation is so much harder under Windows than under Linux :-( On Feb 16, 12:09 pm, Christian Hammond wrote: > Are you using an English locale? > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.review-board.org > VMware, Inc. -http://www.vmware.com > > On Mon, Feb 16, 2009 at 3:08 AM, Brot wrote: > > > I don't have clearcase installed. I am working with svn. > > > I changed the lines > > for tool in (SVNClient(), CVSClient(), GitClient(), MercurialClient > > (), > > PerforceClient(), ClearCaseClient()): > > to > > for tool in (SVNClient(), CVSClient(), GitClient(), MercurialClient > > (), > > PerforceClient()): > > and the error disappears. > > > Are there some error-handling problems? > > > On Feb 16, 11:15 am, Dan Savilonis wrote: > > > I haven't tried to run post-review with clearcase, but I think your > > > problem may simply be that cleartool is not in your path for some > > > reason. get_repository_info runs 'cleartool pwv -short' and that's > > > what you see failing with file not found in your traceback. > > > > Dan > > > > On Feb 16, 3:24 am, Brot wrote: > > > > > I'm advocating the adoption of review-board in my company. The server > > > > runs on Linux, but sadly the client > > > > must run on Windows. Subversion is our version control system. We are > > > > not using cygwin and I tried to run post-review (version 0.8) under > > > > the windows shell. > > > > > But the following error appears: > > > > Traceback (most recent call last): > > > > File "c:\post-review.pl", line 2307, in > > > > main(sys.argv[1:]) > > > > File "c:\post-review.pl", line 2248, in main > > > > repository_info, tool = determine_client() > > > > File "c:\post-review.pl", line 2200, in determine_client > > > > repository_info = tool.get_repository_info() > > > > File "c:\post-review.pl", line 728, in get_repository_info > > > > env={'LANG': 'en_US.UTF-8'}) > > > > File "c:\post-review.pl", line 1892, in execute > > > > env=env) > > > > File "c:\Programme\python2.5\lib\subprocess.py", line 594, in > > > > __init__ > > > > errread, errwrite) > > > > File "c:\Programme\python2.5\lib\subprocess.py", line 822, in > > > > _execute_child > > > > startupinfo) > > > > WindowsError: [Error 2] Das System kann die angegebene Datei nicht > > > > finden > > > > > As far as I found out the error appears in the class > > > > "ClearCaseClient". Is there a change to run post-review without > > > > cygwin? If yes, are there any documentation how to do this? > > > > The DocString of the ClearCaseClient-Class tells me: > > > -- > > > > class ClearCaseClient(SCMClient): > > > > """ > > > > A wrapper around the clearcase tool that fetches repository > > > > information and generates compatible diffs. > > > > This client assumes that cygwin is installed on windows. > > > > """ > > > -- > > > > > ~ Bernd --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: post-review under windows
Are you using an English locale? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Mon, Feb 16, 2009 at 3:08 AM, Brot wrote: > > I don't have clearcase installed. I am working with svn. > > I changed the lines >for tool in (SVNClient(), CVSClient(), GitClient(), MercurialClient > (), > PerforceClient(), ClearCaseClient()): > to >for tool in (SVNClient(), CVSClient(), GitClient(), MercurialClient > (), > PerforceClient()): > and the error disappears. > > Are there some error-handling problems? > > > On Feb 16, 11:15 am, Dan Savilonis wrote: > > I haven't tried to run post-review with clearcase, but I think your > > problem may simply be that cleartool is not in your path for some > > reason. get_repository_info runs 'cleartool pwv -short' and that's > > what you see failing with file not found in your traceback. > > > > Dan > > > > On Feb 16, 3:24 am, Brot wrote: > > > > > I'm advocating the adoption of review-board in my company. The server > > > runs on Linux, but sadly the client > > > must run on Windows. Subversion is our version control system. We are > > > not using cygwin and I tried to run post-review (version 0.8) under > > > the windows shell. > > > > > But the following error appears: > > > Traceback (most recent call last): > > > File "c:\post-review.pl", line 2307, in > > > main(sys.argv[1:]) > > > File "c:\post-review.pl", line 2248, in main > > > repository_info, tool = determine_client() > > > File "c:\post-review.pl", line 2200, in determine_client > > > repository_info = tool.get_repository_info() > > > File "c:\post-review.pl", line 728, in get_repository_info > > > env={'LANG': 'en_US.UTF-8'}) > > > File "c:\post-review.pl", line 1892, in execute > > > env=env) > > > File "c:\Programme\python2.5\lib\subprocess.py", line 594, in > > > __init__ > > > errread, errwrite) > > > File "c:\Programme\python2.5\lib\subprocess.py", line 822, in > > > _execute_child > > > startupinfo) > > > WindowsError: [Error 2] Das System kann die angegebene Datei nicht > > > finden > > > > > As far as I found out the error appears in the class > > > "ClearCaseClient". Is there a change to run post-review without > > > cygwin? If yes, are there any documentation how to do this? > > > The DocString of the ClearCaseClient-Class tells me: > > > > -- > > > class ClearCaseClient(SCMClient): > > > """ > > > A wrapper around the clearcase tool that fetches repository > > > information and generates compatible diffs. > > > This client assumes that cygwin is installed on windows. > > > """ > > > > -- > > > > > ~ Bernd > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: post-review under windows
I don't have clearcase installed. I am working with svn. I changed the lines for tool in (SVNClient(), CVSClient(), GitClient(), MercurialClient (), PerforceClient(), ClearCaseClient()): to for tool in (SVNClient(), CVSClient(), GitClient(), MercurialClient (), PerforceClient()): and the error disappears. Are there some error-handling problems? On Feb 16, 11:15 am, Dan Savilonis wrote: > I haven't tried to run post-review with clearcase, but I think your > problem may simply be that cleartool is not in your path for some > reason. get_repository_info runs 'cleartool pwv -short' and that's > what you see failing with file not found in your traceback. > > Dan > > On Feb 16, 3:24 am, Brot wrote: > > > I'm advocating the adoption of review-board in my company. The server > > runs on Linux, but sadly the client > > must run on Windows. Subversion is our version control system. We are > > not using cygwin and I tried to run post-review (version 0.8) under > > the windows shell. > > > But the following error appears: > > Traceback (most recent call last): > > File "c:\post-review.pl", line 2307, in > > main(sys.argv[1:]) > > File "c:\post-review.pl", line 2248, in main > > repository_info, tool = determine_client() > > File "c:\post-review.pl", line 2200, in determine_client > > repository_info = tool.get_repository_info() > > File "c:\post-review.pl", line 728, in get_repository_info > > env={'LANG': 'en_US.UTF-8'}) > > File "c:\post-review.pl", line 1892, in execute > > env=env) > > File "c:\Programme\python2.5\lib\subprocess.py", line 594, in > > __init__ > > errread, errwrite) > > File "c:\Programme\python2.5\lib\subprocess.py", line 822, in > > _execute_child > > startupinfo) > > WindowsError: [Error 2] Das System kann die angegebene Datei nicht > > finden > > > As far as I found out the error appears in the class > > "ClearCaseClient". Is there a change to run post-review without > > cygwin? If yes, are there any documentation how to do this? > > The DocString of the ClearCaseClient-Class tells me: > > -- > > class ClearCaseClient(SCMClient): > > """ > > A wrapper around the clearcase tool that fetches repository > > information and generates compatible diffs. > > This client assumes that cygwin is installed on windows. > > """ > > -- > > > ~ Bernd --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: post-review under windows
I haven't tried to run post-review with clearcase, but I think your problem may simply be that cleartool is not in your path for some reason. get_repository_info runs 'cleartool pwv -short' and that's what you see failing with file not found in your traceback. Dan On Feb 16, 3:24 am, Brot wrote: > I'm advocating the adoption of review-board in my company. The server > runs on Linux, but sadly the client > must run on Windows. Subversion is our version control system. We are > not using cygwin and I tried to run post-review (version 0.8) under > the windows shell. > > But the following error appears: > Traceback (most recent call last): > File "c:\post-review.pl", line 2307, in > main(sys.argv[1:]) > File "c:\post-review.pl", line 2248, in main > repository_info, tool = determine_client() > File "c:\post-review.pl", line 2200, in determine_client > repository_info = tool.get_repository_info() > File "c:\post-review.pl", line 728, in get_repository_info > env={'LANG': 'en_US.UTF-8'}) > File "c:\post-review.pl", line 1892, in execute > env=env) > File "c:\Programme\python2.5\lib\subprocess.py", line 594, in > __init__ > errread, errwrite) > File "c:\Programme\python2.5\lib\subprocess.py", line 822, in > _execute_child > startupinfo) > WindowsError: [Error 2] Das System kann die angegebene Datei nicht > finden > > As far as I found out the error appears in the class > "ClearCaseClient". Is there a change to run post-review without > cygwin? If yes, are there any documentation how to do this? > The DocString of the ClearCaseClient-Class tells me: > -- > class ClearCaseClient(SCMClient): > """ > A wrapper around the clearcase tool that fetches repository > information and generates compatible diffs. > This client assumes that cygwin is installed on windows. > """ > -- > > ~ Bernd --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
post-review under windows
I'm advocating the adoption of review-board in my company. The server runs on Linux, but sadly the client must run on Windows. Subversion is our version control system. We are not using cygwin and I tried to run post-review (version 0.8) under the windows shell. But the following error appears: Traceback (most recent call last): File "c:\post-review.pl", line 2307, in main(sys.argv[1:]) File "c:\post-review.pl", line 2248, in main repository_info, tool = determine_client() File "c:\post-review.pl", line 2200, in determine_client repository_info = tool.get_repository_info() File "c:\post-review.pl", line 728, in get_repository_info env={'LANG': 'en_US.UTF-8'}) File "c:\post-review.pl", line 1892, in execute env=env) File "c:\Programme\python2.5\lib\subprocess.py", line 594, in __init__ errread, errwrite) File "c:\Programme\python2.5\lib\subprocess.py", line 822, in _execute_child startupinfo) WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden As far as I found out the error appears in the class "ClearCaseClient". Is there a change to run post-review without cygwin? If yes, are there any documentation how to do this? The DocString of the ClearCaseClient-Class tells me: -- class ClearCaseClient(SCMClient): """ A wrapper around the clearcase tool that fetches repository information and generates compatible diffs. This client assumes that cygwin is installed on windows. """ -- ~ Bernd --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---