Re: Issue 3110 in reviewboard: Various tie-ins don't load because Random is not importable from the Crypto module

2013-12-22 Thread reviewboard

Updates:
Status: Fixed

Comment #3 on issue 3110 by trowb...@gmail.com: Various tie-ins don't load  
because Random is not importable from the Crypto module

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

Fixed in 390147f

--
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/groups/opt_out.


Issue 3110 in reviewboard: Various tie-ins don't load because Random is not importable from the Crypto module

2013-10-15 Thread reviewboard

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

New issue 3110 by yaneg...@gmail.com: Various tie-ins don't load because  
Random is not importable from the Crypto module

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

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
rejected.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** Do not post confidential information in this bug report!


What version are you running?

1.7.14

What's the URL of the page containing the problem?

admin/db/scmtools/repository/add/

What steps will reproduce the problem?
n/a

What is the expected output? What do you see instead?
n/a

What operating system are you using? What browser?

CentOS 6.4. Firefox 24

Please provide any additional information below.

When going to the server logs, I noted that the beanstalk and bitbucket  
tie-ins weren't working:


16:36:41ERROR   

 - Unable to load repository hosting service bitbucket =  
reviewboard.hostingsvcs.bitbucket:Bitbucket: cannot import name Random


16:36:41ERROR   

 - Unable to load repository hosting service beanstalk =  
reviewboard.hostingsvcs.beanstalk:Beanstalk: cannot import name Random


16:38:28ERROR   

 - Unable to load repository hosting service bitbucket =  
reviewboard.hostingsvcs.bitbucket:Bitbucket: cannot import name Random


16:38:28ERROR   

 - Unable to load repository hosting service beanstalk =  
reviewboard.hostingsvcs.beanstalk:Beanstalk: cannot import name Random


16:39:38ERROR   

 - Unable to load repository hosting service bitbucket =  
reviewboard.hostingsvcs.bitbucket:Bitbucket: cannot import name Random


16:39:38ERROR   

 - Unable to load repository hosting service beanstalk =  
reviewboard.hostingsvcs.beanstalk:Beanstalk: cannot import name Random


This is because Crypto doesn't have the Random object in its namespace:

# python -c 'from Crypto import Random'
Traceback (most recent call last):
  File string, line 1, in module
ImportError: cannot import name Random
# python
Python 2.6.6 (r266:84292, Jul 10 2013, 22:48:45)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type help, copyright, credits or license for more information.

import Crypto
dir(Crypto)

['__all__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', 
'__path__', '__revision__', '__version__']

Crypto.__file__

'/usr/lib64/python2.6/site-packages/Crypto/__init__.pyc'

Maybe Random should be imported from the random module instead?

--
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/groups/opt_out.


Re: Issue 3110 in reviewboard: Various tie-ins don't load because Random is not importable from the Crypto module

2013-10-15 Thread reviewboard


Comment #2 on issue 3110 by trowb...@gmail.com: Various tie-ins don't load  
because Random is not importable from the Crypto module

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

Please post patches to https://reviews.reviewboard.org/

--
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/groups/opt_out.