It’s definitely valid syntax.

Make sure the __ is two underscores.

Can you copy/paste that to a text file and attach it, so that the formatting is 
preserved?

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On July 31, 2014 at 1:23:44 PM, Michael Kovacs (dromin...@gmail.com) wrote:



On Thursday, July 31, 2014 2:53:44 PM UTC-5, Christian Hammond wrote:
During that run, is selinux still disabled?

Can you run this in a shell:

    $ python
    >>> import whoosh
    >>> whoosh.__file__
    >>> import reviewboard
    >>> reviewboard.__file__

    $ python
    >>> import __main__
    >>> __main__.__requires__ = [‘ReviewBoard’]
    >>> import pkg_resources

Paste the full output from that.

Christian




Just did full reboot to be sure. SELINUX is off at the time of testing. 
IPTABLES & IP6TABLES are stopped as well. Here is yoru outputs:
[root@ITT-D-Review logs]# getenforce
Permissive
[root@ITT-D-Review logs]# python
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import whoosh
>>> whoosh.__file__
'/usr/lib/python2.6/site-packages/Whoosh-2.6.0-py2.6.egg/whoosh/__init__.pyc'
>>> import reviewboard
>>> reviewboard.__file__
'/usr/lib/python2.6/site-packages/ReviewBoard-2.0.5-py2.6.egg/reviewboard/__init__.pyc'

>>> import __main__
>>> __main__.__requires__ = [‘ReviewBoard’]
  File "<stdin>", line 1
    __main__.__requires__ = [‘ReviewBoard’]
                             ^
SyntaxError: invalid syntax
>>> __main__.__requires__ = [‘ReviewBoard’]
  File "<stdin>", line 1
    __main__.__requires__ = [‘ReviewBoard’]
                             ^
SyntaxError: invalid syntax
>>> import pkg_resources


The above was done several times, this last using C&P directly from your post 
to avoid syntax errors...




 
--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to