Re: "Review Board is taking a nap"

2012-05-23 Thread Christian Hammond
Hi Mark,

This is one of those really annoying and confusing Windows issues that I have 
no answer to. Hopefully someone else on this list does.

However, I *strongly* recommend ditching the Windows install and instead 
installing on Linux (Ubuntu or Fedora), either on a physical box or in a VM. 
You'll have an easier experience, fewer problems, better performance, and 
guaranteed compatibility with future features and releases (which we're not 
guaranteeing for Windows).

Christian



On May 23, 2012, at 20:11, "mark.har...@arcinnovations.co.nz" 
 wrote:

> I get the above error when I try and access a recently installed
> version of ReviewBoard.
> 
> I am running Windows 7, Apache httpd server v 2.2.22, ReviewBoard v
> 1.6. Everything is 32-bit as I was experiencing real problems when
> using 64-bit versions of the installed components.
> 
> Looking at the "access.log" file, it seems like there is an error
> occurring somewhere:
> 
> 127.0.0.1 - - [24/May/2012:14:53:37 +1200] "GET / HTTP/1.1" 500 1540
> 127.0.0.1 - - [24/May/2012:14:53:37 +1200] "GET /favicon.ico HTTP/1.1"
> 404 209
> 
> I have amended the server's "httpd.conf" file so that the LogLevel is
> set to debug. There are no errors raised when either the server starts
> up or I try and access ReviewBoard via a browser and get the "taking a
> nap" screen.
> 
> I don't know whether it is related but the following errors appear
> when I shut down the server:
> 
> [info] [client 127.0.0.1] mod_wsgi (pid=4684, process='',
> application='arc-review-board:8666|'): Loading WSGI script
> '/htdocs/reviewboard.wsgi'., referer: http://localhost:8666/
> [error] [client 127.0.0.1] mod_wsgi (pid=4684): Exception occurred
> processing WSGI script '/htdocs/reviewboard.wsgi'.,
> referer: http://localhost:8666/
> [error] [client 127.0.0.1] Traceback (most recent call last):,
> referer: http://localhost:8666/
> [error] [client 127.0.0.1]   File "\\lib\\site-
> packages\\django-1.3.1-py2.7.egg\\django\\core\\handlers\\wsgi.py",
> line 250, in __call__, referer: http://localhost:8666/
> [error] [client 127.0.0.1] self.load_middleware(), referer:
> http://localhost:8666/
> [error] [client 127.0.0.1]   File "\\lib\\site-
> packages\\django-1.3.1-py2.7.egg\\django\\core\\handlers\\base.py",
> line 47, in load_middleware, referer: http://localhost:8666/
> [error] [client 127.0.0.1] raise
> exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"'
> % (mw_module, e)), referer: http://localhost:8666/
> [error] [client 127.0.0.1] ImproperlyConfigured: Error importing
> middleware reviewboard.admin.middleware: "DLL load failed: A dynamic
> link library (DLL) initialization routine failed.", referer:
> http://localhost:8666/
> 
> I have also changed the the site's "settings_local.py" file to include
> the line "DEBUG = True" but no output is added to the logs directory.
> 
> Thanks for any assistance.
> 
> -- 
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: "Review Board is taking a nap"

2012-05-23 Thread mark.har...@arcinnovations.co.nz
Additional information about installed components:

PostgreSQL v 9.1
Patch v 2.5.9-7
Python v 2.7
PIL v 1.1.7
Psycopg2 v 2.4.5
Pycrypto v 2.1.0
PySVN v 1.7.6-1457
Setuptools v 0.6c11
Slik subversion v 1.7.4

Pycrypto v 2.3 was removed and 2.1 subsequently installed as the
former was causing errors.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


"Review Board is taking a nap"

2012-05-23 Thread mark.har...@arcinnovations.co.nz
I get the above error when I try and access a recently installed
version of ReviewBoard.

I am running Windows 7, Apache httpd server v 2.2.22, ReviewBoard v
1.6. Everything is 32-bit as I was experiencing real problems when
using 64-bit versions of the installed components.

Looking at the "access.log" file, it seems like there is an error
occurring somewhere:

127.0.0.1 - - [24/May/2012:14:53:37 +1200] "GET / HTTP/1.1" 500 1540
127.0.0.1 - - [24/May/2012:14:53:37 +1200] "GET /favicon.ico HTTP/1.1"
404 209

I have amended the server's "httpd.conf" file so that the LogLevel is
set to debug. There are no errors raised when either the server starts
up or I try and access ReviewBoard via a browser and get the "taking a
nap" screen.

I don't know whether it is related but the following errors appear
when I shut down the server:

[info] [client 127.0.0.1] mod_wsgi (pid=4684, process='',
application='arc-review-board:8666|'): Loading WSGI script
'/htdocs/reviewboard.wsgi'., referer: http://localhost:8666/
[error] [client 127.0.0.1] mod_wsgi (pid=4684): Exception occurred
processing WSGI script '/htdocs/reviewboard.wsgi'.,
referer: http://localhost:8666/
[error] [client 127.0.0.1] Traceback (most recent call last):,
referer: http://localhost:8666/
[error] [client 127.0.0.1]   File "\\lib\\site-
packages\\django-1.3.1-py2.7.egg\\django\\core\\handlers\\wsgi.py",
line 250, in __call__, referer: http://localhost:8666/
[error] [client 127.0.0.1] self.load_middleware(), referer:
http://localhost:8666/
[error] [client 127.0.0.1]   File "\\lib\\site-
packages\\django-1.3.1-py2.7.egg\\django\\core\\handlers\\base.py",
line 47, in load_middleware, referer: http://localhost:8666/
[error] [client 127.0.0.1] raise
exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"'
% (mw_module, e)), referer: http://localhost:8666/
[error] [client 127.0.0.1] ImproperlyConfigured: Error importing
middleware reviewboard.admin.middleware: "DLL load failed: A dynamic
link library (DLL) initialization routine failed.", referer:
http://localhost:8666/

I have also changed the the site's "settings_local.py" file to include
the line "DEBUG = True" but no output is added to the logs directory.

Thanks for any assistance.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Windows installation: Creating a Review Board Site

2012-05-23 Thread mark.har...@arcinnovations.co.nz
> Does \var\www exist? That's typically a Linux path.

It didn't, no. I was following the installation instructions to the
letter.

I changed the directory an existing directory on the Windows box and
it was happier.

Thanks.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: problem with session cookies

2012-05-23 Thread Dado Feigenblatt

False alarm.
Problem solved after upgrading to the latest version of requests, 
0.12.1
Lesson learned: make sure the docs and the package are the same 
version.


Thanks,
Dado


On Wed, 23 May 2012 14:36:07 -0700, Dado Feigenblatt  
wrote:

Hi,

When I authenticate and receive a rbsessionid cookie back, the host
name is empty '', and discard=True.
I'm using the requests package.
I'm not sure if there are other parameters I should send with my
request to have the cookie properly set.
Any idea?

Thanks,
Dado


--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


problem with session cookies

2012-05-23 Thread Dado Feigenblatt

Hi,

When I authenticate and receive a rbsessionid cookie back, the host 
name is empty '', and discard=True.

I'm using the requests package.
I'm not sure if there are other parameters I should send with my 
request to have the cookie properly set.

Any idea?

Thanks,
Dado

--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: error while view-diff in Reviewboard 1.5.1 - Mercurial

2012-05-23 Thread Christian Hammond
Hi Shilpa,

I have no idea there. That's a first for me. We're writing the file and
then operating on it, so that shouldn't happen.

Sorry, I don't have an answer. Perhaps something is being aggressive and
removing temp files? How often do this happen?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Wed, May 23, 2012 at 4:43 AM, Shilpa Gaikwad wrote:

>
>   Hi Chris,
>
>  I am getting following error while doing view diff in review request.
> Please help me.
>
>
> [Errno 2] No such file or directory:
> 'c:\\windows\\temp\\reviewboard.1aazp_\\tmpseiaxv-new'
>
> Traceback (most recent call last):
>   File 
> "c:\python25\lib\site-packages\ReviewBoard-1.5.5-py2.5.egg\reviewboard\diffviewer\views.py",
>  line 153, in view_diff
> interdiffset, highlighting, True)
>   File 
> "c:\python25\lib\site-packages\ReviewBoard-1.5.5-py2.5.egg\reviewboard\diffviewer\diffutils.py",
>  line 1066, in get_diff_files
> large_data=True)
>   File 
> "c:\python25\lib\site-packages\Djblets-0.6.17-py2.5.egg\djblets\util\misc.py",
>  line 156, in cache_memoize
> data = lookup_callable()
>   File 
> "c:\python25\lib\site-packages\ReviewBoard-1.5.5-py2.5.egg\reviewboard\diffviewer\diffutils.py",
>  line 1065, in 
> enable_syntax_highlighting)),
>   File 
> "c:\python25\lib\site-packages\ReviewBoard-1.5.5-py2.5.egg\reviewboard\diffviewer\diffutils.py",
>  line 552, in get_chunks
> new = get_patched_file(old, filediff)
>   File 
> "c:\python25\lib\site-packages\ReviewBoard-1.5.5-py2.5.egg\reviewboard\diffviewer\diffutils.py",
>  line 374, in get_patched_file
> return patch(filediff.diff, buffer, filediff.dest_file)
>   File 
> "c:\python25\lib\site-packages\ReviewBoard-1.5.5-py2.5.egg\reviewboard\diffviewer\diffutils.py",
>  line 244, in patch
> f = open(newfile, "r")
> IOError: [Errno 2] No such file or directory: 
> 'c:\\windows\\temp\\reviewboard.1aazp_\\tmpseiaxv-new'
>
>
>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Fwd: error while view-diff in Reviewboard 1.5.1 - Mercurial

2012-05-23 Thread Shilpa Gaikwad
Hi Chris,

 I am getting following error while doing view diff in review request.
Please help me.


[Errno 2] No such file or directory:
'c:\\windows\\temp\\reviewboard.1aazp_\\tmpseiaxv-new'

Traceback (most recent call last):
  File 
"c:\python25\lib\site-packages\ReviewBoard-1.5.5-py2.5.egg\reviewboard\diffviewer\views.py",
line 153, in view_diff
interdiffset, highlighting, True)
  File 
"c:\python25\lib\site-packages\ReviewBoard-1.5.5-py2.5.egg\reviewboard\diffviewer\diffutils.py",
line 1066, in get_diff_files
large_data=True)
  File 
"c:\python25\lib\site-packages\Djblets-0.6.17-py2.5.egg\djblets\util\misc.py",
line 156, in cache_memoize
data = lookup_callable()
  File 
"c:\python25\lib\site-packages\ReviewBoard-1.5.5-py2.5.egg\reviewboard\diffviewer\diffutils.py",
line 1065, in 
enable_syntax_highlighting)),
  File 
"c:\python25\lib\site-packages\ReviewBoard-1.5.5-py2.5.egg\reviewboard\diffviewer\diffutils.py",
line 552, in get_chunks
new = get_patched_file(old, filediff)
  File 
"c:\python25\lib\site-packages\ReviewBoard-1.5.5-py2.5.egg\reviewboard\diffviewer\diffutils.py",
line 374, in get_patched_file
return patch(filediff.diff, buffer, filediff.dest_file)
  File 
"c:\python25\lib\site-packages\ReviewBoard-1.5.5-py2.5.egg\reviewboard\diffviewer\diffutils.py",
line 244, in patch
f = open(newfile, "r")
IOError: [Errno 2] No such file or directory:
'c:\\windows\\temp\\reviewboard.1aazp_\\tmpseiaxv-new'

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en