Re: can not set up a git repository with reviewboard
I am running ReviewBoard 2.0.19 on Ubuntu 14.04.3. On Wednesday, September 16, 2015 at 11:52:58 AM UTC-7, Ajoy Bhatia wrote: > > I am getting this error, too, with a private organization GitHub > repository. I enabled logging successfully (i.e. log directory is writable > by web server), restarted the web server and tried to add the repo again. > Got the same error but do not see anything in the log file. > > BTW, my ReviewBoard web server is behind another proxy server. > > Was there any resolution on this? > > Thanks... > - Ajoy > > On Tuesday, September 8, 2015 at 2:33:39 PM UTC-7, Tony Dubu Yang wrote: >> >> Getting the same error as anoop is getting above: Unknown error when >> linking the account: 'URLError' object has no attribute 'read' >> >> This happens when I attempt to add a public GitHub repository >> (non-enterprise) to my reviewboard and click save. >> >> I'm trying to determine whether this is an error with sending or >> receiving and if I (likely) need to adjust the Azure VMs settings to >> allow... something in or out. So I'm expecting to see something along the >> lines of "error attempting to send data" with a stack trace or "timed out >> waiting for response" or something along those lines in the logs. >> >> On Tue, Sep 8, 2015 at 1:07 PM, Christian Hammond >> wrote: >> >>> The CSRF verification failure is likely due to trying to re-post a form >>> after reloading the web server. It's a protection mechanism that requires >>> that you first load/navigate to the page, then post, all with the web >>> server running, without restarting. It's used to prevent sites from >>> tricking you into submitting a form on Review Board from their site without >>> you knowing. >>> >>> Tony, can you show me exactly what error you're hitting and the steps >>> you're going through? >>> >>> It does look like logging is enabled. What information in the logs are >>> you expecting to find? >>> >>> Christian >>> >>> -- >>> Christian Hammond - chi...@chipx86.com >>> Review Board - https://www.reviewboard.org >>> Beanbag, Inc. - https://www.beanbaginc.com >>> >>> On Mon, Sep 7, 2015 at 11:36 PM, Tony Dubu Yang >>> wrote: >>> >>>> I'm receiving this error, too, running on an Azure VM with version >>>> 2.0.19 of ReviewBoard installed. I've set the logging level for >>>> ReviewBoard >>>> to DEBUG, but all I'm getting is cache misses and 'Using >>>> reviewboard.scmtools.svn.pysvn backend for SVN' in the logs. Tried >>>> looking in the /opt/bitnami/apache2/... logs, as well, but nothing of >>>> interest shows up after running into the error. >>>> >>>> Any advice on where to dig to track down the error/stack trace? >>>> >>>> Just a note, looks like the Azure VMs don't allow ICMP as running a >>>> ping against github.com doesn't return a result. >>>> >>>> On Friday, December 19, 2014 at 1:38:23 AM UTC-8, anoop kc wrote: >>>>> >>>>> Hi, >>>>> >>>>> Whenever I try to add my git repository to reviewboard, it fails with >>>>> the following error. >>>>> >>>>> Unknown error when linking the account: 'URLError' object has no >>>>> attribute 'read' >>>>> >>>>> where am I doing wrong? >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>> Supercharge your Review Board with Power Pack: >>>> https://www.reviewboard.org/powerpack/ >>>> Want us to host Review Board for you? Check out RBCommons: >>>> https://rbcommons.com/ >>>> Happy user? Let us know! https://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...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> Supercharge your Review Board with Power Pack: >>> https://www.reviewboard.org/powerpack/ >>> Want us to host Review Board for you? Check out RBCommons: >>> https://rbcommons.com/ >>> Happy user? Let us know! https://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...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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.
Re: can not set up a git repository with reviewboard
I am getting this error, too, with a private organization GitHub repository. I enabled logging successfully (i.e. log directory is writable by web server), restarted the web server and tried to add the repo again. Got the same error but do not see anything in the log file. BTW, my ReviewBoard web server is behind another proxy server. Was there any resolution on this? Thanks... - Ajoy On Tuesday, September 8, 2015 at 2:33:39 PM UTC-7, Tony Dubu Yang wrote: > > Getting the same error as anoop is getting above: Unknown error when > linking the account: 'URLError' object has no attribute 'read' > > This happens when I attempt to add a public GitHub repository > (non-enterprise) to my reviewboard and click save. > > I'm trying to determine whether this is an error with sending or receiving > and if I (likely) need to adjust the Azure VMs settings to allow... > something in or out. So I'm expecting to see something along the lines of > "error attempting to send data" with a stack trace or "timed out waiting > for response" or something along those lines in the logs. > > On Tue, Sep 8, 2015 at 1:07 PM, Christian Hammond > wrote: > >> The CSRF verification failure is likely due to trying to re-post a form >> after reloading the web server. It's a protection mechanism that requires >> that you first load/navigate to the page, then post, all with the web >> server running, without restarting. It's used to prevent sites from >> tricking you into submitting a form on Review Board from their site without >> you knowing. >> >> Tony, can you show me exactly what error you're hitting and the steps >> you're going through? >> >> It does look like logging is enabled. What information in the logs are >> you expecting to find? >> >> Christian >> >> -- >> Christian Hammond - chi...@chipx86.com >> Review Board - https://www.reviewboard.org >> Beanbag, Inc. - https://www.beanbaginc.com >> >> On Mon, Sep 7, 2015 at 11:36 PM, Tony Dubu Yang > > wrote: >> >>> I'm receiving this error, too, running on an Azure VM with version >>> 2.0.19 of ReviewBoard installed. I've set the logging level for ReviewBoard >>> to DEBUG, but all I'm getting is cache misses and 'Using >>> reviewboard.scmtools.svn.pysvn backend for SVN' in the logs. Tried >>> looking in the /opt/bitnami/apache2/... logs, as well, but nothing of >>> interest shows up after running into the error. >>> >>> Any advice on where to dig to track down the error/stack trace? >>> >>> Just a note, looks like the Azure VMs don't allow ICMP as running a ping >>> against github.com doesn't return a result. >>> >>> On Friday, December 19, 2014 at 1:38:23 AM UTC-8, anoop kc wrote: Hi, Whenever I try to add my git repository to reviewboard, it fails with the following error. Unknown error when linking the account: 'URLError' object has no attribute 'read' where am I doing wrong? -- >>> Supercharge your Review Board with Power Pack: >>> https://www.reviewboard.org/powerpack/ >>> Want us to host Review Board for you? Check out RBCommons: >>> https://rbcommons.com/ >>> Happy user? Let us know! https://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...@googlegroups.com . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> Supercharge your Review Board with Power Pack: >> https://www.reviewboard.org/powerpack/ >> Want us to host Review Board for you? Check out RBCommons: >> https://rbcommons.com/ >> Happy user? Let us know! https://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...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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.
Re: Getting "No matching DirectoryIndex (index.html) found" error
Thanks for the prompt reply, Christian! Everything OK now. It was a bad entry in my machine's routing table. I was not able to ping my own IP address. Deleting that entry with "route delete " did the trick. - Ajoy On Tuesday, September 8, 2015 at 1:34:56 PM UTC-7, Christian Hammond wrote: > > Hi, > > This looks to be purely an Apache configuration issue. Some virtualhost > config is likely taking precedence. It's also possible your new virtualhost > entry isn't matching the necessary hostname/IP. > > Do you have a 000-default file somewhere in Apache? > > Christian > > > On Tuesday, September 8, 2015, Ajoy Bhatia > wrote: > >> Hi, >> >> I just completed setting up ReviewBoard on my machine (MacOS X Yosemite >> 10.10.5) and it seems to work fine if I access it with my user/password >> from my machine (where server is installed & running). However, other >> people in my team (working on different machines) are not able to get even >> the first login page. The request does not get to ReviewBoard. I see the >> following error in /var/log/apache2/error_log: >> >> [Tue Sep 08 19:43:17.716652 2015] [autoindex:error] [pid 33529] [client >> 127.0.0.1:59940] AH01276: Cannot serve directory /var/www/codereview/ >> htdocs/media/uploaded/files/: No matching DirectoryIndex (index.html) >> found, and server-generated directory index forbidden by Options >> directive >> >> Any help is much appreciated. Please let me know which config files / >> info you need. I do not know what would be relevant, and there are so many >> config files involved. :( >> >> Thanks... >> - Ajoy >> >> -- >> Supercharge your Review Board with Power Pack: >> https://www.reviewboard.org/powerpack/ >> Want us to host Review Board for you? Check out RBCommons: >> https://rbcommons.com/ >> Happy user? Let us know! https://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. >> > > > -- > -- > Christian Hammond - chri...@beanbaginc.com > Review Board - https://www.reviewboard.org > Beanbag, Inc. - https://www.beanbaginc.com > > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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.
Getting "No matching DirectoryIndex (index.html) found" error
Hi, I just completed setting up ReviewBoard on my machine (MacOS X Yosemite 10.10.5) and it seems to work fine if I access it with my user/password from my machine (where server is installed & running). However, other people in my team (working on different machines) are not able to get even the first login page. The request does not get to ReviewBoard. I see the following error in /var/log/apache2/error_log: [Tue Sep 08 19:43:17.716652 2015] [autoindex:error] [pid 33529] [client 127.0.0.1:59940] AH01276: Cannot serve directory /var/www/codereview/htdocs/ media/uploaded/files/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive Any help is much appreciated. Please let me know which config files / info you need. I do not know what would be relevant, and there are so many config files involved. :( Thanks... - Ajoy -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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.
Re: mysql not listed as a DB choice when creating ReviewBoard site
Problem solved. Thanks for the tip. I have not worked with Python yet, so I had to look up how to print the exception details. Doing that gave me the following: type: value: dlopen(/Users/ab186095/.python-eggs/MySQL_python-1.2.5-py2.7-macosx- 10.10-intel.egg-tmp/_mysql.so, 2): Library not loaded: libmysqlclient. 18.dylib Referenced from: /Users/ab186095/.python-eggs/MySQL_python-1.2.5-py2.7- macosx-10.10-intel.egg-tmp/_mysql.so Reason: image not found [' File "/Library/Python/2.7/site-packages/ReviewBoard-2.0.19-py2.7.egg/reviewboard/cmdline/rbsite.py", line 123, in has_modules\n__import__(name)\n', ' File "build/bdist.macosx-10.10-intel/egg/MySQLdb/__init__.py", line 19, in \n', ' File "build/bdist.macosx-10.10-intel/egg/_mysql.py", line 7, in \n', ' File "build/bdist.macosx-10.10-intel/egg/_mysql.py", line 6, in __bootstrap__\n'] The libmysqlclient.18.dylib file was in /usr/local/mysql/lib, and DYLD_LIBRARY_PATH had that directory in it. That is probably enough to satisfy the Python console but doesn't work for the script. Then, I saw this post: http://stackoverflow.com/questions/1099981/why-cant-python-find-shared-objects-that-are-in-directories-in-sys-path. However, on my Mac OSX Yosemite 10.10.5, there is no /etc/ld.so.conf or ldconfig. I tried setting LD_LIBRARY_PATH and also LIBRARY_PATH to include /usr/loca/mysql/lib but neither worked. So I created the following links under /usr/local/lib: %> ln -s ../mysql/lib/libmysqlclient.18.dylib libmysqlclient.18.dylib %> ln -s ../mysql/lib/libmysqlclient.dylib libmysqlclient.dylib That did the trick. I think that the MySQL installation should create these links. Thanks... - Ajoy On Sunday, September 6, 2015 at 12:32:31 PM UTC-7, Christian Hammond wrote: > > Hi, > > This usually indicates one of a few things: > > 1) The Python version/executable being used is different between the > console and the script. > > 2) The Python path is different between the two. > > 3) The dynamic library search path (for MySQL .so files) is different > between the two. > > Can you try adding some print statements to that file to check what the > import error looks like and to print sys.version and sys.path? > > Christian > -- > Christian Hammond - chri...@beanbaginc.com > Review Board - https://www.reviewboard.org > Beanbag, Inc. - https://www.beanbaginc.com > > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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.
Re: mysql not listed as a DB choice when creating ReviewBoard site
I opened rbsite.py and saw that the following code checks for MySQLdb module and, if present, MySQL should be listed as a choice. Here, for MySQL, names is an array containing only "MySQLdb" @classmethod def has_modules(cls, names): """Returns True if one of the specified modules is installed.""" for name in names: try: __import__(name) return True except ImportError: continue return False So I checked this call and there seems to be no error: *%> python* Python 2.7.10 (default, Jul 14 2015, 19:46:27) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> __import__("MySQLdb") >>> exit() *%>* So I really cannot understand why MySQL is not displayed as a choice. -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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.
mysql not listed as a DB choice when creating ReviewBoard site
Installed ReviewBoard 2.0.19 & other dependencies on Mac OS X Yosemite (10.10.5). Now, creating a ReviewBoard site. Here is what I get when I go through the "rb-site install /var/www/reviewboard.mysite.com" install process * What database type will you be using? You can type either the name or the number from the list below. (1) sqlite3 (not supported for production use) Database Type: Note that MySQL is not listed as an available choice. Now, I do have MySQL installed and the MySQL server instance is running. I also have mysql-python installed correctly. Here is the console output of mysql-python installation: *%>* *sudo easy_install mysql-python* Password: Searching for mysql-python Best match: MySQL-python 1.2.5 Processing MySQL_python-1.2.5-py2.7-macosx-10.10-intel.egg MySQL-python 1.2.5 is already the active version in easy-install.pth Using /Library/Python/2.7/site-packages/MySQL_python-1.2.5-py2.7-macosx-10.10-intel.egg Processing dependencies for mysql-python Finished processing dependencies for mysql-python *%>* Also, Python has no problem importing MySQLdb module: *%> python* Python 2.7.10 (default, Jul 14 2015, 19:46:27) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import MySQLdb >>> exit() *%>* I would really appreciate it if someone can help me here, and tell me what to do to have mysql listed as an available database when creating a ReviewBoard site. Thanks... - Ajoy -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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.