Issue 2246 in reviewboard: RBTools installation error

2011-08-18 Thread reviewboard

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 2246 by koushi...@gmail.com: RBTools installation error
http://code.google.com/p/reviewboard/issues/detail?id=2246

I have installed Python2.7;
configured the path PATH=%PATH%;c:\Python27;c:\Python27\Scripts
Installed Python setup tools.
Now,
To install RBTools, I am facing the flowing error:

C:\Users\kbhattaeasy_install-2.7 rbtools
Searching for rbtools
Reading http://pypi.python.org/simple/rbtools/
Couldn't find index page for 'rbtools' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for rbtools
Best match: None
Traceback (most recent call last):
  File c:\Python27\Scripts\easy_install-2.7-script.py, line 8, in module
 
load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install-2.7'

)()
  File c:\Python27\lib\site-packages\setuptools\command\easy_install.py,  
line

1712, in main
with_ei_usage(lambda:
  File c:\Python27\lib\site-packages\setuptools\command\easy_install.py,  
line

1700, in with_ei_usage
return f()
  File c:\Python27\lib\site-packages\setuptools\command\easy_install.py,  
line

1716, in lambda
distclass=DistributionWithoutHelpCommands, **kw
  File c:\Python27\lib\distutils\core.py, line 152, in setup
dist.run_commands()
  File c:\Python27\lib\distutils\dist.py, line 953, in run_commands
self.run_command(cmd)
  File c:\Python27\lib\distutils\dist.py, line 972, in run_command
cmd_obj.run()
  File c:\Python27\lib\site-packages\setuptools\command\easy_install.py,  
line

211, in run
self.easy_install(spec, not self.no_deps)
  File c:\Python27\lib\site-packages\setuptools\command\easy_install.py,  
line

434, in easy_install
self.local_index
  File c:\Python27\lib\site-packages\setuptools\package_index.py, line  
475, in

fetch_distribution
return dist.clone(location=self.download(dist.location, tmpdir))
AttributeError: 'NoneType' object has no attribute 'clone'


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Issue 2240 in reviewboard: Error while running the commad - post-review multitest.txt

2011-08-18 Thread reviewboard


Comment #2 on issue 2240 by asa.amgo...@gmail.com: Error while running the  
commad - post-review multitest.txt

http://code.google.com/p/reviewboard/issues/detail?id=2240

0.3.2 today we upgrade to 0.3.3, but still having doubt on CC integration.  
Please guide us


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Issue 1588 in reviewboard: Provide --revision-range option for ClearCase

2011-08-18 Thread reviewboard


Comment #3 on issue 1588 by asa.amgo...@gmail.com: Provide --revision-range  
option for ClearCase

http://code.google.com/p/reviewboard/issues/detail?id=1588

We are using 0.3.3 RBTools: Can you please specify in which path we need to  
run this above command, we are trying to run for a file with  
/view/view-name/vobs/vob-name/filename/main/0:/view/view-name/vobs/vob-name/filename/main:2  
being in the /view/view-name/vobs/vob-name path. But getting

Using the new web API

There don't seem to be any diffs!

Can you please help us

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Issue 2247 in reviewboard: Deadlock when calling 'patch' with a very large diff

2011-08-18 Thread reviewboard

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 2247 by degrande...@gmail.com: Deadlock when calling 'patch' with  
a very large diff

http://code.google.com/p/reviewboard/issues/detail?id=2247

* NOTE: Do not post confidential information in this bug report. *
*   If you need immediate support, please contact*
*   reviewbo...@googlegroups.com *

What version are you running?

1.6RC2

We often have a high memory consumption on our reviewboard server, and when  
it happens, there are some 'patch' processes blocked.


I looked at how you launch the 'patch' utility, and I think that there is a  
potential pb, due to the use of Popen.wait() with pipes. According to the  
documentation  
(http://docs.python.org/library/subprocess.html#popen-objects), there is a  
potential deadlock if the date sent to the pipe is larger than the pipe  
buffer size (we have some very huge diffs).


Here is a small python code to reproduce it:

--
import sys, subprocess

def main():

  data = 
  for i in range(10):
data += %d\n % i

  p = subprocess.Popen(['cat'], stdin=subprocess.PIPE,  
stdout=subprocess.PIPE)

  p.stdin.write(data)
  p.stdin.close()
  output = p.stdout.read()
  failure = p.wait()

  if failure:
print(error)
sys.exit(1)

  sys.stdout.write(output)

if __name__ == '__main__': main()
---

As long as 'data' is small enough (i.e. with a small maximum value of 'i'),  
everything works well. But with 'i' ranging from 0 to 10, p.wait()  
blocks.


The documentation recommends to use Popen.communicate()

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.