Re: Issue 3889 in reviewboard: Perforce SCMTools Error

2015-06-17 Thread reviewboard

Updates:
Status: Duplicate
Mergedinto: 3887

Comment #3 on issue 3889 by trowb...@gmail.com: Perforce SCMTools Error
https://code.google.com/p/reviewboard/issues/detail?id=3889

(No comment was entered for this change.)

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3889 in reviewboard: Perforce SCMTools Error

2015-06-17 Thread reviewboard


Comment #2 on issue 3889 by hui...@gmail.com: Perforce SCMTools Error
https://code.google.com/p/reviewboard/issues/detail?id=3889

Perforce client: Rev. P4/LINUX26X86_64/2013.1/610569 (2013/03/19)
Perforce Server version: P4D/SOLARIS10X86_64/2013.1/610569 (2013/03/19)


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Issue 3889 in reviewboard: Perforce SCMTools Error

2015-06-17 Thread reviewboard


Comment #1 on issue 3889 by hui...@gmail.com: Perforce SCMTools Error
https://code.google.com/p/reviewboard/issues/detail?id=3889

,
POST:,
COOKIES:{'rbsessionid': '1w0gf5bdbpaywfo62t96fkgy5n7nq406'},
META:{'CONTENT_LENGTH': '19304037',
 'CONTENT_TYPE': 'multipart/form-data;  
boundary8028203037475060351==',

 'DOCUMENT_ROOT': '/var/www/reviewboard/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT_ENCODING': 'identity',
 'HTTP_CONNECTION': 'close',
 'HTTP_COOKIE': 'rbsessionid=1w0gf5bdbpaywfo62t96fkgy5n7nq406',
 'HTTP_HOST': 'server',
 'HTTP_USER_AGENT': 'RBTools/0.7.4',
 u'LOCAL_SITE': None,
 'PATH_INFO': u'/reviewboard/api/validation/diffs/',
 'PATH_TRANSLATED': 
'/var/www/reviewboard/htdocs/reviewboard.wsgi/reviewboard/api/validation/diffs/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '192.168.1.15',
 'REMOTE_PORT': '55154',
 'REQUEST_METHOD': 'POST',
 'REQUEST_URI': '/reviewboard/api/validation/diffs/',
 'SCRIPT_FILENAME': '/var/www/reviewboard/htdocs/reviewboard.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '192.168.1.15',
 'SERVER_ADMIN': 'root@localhost',
 'SERVER_NAME': 'server',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': 'Apache/2.2.15 (Red Hat) Server at server  
Port 80\n',

 'SERVER_SOFTWARE': 'Apache/2.2.15 (Red Hat)',
 u'USERNAME': u'admin',
 u'USER_EMAIL': u'ad...@test.com',
 'mod_ssl.is_https': object at 0x7fc9e12445d0>,
 'mod_ssl.var_lookup': object at 0x7fc9e12445d0>,

 'mod_wsgi.application_group': 'server',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.handler_script': '',
 'mod_wsgi.input_chunked': '0',
 'mod_wsgi.listener_host': '',
 'mod_wsgi.listener_port': '80',
 'mod_wsgi.process_group': '',
 'mod_wsgi.request_handler': 'wsgi-script',
 'mod_wsgi.script_reloading': '1',
 'mod_wsgi.version': (3, 2),
 'wsgi.errors': ,
 'wsgi.file_wrapper': object at 0x7fc9e12445d0>,

 'wsgi.input': ,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 1)}>


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Issue 3889 in reviewboard: Perforce SCMTools Error

2015-06-17 Thread reviewboard

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

New issue 3889 by hui...@gmail.com: Perforce SCMTools Error
https://code.google.com/p/reviewboard/issues/detail?id=3889

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
*** rejected.
***
*** If you have a security issue to report, please send it confidentially
to
*** secur...@reviewboard.org. Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** This bug tracker is public. Please check that any logs or other
information
*** that you include has been stripped of confidential information.


What version are you running?
ReviewBoard 2.0.17-py2.6
RB Tools 0.7.4

What's the URL of the page containing the problem?
api/validation/diffs/

What steps will reproduce the problem?
1. Setup ReviewBoard
2. Setup RBTools
3. Setup Perforce
4. rbt post -d 

What is the expected output? What do you see instead?
It will Rbt post successful

What operating system are you using? What browser?
Red Hat Linux Enterprise 6.5
Chrome
IE 9

Please provide any additional information below.

Error:
2015-06-16 21:40:09,589 - DEBUG -  - DiffParser.parse: Beginning parse of  
diff, size = 520
2015-06-16 21:40:09,589 - DEBUG -  - DiffParser.parse: Finished parsing  
diff.
2015-06-16 21:40:09,589 - ERROR -  - Exception thrown for user admin at  
http://ny1-uutp-fdsa-37/reviewboard/api/validation/diffs/


need more than 1 value to unpack
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py",  
line 112, in get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.6/site-packages/django/views/decorators/cache.py",  
line 52, in _wrapped_view_func

response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/views/decorators/vary.py",  
line 19, in inner_func

response = func(*args, **kwargs)
   
File "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/webapi/resources.py",  
line 497, in __call__

request, method, view, api_format=api_format, *args, **kwargs)
   
File "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/webapi/resources.py",  
line 568, in call_method_view

return view(request, *args, **kwargs)
   
File "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/webapi/resources.py",  
line 750, in post

return self.create(*args, **kwargs)
   
File "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/webapi/decorators.py",  
line 117, in _call

return view_func(*args, **kwargs)
   
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/webapi/decorators.py",  
line 110, in _check

return view_func(*args, **kwargs)
   
File "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/webapi/decorators.py",  
line 117, in _call

return view_func(*args, **kwargs)
   
File "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/webapi/decorators.py",  
line 138, in _checklogin

return view_func(*args, **kwargs)
   
File "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/webapi/decorators.py",  
line 117, in _call

return view_func(*args, **kwargs)
   
File "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/webapi/decorators.py",  
line 117, in _call

return view_func(*args, **kwargs)
   
File "/usr/lib/python2.6/site-packages/Djblets-0.8.20-py2.6.egg/djblets/webapi/decorators.py",  
line 287, in _validate

return view_func(*args, **new_kwargs)
   
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/webapi/resources/validate_diff.py",  
line 144, in create

save=False)
   
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/managers.py",  
line 156, in create_from_upload

save=save)
   
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/managers.py",  
line 180, in create_from_data

check_existence=(not parent_diff_file_contents)))
   
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/diffviewer/managers.py",  
line 287, in _process_files

copied=f.copied)
   
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.17-py2.6.egg/reviewboard/scmtools/perforce.py",  
line 332, in parse_diff_revision

filename, revision = revision_str.rsplit('#', 1)
ValueError: need more than 1 value to unpack



--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are