Re: Issue 1934 in reviewboard: Installation problem of reviewboard on windows

2012-01-21 Thread reviewboard

Updates:
Status: ThirdParty

Comment #1 on issue 1934 by trowb...@gmail.com: Installation problem of  
reviewboard on windows

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

I'm sorry I didn't catch this earlier--it just got buried under other  
stuff. You'll need to file this against the mysql-python project.


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Issue 1934 in reviewboard: Installation problem of reviewboard on windows

2011-01-04 Thread reviewboard

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

New issue 1934 by rajupunna: Installation problem of reviewboard on windows
http://code.google.com/p/reviewboard/issues/detail?id=1934

*NOTE: Do not post confidential information in this bug report.*

What version are you running?
I have installed the python2.7 and installed the reviewboard with the  
instructions which are there in the  
http://www.reviewboard.org/docs/manual/dev/admin/installation/windows/ page.


Installed mysql 5.5 version.

while running the  easy_install mysql-python  command , I am getting the  
follwing exception .


C:\Documents and Settings\FactsRnDeasy_install mysql-python
Searching for mysql-python
Reading http://pypi.python.org/simple/mysql-python/
Reading http://sourceforge.net/projects/mysql-python/
Reading http://sourceforge.net/projects/mysql-python
Best match: MySQL-python 1.2.3
Downloading  
http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz

Processing MySQL-python-1.2.3.tar.gz
Running MySQL-python-1.2.3\setup.py -q bdist_egg --dist-dir  
c:\docume~1\factsrnd\locals~1\temp\easy_install-dsfadk\MySQL

-python-1.2.3\egg-dist-tmp-jxvaoq
error: The system cannot find the file specified


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


What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What operating system are you using? What browser?

windows
Please provide any additional information below.


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Installation problem

2010-01-06 Thread Anthony Whitaker
It's just HTTP on on the LAN. But our network is all kinds of annoying for
security reasons (I work for a defense contractor), could it be a proxy
issue? I guess it'll be easier to diagnose after the logging stuff is
imported properly. Is there an eta on this? I'm reviewing Review Board and a
few others and I need to choose a package for my supervisor soon.

Thanks a ton Christian, you've been most hopeful.

Anthony

On Tue, Jan 5, 2010 at 7:35 PM, Christian Hammond chip...@chipx86.comwrote:

 It's a bug in that release. What's really happening is that there's an
 error with the repository information. It's trying to log it to the log file
 before showing it but, well, we didn't import the logging functionality in
 that part of the code. It'll be fixed in the upcoming beta.

 Is the repository HTTP-backed, or something like HTTPS, svn+ssh, etc?
 Generally you'll see that error when it's not able to verify that it's a
 repository. For example, it may not be resolving the hostname, or you may
 not have specified the path to the root of the repository (make sure it's to
 the root of the repository and not something inside it like trunk or a
 branch).


 Christian

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


 On Tue, Jan 5, 2010 at 4:27 PM, Anthony Whitaker awhita...@gmail.comwrote:

 Ah, yeah I've got it running now. Thanks a ton. I had an issue where the
 Repositories weren't showing up. So, I upgraded to the latest Review Board,
 install pysvn (I had installed the wrong version) and recreated the site as
 you specified. Now, it tells me that the global name 'logging' is not
 defined. I tried toggling the logging setting, no luck. I found a post of a
 similar issue but that guy was having the problem on the new review page and
 the solution didn't seem to apply. Any suggestions? This feels like the last
 hurdle. :)

 Thanks again,
 Anthony


 On Tue, Jan 5, 2010 at 6:11 PM, Christian Hammond chip...@chipx86.comwrote:

 The server name looks wrong. It needs to be an actual domain, not a path
 in a domain. If you were looking to use Review Board in
 http://localhost/reviewboard/, you'll want to re-run the rb-site create
 and enter localhost for the domain and /reviewboard/ for the site root on (I
 think) the following page.


 Christian

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


 On Tue, Jan 5, 2010 at 2:49 PM, Anthony Whitaker awhita...@gmail.comwrote:

 It says to install Patch.exe. However, I have installed it, it's in the
 path. And I read another post that suggested copying Patch.exe to the
 apache/bin folder (which I thought a bit odd).

 I installed PIL from an installer. I can import PIL from a python shell.

 Python 2.5.1, PIL 1.1.6, Apache 2.2,
 Using SQLite and mod_python, without memcache.

 The only error in the apache log is about a python version mismatch
 expecting 2.5 and finding 2.5.1.

 I now believe it's some sort of path issue. Typically I can access
 http://localhost/xampp for xampp settings... but currently even that
 URL shows the Manual Server Updates page.

 I've tried various changes in the configuration but haven't gotten
 anywhere... this is the current state of that:

 VirtualHost *:80
 ServerName localhost/reviewboard
 DocumentRoot C:/xampp/xampplite/htdocs/reviewboard/htdocs

 # Error handlers
 ErrorDocument 500 /errordocs/500.html

 # Serve django pages
 Location /
 PythonPath ['C:/xampp/xampplite/htdocs/reviewboard/conf'] +
 sys.path
 SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
 SetEnv PYTHON_EGG_CACHE
 C:/xampp/xampplite/htdocs/reviewboard/tmp/egg_cache
 SetHandler mod_python
 PythonHandler django.core.handlers.modpython
 PythonAutoReload Off
 PythonDebug Off
 # Used to run multiple mod_python sites in the same apache
 PythonInterpreter reviewboard_reviewboard
 /Location

 # Serve static media without running it through mod_python
 # (overrides the above)
 Location /media
 SetHandler None
 /Location
 Location /errordocs
 SetHandler None
 /Location

 Directory C:/xampp/xampplite/htdocs/reviewboard/htdocs
 AllowOverride All
 /Directory

 # Alias static media requests to filesystem
 Alias /media C:/xampp/xampplite/htdocs/reviewboard/htdocs/media
 Alias /errordocs
 C:/xampp/xampplite/htdocs/reviewboard/htdocs/errordocs
 /VirtualHost


 Thanks a ton for the guidance. Is there any other information I left
 out?




 On Tue, Jan 5, 2010 at 3:11 PM, Christian Hammond 
 chip...@chipx86.comwrote:

 There are several Manual Server Updates pages. What instructions is
 this one referring to?

 How did you install PIL? And what version of Python is PIL and Review
 Board using?

 Christian

 --
 Christian Hammond - chip...@chipx86.com

 Review Board - 

Re: Installation problem

2010-01-06 Thread Anthony Whitaker
I tried importing 'logging' myself and now I get an Authentication
failed I'm not sure if that's just an erroneous error or if it's
actually the problem. I verified that my login credentials were correct with
Tortoise.

On Wed, Jan 6, 2010 at 1:11 PM, Anthony Whitaker awhita...@gmail.comwrote:

 It's just HTTP on on the LAN. But our network is all kinds of annoying for
 security reasons (I work for a defense contractor), could it be a proxy
 issue? I guess it'll be easier to diagnose after the logging stuff is
 imported properly. Is there an eta on this? I'm reviewing Review Board and a
 few others and I need to choose a package for my supervisor soon.

 Thanks a ton Christian, you've been most hopeful.

 Anthony


 On Tue, Jan 5, 2010 at 7:35 PM, Christian Hammond chip...@chipx86.comwrote:

 It's a bug in that release. What's really happening is that there's an
 error with the repository information. It's trying to log it to the log file
 before showing it but, well, we didn't import the logging functionality in
 that part of the code. It'll be fixed in the upcoming beta.

 Is the repository HTTP-backed, or something like HTTPS, svn+ssh, etc?
 Generally you'll see that error when it's not able to verify that it's a
 repository. For example, it may not be resolving the hostname, or you may
 not have specified the path to the root of the repository (make sure it's to
 the root of the repository and not something inside it like trunk or a
 branch).


 Christian

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


 On Tue, Jan 5, 2010 at 4:27 PM, Anthony Whitaker awhita...@gmail.comwrote:

 Ah, yeah I've got it running now. Thanks a ton. I had an issue where the
 Repositories weren't showing up. So, I upgraded to the latest Review Board,
 install pysvn (I had installed the wrong version) and recreated the site as
 you specified. Now, it tells me that the global name 'logging' is not
 defined. I tried toggling the logging setting, no luck. I found a post of a
 similar issue but that guy was having the problem on the new review page and
 the solution didn't seem to apply. Any suggestions? This feels like the last
 hurdle. :)

 Thanks again,
 Anthony


 On Tue, Jan 5, 2010 at 6:11 PM, Christian Hammond 
 chip...@chipx86.comwrote:

 The server name looks wrong. It needs to be an actual domain, not a path
 in a domain. If you were looking to use Review Board in
 http://localhost/reviewboard/, you'll want to re-run the rb-site create
 and enter localhost for the domain and /reviewboard/ for the site root on 
 (I
 think) the following page.


 Christian

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


 On Tue, Jan 5, 2010 at 2:49 PM, Anthony Whitaker 
 awhita...@gmail.comwrote:

 It says to install Patch.exe. However, I have installed it, it's in the
 path. And I read another post that suggested copying Patch.exe to the
 apache/bin folder (which I thought a bit odd).

 I installed PIL from an installer. I can import PIL from a python
 shell.

 Python 2.5.1, PIL 1.1.6, Apache 2.2,
 Using SQLite and mod_python, without memcache.

 The only error in the apache log is about a python version mismatch
 expecting 2.5 and finding 2.5.1.

 I now believe it's some sort of path issue. Typically I can access
 http://localhost/xampp for xampp settings... but currently even that
 URL shows the Manual Server Updates page.

 I've tried various changes in the configuration but haven't gotten
 anywhere... this is the current state of that:

 VirtualHost *:80
 ServerName localhost/reviewboard
 DocumentRoot C:/xampp/xampplite/htdocs/reviewboard/htdocs

 # Error handlers
 ErrorDocument 500 /errordocs/500.html

 # Serve django pages
 Location /
 PythonPath ['C:/xampp/xampplite/htdocs/reviewboard/conf'] +
 sys.path
 SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
 SetEnv PYTHON_EGG_CACHE
 C:/xampp/xampplite/htdocs/reviewboard/tmp/egg_cache
 SetHandler mod_python
 PythonHandler django.core.handlers.modpython
 PythonAutoReload Off
 PythonDebug Off
 # Used to run multiple mod_python sites in the same apache
 PythonInterpreter reviewboard_reviewboard
 /Location

 # Serve static media without running it through mod_python
 # (overrides the above)
 Location /media
 SetHandler None
 /Location
 Location /errordocs
 SetHandler None
 /Location

 Directory C:/xampp/xampplite/htdocs/reviewboard/htdocs
 AllowOverride All
 /Directory

 # Alias static media requests to filesystem
 Alias /media C:/xampp/xampplite/htdocs/reviewboard/htdocs/media
 Alias /errordocs
 C:/xampp/xampplite/htdocs/reviewboard/htdocs/errordocs
 /VirtualHost


 Thanks a ton for the guidance. Is there any other information I left
 out?




 On Tue, Jan 5, 

Re: Installation problem

2010-01-05 Thread Christian Hammond
There are several Manual Server Updates pages. What instructions is this one
referring to?

How did you install PIL? And what version of Python is PIL and Review Board
using?

Christian

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


On Tue, Jan 5, 2010 at 11:17 AM, Anthony awhita...@gmail.com wrote:

 I have this same problem... except PIL is installed correctly. The
 main page shows a yellow box that says Manual server updates
 required and a blue box that says something about installing Gnu
 Patch. Patch is installed and is in the path. I can run it from any
 command line.

 Any ideas?

 On Dec 16 2009, 8:00 am, Dregel dre...@gmail.com wrote:
  This did the trick:
  yum install python-imaging
 
  On Dec 15, 4:44 pm, Dregel dre...@gmail.com wrote:
 
   Looks like the installation of PIL did fail. I'll start there then.
   Cheers!
 
   Python 2.4.3 (#1, Sep  3 2009, 15:37:37)
   ... import PIL
 
   Traceback (most recent call last):
 File stdin, line 1, in ?
 
   Easy_install, yeah right...
 
   On Dec 15, 1:17 am, Christian Hammond chip...@chipx86.com wrote:
 
From a python prompt, type:
 
import PIL
 
If that fails, then PIL is not installed on the system. If it does
 work,
then we need to investigate why your Python isn't seeing it. I assume
 you've
done a webserverrestart since installing Review Board?
 
Christian
 
--
Christian Hammond - chip...@chipx86.com
Review Board -http://www.reviewboard.org
VMware, Inc. -http://www.vmware.com
 
On Mon, Dec 14, 2009 at 4:03 PM, nshenry03 nshenr...@gmail.com
 wrote:
 I am getting the same issue:
 
 r...@scubuntuvm1:~# python --version
 Python 2.5.2
 r...@scubuntuvm1:~# lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:Ubuntu 8.04.3 LTS
 Release:8.04
 Codename:   hardy
 r...@scubuntuvm1:~# uname -r
 2.6.24-23-generic
 
 On Dec 14, 2:26 pm, Christian Hammond chip...@chipx86.com wrote:
  Hi,
 
  The manualupdatespage is old and generally isn't seen anymore.
 We'll
 need
  to update the text to reference rb-site instead of manage.py.
 
  The error definitely seems to be that PIL isn't installed
 correctly. Yes,
  easy_install should get it, but perhaps something went wrong.
 What
 version
  of Python is being used on the system?
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
  On Mon, Dec 14, 2009 at 12:07 PM, Dregel dre...@gmail.com
 wrote:
   Hi,
 
   After following the installation guide, I got RB kind of
 working on
   centos but when I go to default page I get the message:
 Manualserver
  updatesrequired
 
   The suggestion is to run manage.py. After some investigation I
 found
   someone that recommended a rb-site upgrade instead and that
 command
   reveals a problem:
 
   []# rb-site -d upgrade /var/www/reviewboard
   Rebuilding directory structure
   Updating database. This may take a while.
   Error: One or more models did not validate:
   reviews.screenshot: image: To use ImageFields, you need to
 install
   the Python Imaging Library. Get it at
  http://www.pythonware.com/products/pil/
   .
 
   What gives? I thought PIL was correctly installed when running
   easy_install but it's not working. Any suggestions?
 
   --
   Want to help the Review Board project? Donate today at
  http://www.reviewboard.org/donate/
   Happy user? Let us know athttp://www.reviewboard.org/users/
   -~--~~~~--~~--~--~---
   To unsubscribe from this group, send email to
   reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com
 reviewboard%2bunsubscr...@googlegroups.comreviewboard%252bunsubscr...@googlegroups.com
 
 reviewboard%2bunsubscr...@googlegroups.comreviewboard%252bunsubscr...@googlegroups.com
 reviewboard%252bunsubscr...@googlegroups.comreviewboard%25252bunsubscr...@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 athttp://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com
 reviewboard%2bunsubscr...@googlegroups.comreviewboard%252bunsubscr...@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 

Re: Installation problem

2010-01-05 Thread Anthony Whitaker
It says to install Patch.exe. However, I have installed it, it's in the
path. And I read another post that suggested copying Patch.exe to the
apache/bin folder (which I thought a bit odd).

I installed PIL from an installer. I can import PIL from a python shell.

Python 2.5.1, PIL 1.1.6, Apache 2.2,
Using SQLite and mod_python, without memcache.

The only error in the apache log is about a python version mismatch
expecting 2.5 and finding 2.5.1.

I now believe it's some sort of path issue. Typically I can access
http://localhost/xampp for xampp settings... but currently even that URL
shows the Manual Server Updates page.

I've tried various changes in the configuration but haven't gotten
anywhere... this is the current state of that:

VirtualHost *:80
ServerName localhost/reviewboard
DocumentRoot C:/xampp/xampplite/htdocs/reviewboard/htdocs

# Error handlers
ErrorDocument 500 /errordocs/500.html

# Serve django pages
Location /
PythonPath ['C:/xampp/xampplite/htdocs/reviewboard/conf'] +
sys.path
SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
SetEnv PYTHON_EGG_CACHE
C:/xampp/xampplite/htdocs/reviewboard/tmp/egg_cache
SetHandler mod_python
PythonHandler django.core.handlers.modpython
PythonAutoReload Off
PythonDebug Off
# Used to run multiple mod_python sites in the same apache
PythonInterpreter reviewboard_reviewboard
/Location

# Serve static media without running it through mod_python
# (overrides the above)
Location /media
SetHandler None
/Location
Location /errordocs
SetHandler None
/Location

Directory C:/xampp/xampplite/htdocs/reviewboard/htdocs
AllowOverride All
/Directory

# Alias static media requests to filesystem
Alias /media C:/xampp/xampplite/htdocs/reviewboard/htdocs/media
Alias /errordocs
C:/xampp/xampplite/htdocs/reviewboard/htdocs/errordocs
/VirtualHost


Thanks a ton for the guidance. Is there any other information I left out?



On Tue, Jan 5, 2010 at 3:11 PM, Christian Hammond chip...@chipx86.comwrote:

 There are several Manual Server Updates pages. What instructions is this
 one referring to?

 How did you install PIL? And what version of Python is PIL and Review Board
 using?

 Christian

 --
 Christian Hammond - chip...@chipx86.com

 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Tue, Jan 5, 2010 at 11:17 AM, Anthony awhita...@gmail.com wrote:

 I have this same problem... except PIL is installed correctly. The
 main page shows a yellow box that says Manual server updates
 required and a blue box that says something about installing Gnu
 Patch. Patch is installed and is in the path. I can run it from any
 command line.

 Any ideas?

 On Dec 16 2009, 8:00 am, Dregel dre...@gmail.com wrote:
  This did the trick:
  yum install python-imaging
 
  On Dec 15, 4:44 pm, Dregel dre...@gmail.com wrote:
 
   Looks like the installation of PIL did fail. I'll start there then.
   Cheers!
 
   Python 2.4.3 (#1, Sep  3 2009, 15:37:37)
   ... import PIL
 
   Traceback (most recent call last):
 File stdin, line 1, in ?
 
   Easy_install, yeah right...
 
   On Dec 15, 1:17 am, Christian Hammond chip...@chipx86.com wrote:
 
From a python prompt, type:
 
import PIL
 
If that fails, then PIL is not installed on the system. If it does
 work,
then we need to investigate why your Python isn't seeing it. I
 assume you've
done a webserverrestart since installing Review Board?
 
Christian
 
--
Christian Hammond - chip...@chipx86.com
Review Board -http://www.reviewboard.org
VMware, Inc. -http://www.vmware.com
 
On Mon, Dec 14, 2009 at 4:03 PM, nshenry03 nshenr...@gmail.com
 wrote:
 I am getting the same issue:
 
 r...@scubuntuvm1:~# python --version
 Python 2.5.2
 r...@scubuntuvm1:~# lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:Ubuntu 8.04.3 LTS
 Release:8.04
 Codename:   hardy
 r...@scubuntuvm1:~# uname -r
 2.6.24-23-generic
 
 On Dec 14, 2:26 pm, Christian Hammond chip...@chipx86.com
 wrote:
  Hi,
 
  The manualupdatespage is old and generally isn't seen anymore.
 We'll
 need
  to update the text to reference rb-site instead of manage.py.
 
  The error definitely seems to be that PIL isn't installed
 correctly. Yes,
  easy_install should get it, but perhaps something went wrong.
 What
 version
  of Python is being used on the system?
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
  On Mon, Dec 14, 2009 at 12:07 PM, Dregel dre...@gmail.com
 wrote:
   Hi,
 
   After following the installation guide, I got RB kind of
 working on
   centos but when I go to default page I get the message:
 

Re: Installation problem

2010-01-05 Thread Christian Hammond
It's a bug in that release. What's really happening is that there's an error
with the repository information. It's trying to log it to the log file
before showing it but, well, we didn't import the logging functionality in
that part of the code. It'll be fixed in the upcoming beta.

Is the repository HTTP-backed, or something like HTTPS, svn+ssh, etc?
Generally you'll see that error when it's not able to verify that it's a
repository. For example, it may not be resolving the hostname, or you may
not have specified the path to the root of the repository (make sure it's to
the root of the repository and not something inside it like trunk or a
branch).

Christian

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


On Tue, Jan 5, 2010 at 4:27 PM, Anthony Whitaker awhita...@gmail.comwrote:

 Ah, yeah I've got it running now. Thanks a ton. I had an issue where the
 Repositories weren't showing up. So, I upgraded to the latest Review Board,
 install pysvn (I had installed the wrong version) and recreated the site as
 you specified. Now, it tells me that the global name 'logging' is not
 defined. I tried toggling the logging setting, no luck. I found a post of a
 similar issue but that guy was having the problem on the new review page and
 the solution didn't seem to apply. Any suggestions? This feels like the last
 hurdle. :)

 Thanks again,
 Anthony


 On Tue, Jan 5, 2010 at 6:11 PM, Christian Hammond chip...@chipx86.comwrote:

 The server name looks wrong. It needs to be an actual domain, not a path
 in a domain. If you were looking to use Review Board in
 http://localhost/reviewboard/, you'll want to re-run the rb-site create
 and enter localhost for the domain and /reviewboard/ for the site root on (I
 think) the following page.


 Christian

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


 On Tue, Jan 5, 2010 at 2:49 PM, Anthony Whitaker awhita...@gmail.comwrote:

 It says to install Patch.exe. However, I have installed it, it's in the
 path. And I read another post that suggested copying Patch.exe to the
 apache/bin folder (which I thought a bit odd).

 I installed PIL from an installer. I can import PIL from a python shell.

 Python 2.5.1, PIL 1.1.6, Apache 2.2,
 Using SQLite and mod_python, without memcache.

 The only error in the apache log is about a python version mismatch
 expecting 2.5 and finding 2.5.1.

 I now believe it's some sort of path issue. Typically I can access
 http://localhost/xampp for xampp settings... but currently even that URL
 shows the Manual Server Updates page.

 I've tried various changes in the configuration but haven't gotten
 anywhere... this is the current state of that:

 VirtualHost *:80
 ServerName localhost/reviewboard
 DocumentRoot C:/xampp/xampplite/htdocs/reviewboard/htdocs

 # Error handlers
 ErrorDocument 500 /errordocs/500.html

 # Serve django pages
 Location /
 PythonPath ['C:/xampp/xampplite/htdocs/reviewboard/conf'] +
 sys.path
 SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
 SetEnv PYTHON_EGG_CACHE
 C:/xampp/xampplite/htdocs/reviewboard/tmp/egg_cache
 SetHandler mod_python
 PythonHandler django.core.handlers.modpython
 PythonAutoReload Off
 PythonDebug Off
 # Used to run multiple mod_python sites in the same apache
 PythonInterpreter reviewboard_reviewboard
 /Location

 # Serve static media without running it through mod_python
 # (overrides the above)
 Location /media
 SetHandler None
 /Location
 Location /errordocs
 SetHandler None
 /Location

 Directory C:/xampp/xampplite/htdocs/reviewboard/htdocs
 AllowOverride All
 /Directory

 # Alias static media requests to filesystem
 Alias /media C:/xampp/xampplite/htdocs/reviewboard/htdocs/media
 Alias /errordocs
 C:/xampp/xampplite/htdocs/reviewboard/htdocs/errordocs
 /VirtualHost


 Thanks a ton for the guidance. Is there any other information I left out?




 On Tue, Jan 5, 2010 at 3:11 PM, Christian Hammond 
 chip...@chipx86.comwrote:

 There are several Manual Server Updates pages. What instructions is this
 one referring to?

 How did you install PIL? And what version of Python is PIL and Review
 Board using?

 Christian

 --
 Christian Hammond - chip...@chipx86.com

 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Tue, Jan 5, 2010 at 11:17 AM, Anthony awhita...@gmail.com wrote:

 I have this same problem... except PIL is installed correctly. The
 main page shows a yellow box that says Manual server updates
 required and a blue box that says something about installing Gnu
 Patch. Patch is installed and is in the path. I can run it from any
 command line.

 Any ideas?

 On Dec 16 2009, 8:00 am, Dregel dre...@gmail.com wrote:
  This did the trick:
  

Re: Installation problem

2009-12-16 Thread Dregel
This did the trick:
yum install python-imaging

On Dec 15, 4:44 pm, Dregel dre...@gmail.com wrote:
 Looks like the installation of PIL did fail. I'll start there then.
 Cheers!

 Python 2.4.3 (#1, Sep  3 2009, 15:37:37)
 ... import PIL

 Traceback (most recent call last):
   File stdin, line 1, in ?

 Easy_install, yeah right...

 On Dec 15, 1:17 am, Christian Hammond chip...@chipx86.com wrote:

  From a python prompt, type:

      import PIL

  If that fails, then PIL is not installed on the system. If it does work,
  then we need to investigate why your Python isn't seeing it. I assume you've
  done a web server restart since installing Review Board?

  Christian

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

  On Mon, Dec 14, 2009 at 4:03 PM, nshenry03 nshenr...@gmail.com wrote:
   I am getting the same issue:

   r...@scubuntuvm1:~# python --version
   Python 2.5.2
   r...@scubuntuvm1:~# lsb_release -a
   No LSB modules are available.
   Distributor ID: Ubuntu
   Description:    Ubuntu 8.04.3 LTS
   Release:        8.04
   Codename:       hardy
   r...@scubuntuvm1:~# uname -r
   2.6.24-23-generic

   On Dec 14, 2:26 pm, Christian Hammond chip...@chipx86.com wrote:
Hi,

The manual updates page is old and generally isn't seen anymore. We'll
   need
to update the text to reference rb-site instead of manage.py.

The error definitely seems to be that PIL isn't installed correctly. 
Yes,
easy_install should get it, but perhaps something went wrong. What
   version
of Python is being used on the system?

Christian

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

On Mon, Dec 14, 2009 at 12:07 PM, Dregel dre...@gmail.com wrote:
 Hi,

 After following the installation guide, I got RB kind of working on
 centos but when I go to default page I get the message: Manual server
 updates required

 The suggestion is to run manage.py. After some investigation I found
 someone that recommended a rb-site upgrade instead and that command
 reveals a problem:

 []# rb-site -d upgrade /var/www/reviewboard
 Rebuilding directory structure
 Updating database. This may take a while.
 Error: One or more models did not validate:
 reviews.screenshot: image: To use ImageFields, you need to install
 the Python Imaging Library. Get it at
http://www.pythonware.com/products/pil/
 .

 What gives? I thought PIL was correctly installed when running
 easy_install but it's not working. Any suggestions?

 --
 Want to help the Review Board project? Donate today at
http://www.reviewboard.org/donate/
 Happy user? Let us know athttp://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com
   reviewboard%2bunsubscr...@googlegroups.comreviewboard%252bunsubscr...@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 athttp://www.reviewboard.org/users/
   -~--~~~~--~~--~--~---
   To unsubscribe from this group, send email to
   reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@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: Installation problem

2009-12-14 Thread nshenry03
I am getting the same issue:

r...@scubuntuvm1:~# python --version
Python 2.5.2
r...@scubuntuvm1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 8.04.3 LTS
Release:8.04
Codename:   hardy
r...@scubuntuvm1:~# uname -r
2.6.24-23-generic

On Dec 14, 2:26 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi,

 The manual updates page is old and generally isn't seen anymore. We'll need
 to update the text to reference rb-site instead of manage.py.

 The error definitely seems to be that PIL isn't installed correctly. Yes,
 easy_install should get it, but perhaps something went wrong. What version
 of Python is being used on the system?

 Christian

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

 On Mon, Dec 14, 2009 at 12:07 PM, Dregel dre...@gmail.com wrote:
  Hi,

  After following the installation guide, I got RB kind of working on
  centos but when I go to default page I get the message: Manual server
  updates required

  The suggestion is to run manage.py. After some investigation I found
  someone that recommended a rb-site upgrade instead and that command
  reveals a problem:

  []# rb-site -d upgrade /var/www/reviewboard
  Rebuilding directory structure
  Updating database. This may take a while.
  Error: One or more models did not validate:
  reviews.screenshot: image: To use ImageFields, you need to install
  the Python Imaging Library. Get it at
 http://www.pythonware.com/products/pil/
  .

  What gives? I thought PIL was correctly installed when running
  easy_install but it's not working. Any suggestions?

  --
  Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
  Happy user? Let us know athttp://www.reviewboard.org/users/
  -~--~~~~--~~--~--~---
  To unsubscribe from this group, send email to
  reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@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: Installation problem

2009-12-14 Thread Christian Hammond
From a python prompt, type:

import PIL

If that fails, then PIL is not installed on the system. If it does work,
then we need to investigate why your Python isn't seeing it. I assume you've
done a web server restart since installing Review Board?

Christian

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


On Mon, Dec 14, 2009 at 4:03 PM, nshenry03 nshenr...@gmail.com wrote:

 I am getting the same issue:

 r...@scubuntuvm1:~# python --version
 Python 2.5.2
 r...@scubuntuvm1:~# lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:Ubuntu 8.04.3 LTS
 Release:8.04
 Codename:   hardy
 r...@scubuntuvm1:~# uname -r
 2.6.24-23-generic

 On Dec 14, 2:26 pm, Christian Hammond chip...@chipx86.com wrote:
  Hi,
 
  The manual updates page is old and generally isn't seen anymore. We'll
 need
  to update the text to reference rb-site instead of manage.py.
 
  The error definitely seems to be that PIL isn't installed correctly. Yes,
  easy_install should get it, but perhaps something went wrong. What
 version
  of Python is being used on the system?
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.reviewboard.org
  VMware, Inc. -http://www.vmware.com
 
  On Mon, Dec 14, 2009 at 12:07 PM, Dregel dre...@gmail.com wrote:
   Hi,
 
   After following the installation guide, I got RB kind of working on
   centos but when I go to default page I get the message: Manual server
   updates required
 
   The suggestion is to run manage.py. After some investigation I found
   someone that recommended a rb-site upgrade instead and that command
   reveals a problem:
 
   []# rb-site -d upgrade /var/www/reviewboard
   Rebuilding directory structure
   Updating database. This may take a while.
   Error: One or more models did not validate:
   reviews.screenshot: image: To use ImageFields, you need to install
   the Python Imaging Library. Get it at
  http://www.pythonware.com/products/pil/
   .
 
   What gives? I thought PIL was correctly installed when running
   easy_install but it's not working. Any suggestions?
 
   --
   Want to help the Review Board project? Donate today at
  http://www.reviewboard.org/donate/
   Happy user? Let us know athttp://www.reviewboard.org/users/
   -~--~~~~--~~--~--~---
   To unsubscribe from this group, send email to
   reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com
 reviewboard%2bunsubscr...@googlegroups.comreviewboard%252bunsubscr...@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.comreviewboard%2bunsubscr...@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 installation problem

2009-10-19 Thread 王振钢

Hi Christian,

 

This old problem is still not solved, I've found that the pysvn directory is 
not in the python path list, but I'm sure I have installed the pysvn module, 
then how can I add it into the python path?

 

Regards!
 


From: chip...@chipx86.com
Date: Tue, 25 Aug 2009 20:28:56 -0700
Subject: Re: Review board installation problem
To: reviewboard@googlegroups.com

It sounds like it's the wrong PySVN, or somehow incompatible. Which version did 
you install and where did you get it from?

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



On Tue, Aug 25, 2009 at 8:13 PM, snowman zgwan...@hotmail.com wrote:


Now I have another problem,

when I try to create a new review request, the system broke down,

Fowlling message is what I got when I turn on the debug mode:
ImportError at /reviews/r/new/
DLL load failed: The specified procedure could not be found.Request
Method: GET
Request URL: http://localhost:8080/reviews/r/new/
Exception Type: ImportError
Exception Value: DLL load failed: The specified procedure could not be
found.
Exception Location: C:\Python25\lib\site-packages\pysvn\__init__.py in
module, line 99
Python Executable: C:\Program Files\Apache Software Foundation
\Apache2.2\bin\httpd.exe
Python Version: 2.5.1
Python Path: ['d:/ReviewBoardSite/conf', 'C:\\Python25\\lib\\site-
packages\\python_memcached-1.44-py2.5.egg', 'C:\\Python25\\lib\\site-
packages\\pytz-2009j-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
\flup-1.0.3.dev_20090716-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
\pygments-1.0-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
\djblets-0.5.1-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
\django_evolution-0.0.0-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
\django-1.1-py2.5.egg', 'C:\\Python25\\lib\\site-packages\\pil-1.1.6-
py2.5-win32.egg', 'C:\\Python25\\lib\\site-packages\
\reviewboard-1.1alpha1.dev_r0-py2.5.egg', 'C:\\WINDOWS\\system32\
\python25.zip', 'C:\\Python25\\Lib', 'C:\\Python25\\DLLs', 'C:\
\Python25\\Lib\\lib-tk', 'C:\\Program Files\\Apache Software Foundation
\\Apache2.2', 'C:\\Program Files\\Apache Software Foundation\
\Apache2.2\\bin', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages',
'C:\\Python25\\lib\\site-packages\\PIL', 'C:\\Python25\\lib\\site-
packages\\win32', 'C:\\Python25\\lib\\site-packages\\win32\\lib', 'C:\
\Python25\\lib\\site-packages\\Pythonwin']
Server time: Wed, 26 Aug 2009 10:15:55 +0800

Traceback:
File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django\core
\handlers\base.py in get_response
 92. response = callback(request, *callback_args,
**callback_kwargs)
File c:\python25\lib\site-packages\Djblets-0.5.1-py2.5.egg\djblets
\auth\util.py in _checklogin
 45. return view_func(request, *args, **kwargs)
File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1.dev_r0-
py2.5.egg\reviewboard\reviews\views.py in new_review_request
 84. fields[repo.id] = repo.get_scmtool().get_fields()
File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1.dev_r0-
py2.5.egg\reviewboard\scmtools\models.py in get_scmtool
 45. return cls(self)
File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1.dev_r0-
py2.5.egg\reviewboard\scmtools\svn.py in __init__
 50. import pysvn
File C:\Python25\lib\site-packages\pysvn\__init__.py in module
 99. import _pysvn_2_5

Exception Type: ImportError at /reviews/r/new/
Exception Value: DLL load failed: The specified procedure could not be
found.


I don't know if it is due to some wrong configuration, the problem has
bothered me for days...







  
_
心跳斗地主新版体验,给你360度的心跳体验!
http://club.msn.cn/
--~--~-~--~~~---~--~~
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 installation problem

2009-10-19 Thread Christian Hammond
It sounds like you didn't install pysvn into your installed Python
site-packages directory. You might want to try reinstalling it into the
appropriate directory.

Installation on Windows is generally very annoying. You might want to
consider installing on Linux on either a dedicated server or in a VM if this
doesn't work.

Christian

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


2009/10/19 王振钢 zgwan...@hotmail.com

  Hi Christian,

 This old problem is still not solved, I've found that the pysvn directory
 is not in the python path list, but I'm sure I have installed the pysvn
 module, then how can I add it into the python path?

 Regards!

 --
 From: chip...@chipx86.com
 Date: Tue, 25 Aug 2009 20:28:56 -0700
 Subject: Re: Review board installation problem
 To: reviewboard@googlegroups.com

 It sounds like it's the wrong PySVN, or somehow incompatible. Which version
 did you install and where did you get it from?

 Christian

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


 On Tue, Aug 25, 2009 at 8:13 PM, snowman zgwan...@hotmail.com wrote:


 Now I have another problem,

 when I try to create a new review request, the system broke down,

 Fowlling message is what I got when I turn on the debug mode:
 ImportError at /reviews/r/new/
 DLL load failed: The specified procedure could not be found.Request
 Method: GET
 Request URL: http://localhost:8080/reviews/r/new/
 Exception Type: ImportError
 Exception Value: DLL load failed: The specified procedure could not be
 found.
 Exception Location: C:\Python25\lib\site-packages\pysvn\__init__.py in
 module, line 99
 Python Executable: C:\Program Files\Apache Software Foundation
 \Apache2.2\bin\httpd.exe
 Python Version: 2.5.1
 Python Path: ['d:/ReviewBoardSite/conf', 'C:\\Python25\\lib\\site-
 packages\\python_memcached-1.44-py2.5.egg', 'C:\\Python25\\lib\\site-
 packages\\pytz-2009j-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
 \flup-1.0.3.dev_20090716-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
 \pygments-1.0-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
 \djblets-0.5.1-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
 \django_evolution-0.0.0-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
 \django-1.1-py2.5.egg', 'C:\\Python25\\lib\\site-packages\\pil-1.1.6-
 py2.5-win32.egg', 'C:\\Python25\\lib\\site-packages\
 \reviewboard-1.1alpha1.dev_r0-py2.5.egg', 'C:\\WINDOWS\\system32\
 \python25.zip', 'C:\\Python25\\Lib', 'C:\\Python25\\DLLs', 'C:\
 \Python25\\Lib\\lib-tk', 'C:\\Program Files\\Apache Software Foundation
 \\Apache2.2', 'C:\\Program Files\\Apache Software Foundation\
 \Apache2.2\\bin', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages',
 'C:\\Python25\\lib\\site-packages\\PIL', 'C:\\Python25\\lib\\site-
 packages\\win32', 'C:\\Python25\\lib\\site-packages\\win32\\lib', 'C:\
 \Python25\\lib\\site-packages\\Pythonwin']
 Server time: Wed, 26 Aug 2009 10:15:55 +0800

 Traceback:
 File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django\core
 \handlers\base.py in get_response
  92. response = callback(request, *callback_args,
 **callback_kwargs)
 File c:\python25\lib\site-packages\Djblets-0.5.1-py2.5.egg\djblets
 \auth\util.py in _checklogin
  45. return view_func(request, *args, **kwargs)
 File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1.dev_r0-
 py2.5.egg\reviewboard\reviews\views.py in new_review_request
  84. fields[repo.id] = repo.get_scmtool().get_fields()
 File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1.dev_r0-
 py2.5.egg\reviewboard\scmtools\models.py in get_scmtool
  45. return cls(self)
 File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1.dev_r0-
 py2.5.egg\reviewboard\scmtools\svn.py in __init__
  50. import pysvn
 File C:\Python25\lib\site-packages\pysvn\__init__.py in module
  99. import _pysvn_2_5

 Exception Type: ImportError at /reviews/r/new/
 Exception Value: DLL load failed: The specified procedure could not be
 found.


 I don't know if it is due to some wrong configuration, the problem has
 bothered me for days...



  To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@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 installation problem

2009-08-25 Thread snowman

Now I have another problem,

when I try to create a new review request, the system broke down,

Fowlling message is what I got when I turn on the debug mode:
ImportError at /reviews/r/new/
DLL load failed: The specified procedure could not be found.Request
Method: GET
Request URL: http://localhost:8080/reviews/r/new/
Exception Type: ImportError
Exception Value: DLL load failed: The specified procedure could not be
found.
Exception Location: C:\Python25\lib\site-packages\pysvn\__init__.py in
module, line 99
Python Executable: C:\Program Files\Apache Software Foundation
\Apache2.2\bin\httpd.exe
Python Version: 2.5.1
Python Path: ['d:/ReviewBoardSite/conf', 'C:\\Python25\\lib\\site-
packages\\python_memcached-1.44-py2.5.egg', 'C:\\Python25\\lib\\site-
packages\\pytz-2009j-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
\flup-1.0.3.dev_20090716-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
\pygments-1.0-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
\djblets-0.5.1-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
\django_evolution-0.0.0-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
\django-1.1-py2.5.egg', 'C:\\Python25\\lib\\site-packages\\pil-1.1.6-
py2.5-win32.egg', 'C:\\Python25\\lib\\site-packages\
\reviewboard-1.1alpha1.dev_r0-py2.5.egg', 'C:\\WINDOWS\\system32\
\python25.zip', 'C:\\Python25\\Lib', 'C:\\Python25\\DLLs', 'C:\
\Python25\\Lib\\lib-tk', 'C:\\Program Files\\Apache Software Foundation
\\Apache2.2', 'C:\\Program Files\\Apache Software Foundation\
\Apache2.2\\bin', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages',
'C:\\Python25\\lib\\site-packages\\PIL', 'C:\\Python25\\lib\\site-
packages\\win32', 'C:\\Python25\\lib\\site-packages\\win32\\lib', 'C:\
\Python25\\lib\\site-packages\\Pythonwin']
Server time: Wed, 26 Aug 2009 10:15:55 +0800

Traceback:
File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django\core
\handlers\base.py in get_response
  92. response = callback(request, *callback_args,
**callback_kwargs)
File c:\python25\lib\site-packages\Djblets-0.5.1-py2.5.egg\djblets
\auth\util.py in _checklogin
  45. return view_func(request, *args, **kwargs)
File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1.dev_r0-
py2.5.egg\reviewboard\reviews\views.py in new_review_request
  84. fields[repo.id] = repo.get_scmtool().get_fields()
File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1.dev_r0-
py2.5.egg\reviewboard\scmtools\models.py in get_scmtool
  45. return cls(self)
File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1.dev_r0-
py2.5.egg\reviewboard\scmtools\svn.py in __init__
  50. import pysvn
File C:\Python25\lib\site-packages\pysvn\__init__.py in module
  99. import _pysvn_2_5

Exception Type: ImportError at /reviews/r/new/
Exception Value: DLL load failed: The specified procedure could not be
found.


I don't know if it is due to some wrong configuration, the problem has
bothered me for days...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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 installation problem

2009-08-25 Thread Christian Hammond
It sounds like it's the wrong PySVN, or somehow incompatible. Which version
did you install and where did you get it from?

Christian

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


On Tue, Aug 25, 2009 at 8:13 PM, snowman zgwan...@hotmail.com wrote:


 Now I have another problem,

 when I try to create a new review request, the system broke down,

 Fowlling message is what I got when I turn on the debug mode:
 ImportError at /reviews/r/new/
 DLL load failed: The specified procedure could not be found.Request
 Method: GET
 Request URL: http://localhost:8080/reviews/r/new/
 Exception Type: ImportError
 Exception Value: DLL load failed: The specified procedure could not be
 found.
 Exception Location: C:\Python25\lib\site-packages\pysvn\__init__.py in
 module, line 99
 Python Executable: C:\Program Files\Apache Software Foundation
 \Apache2.2\bin\httpd.exe
 Python Version: 2.5.1
 Python Path: ['d:/ReviewBoardSite/conf', 'C:\\Python25\\lib\\site-
 packages\\python_memcached-1.44-py2.5.egg', 'C:\\Python25\\lib\\site-
 packages\\pytz-2009j-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
 \flup-1.0.3.dev_20090716-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
 \pygments-1.0-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
 \djblets-0.5.1-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
 \django_evolution-0.0.0-py2.5.egg', 'C:\\Python25\\lib\\site-packages\
 \django-1.1-py2.5.egg', 'C:\\Python25\\lib\\site-packages\\pil-1.1.6-
 py2.5-win32.egg', 'C:\\Python25\\lib\\site-packages\
 \reviewboard-1.1alpha1.dev_r0-py2.5.egg', 'C:\\WINDOWS\\system32\
 \python25.zip', 'C:\\Python25\\Lib', 'C:\\Python25\\DLLs', 'C:\
 \Python25\\Lib\\lib-tk', 'C:\\Program Files\\Apache Software Foundation
 \\Apache2.2', 'C:\\Program Files\\Apache Software Foundation\
 \Apache2.2\\bin', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages',
 'C:\\Python25\\lib\\site-packages\\PIL', 'C:\\Python25\\lib\\site-
 packages\\win32', 'C:\\Python25\\lib\\site-packages\\win32\\lib', 'C:\
 \Python25\\lib\\site-packages\\Pythonwin']
 Server time: Wed, 26 Aug 2009 10:15:55 +0800

 Traceback:
 File c:\python25\lib\site-packages\django-1.1-py2.5.egg\django\core
 \handlers\base.py in get_response
  92. response = callback(request, *callback_args,
 **callback_kwargs)
 File c:\python25\lib\site-packages\Djblets-0.5.1-py2.5.egg\djblets
 \auth\util.py in _checklogin
  45. return view_func(request, *args, **kwargs)
 File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1.dev_r0-
 py2.5.egg\reviewboard\reviews\views.py in new_review_request
  84. fields[repo.id] = repo.get_scmtool().get_fields()
 File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1.dev_r0-
 py2.5.egg\reviewboard\scmtools\models.py in get_scmtool
  45. return cls(self)
 File c:\python25\lib\site-packages\ReviewBoard-1.1alpha1.dev_r0-
 py2.5.egg\reviewboard\scmtools\svn.py in __init__
  50. import pysvn
 File C:\Python25\lib\site-packages\pysvn\__init__.py in module
  99. import _pysvn_2_5

 Exception Type: ImportError at /reviews/r/new/
 Exception Value: DLL load failed: The specified procedure could not be
 found.


 I don't know if it is due to some wrong configuration, the problem has
 bothered me for days...
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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 installation problem

2009-08-25 Thread snowman


I got the subversion and pysvn both from tigris.org

subversion 1.5.6, and pysvn py25-pysvn-svn156-1.7.0-1177.exe,

My python version is 2.5.1
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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 installation problem

2009-08-19 Thread snowman


The problem is solved by put the patch.exe to the bin path of the web
server. Thanks!

 But the the css seems doesn't take effect for the web site. Every
looks like plain text. How to solve this issue?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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 installation problem

2009-08-19 Thread Christian Hammond
The config file looks right.

If you go to http://yoursite/media/ in your browser, what do you see, and do
your Apache error logs say anything?

Christian

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


On Wed, Aug 19, 2009 at 2:23 AM, snowman zgwan...@hotmail.com wrote:


 Hi,
 Following is my config file...

 VirtualHost *:8080
ServerName www.reviewboard.com
DocumentRoot d:/ReviewBoardSite/htdocs

# Error handlers
ErrorDocument 500 /errordocs/500.html

# Serve django pages
Location /
PythonPath ['d:/ReviewBoardSite/conf'] + sys.path
SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
SetEnv PYTHON_EGG_CACHE d:/ReviewBoardSite/tmp/egg_cache
SetHandler mod_python
PythonHandler django.core.handlers.modpython
PythonAutoReload Off
PythonDebug Off
# Used to run multiple mod_python sites in the same apache
PythonInterpreter reviewboard_ReviewBoardSite
/Location

# Serve static media without running it through mod_python
# (overrides the above)
Location /media
SetHandler None
/Location
Location /errordocs
SetHandler None
/Location

Directory d:/ReviewBoardSite/htdocs
AllowOverride All
/Directory

# Alias static media requests to filesystem
Alias /media d:/ReviewBoardSite/htdocs/media
Alias /errordocs d:/ReviewBoardSite/htdocs/errordocs
 /VirtualHost


 On Aug 19, 5:11 pm, Christian Hammond chip...@chipx86.com wrote:
  Hi,
 
  That part sounds like Apache is pointing to the wrong directory for
 /media.
  If you post your Apache config file, I'll take a look and see if anything
  stands out.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.review-board.org
  VMware, Inc. -http://www.vmware.com
 
 
 
  On Wed, Aug 19, 2009 at 1:53 AM, snowman zgwan...@hotmail.com wrote:
 
   The problem is solved by put the patch.exe to the bin path of the web
   server. Thanks!
 
But the the css seems doesn't take effect for the web site. Every
   looks like plain text. How to solve this issue?- Hide quoted text -
 
  - Show quoted text -
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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 installation problem

2009-08-19 Thread snowman

Thanks, it works! so good. I'm a new guy to this django thing

Christian, really appreciate with your in-time and helpful answers.

On Aug 19, 6:04 pm, Christian Hammond chip...@chipx86.com wrote:
 I think we have a bug where the configuration file isn't generated
 correctly. Try changing all references from /media and /errordocs to
 /reviews/media and /reviews/errordocs in your Apache config.

 Christian

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



 On Wed, Aug 19, 2009 at 3:01 AM, snowman zgwan...@hotmail.com wrote:

  I've set the Site Root as /reviews/
  So when I typehttp://localhost/media, it comes up the media
  directory,
  when I typehttp://localhost/reviews/media, it can not find anything,
  is this the point?

  On Aug 19, 5:41 pm, Christian Hammond chip...@chipx86.com wrote:
   The config file looks right.

   If you go tohttp://yoursite/media/inyour browser, what do you see, and
  do
   your Apache error logs say anything?

   Christian

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

   On Wed, Aug 19, 2009 at 2:23 AM, snowman zgwan...@hotmail.com wrote:

Hi,
Following is my config file...

VirtualHost *:8080
       ServerNamewww.reviewboard.com
       DocumentRoot d:/ReviewBoardSite/htdocs

       # Error handlers
       ErrorDocument 500 /errordocs/500.html

       # Serve django pages
       Location /
               PythonPath ['d:/ReviewBoardSite/conf'] + sys.path
               SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
               SetEnv PYTHON_EGG_CACHE
  d:/ReviewBoardSite/tmp/egg_cache
               SetHandler mod_python
               PythonHandler django.core.handlers.modpython
               PythonAutoReload Off
               PythonDebug Off
               # Used to run multiple mod_python sites in the same
  apache
               PythonInterpreter reviewboard_ReviewBoardSite
       /Location

       # Serve static media without running it through mod_python
       # (overrides the above)
       Location /media
               SetHandler None
       /Location
       Location /errordocs
               SetHandler None
       /Location

       Directory d:/ReviewBoardSite/htdocs
               AllowOverride All
       /Directory

       # Alias static media requests to filesystem
       Alias /media d:/ReviewBoardSite/htdocs/media
       Alias /errordocs d:/ReviewBoardSite/htdocs/errordocs
/VirtualHost

On Aug 19, 5:11 pm, Christian Hammond chip...@chipx86.com wrote:
 Hi,

 That part sounds like Apache is pointing to the wrong directory for
/media.
 If you post your Apache config file, I'll take a look and see if
  anything
 stands out.

 Christian

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

 On Wed, Aug 19, 2009 at 1:53 AM, snowman zgwan...@hotmail.com
  wrote:

  The problem is solved by put the patch.exe to the bin path of the
  web
  server. Thanks!

   But the the css seems doesn't take effect for the web site. Every
  looks like plain text. How to solve this issue?- Hide quoted text -

 - Show quoted text -- Hide quoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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 installation problem

2009-08-19 Thread Christian Hammond
Glad it's working! I'll make sure to fix this bug for a point release.

Christian

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


On Wed, Aug 19, 2009 at 3:12 AM, snowman zgwan...@hotmail.com wrote:


 Thanks, it works! so good. I'm a new guy to this django thing

 Christian, really appreciate with your in-time and helpful answers.

 On Aug 19, 6:04 pm, Christian Hammond chip...@chipx86.com wrote:
  I think we have a bug where the configuration file isn't generated
  correctly. Try changing all references from /media and /errordocs to
  /reviews/media and /reviews/errordocs in your Apache config.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.review-board.org
  VMware, Inc. -http://www.vmware.com
 
 
 
  On Wed, Aug 19, 2009 at 3:01 AM, snowman zgwan...@hotmail.com wrote:
 
   I've set the Site Root as /reviews/
   So when I typehttp://localhost/media, it comes up the media
   directory,
   when I typehttp://localhost/reviews/media, it can not find anything,
   is this the point?
 
   On Aug 19, 5:41 pm, Christian Hammond chip...@chipx86.com wrote:
The config file looks right.
 
If you go tohttp://yoursite/media/inyour browser, what do you see,
 and
   do
your Apache error logs say anything?
 
Christian
 
--
Christian Hammond - chip...@chipx86.com
Review Board -http://www.review-board.org
VMware, Inc. -http://www.vmware.com
 
On Wed, Aug 19, 2009 at 2:23 AM, snowman zgwan...@hotmail.com
 wrote:
 
 Hi,
 Following is my config file...
 
 VirtualHost *:8080
ServerNamewww.reviewboard.com
DocumentRoot d:/ReviewBoardSite/htdocs
 
# Error handlers
ErrorDocument 500 /errordocs/500.html
 
# Serve django pages
Location /
PythonPath ['d:/ReviewBoardSite/conf'] + sys.path
SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
SetEnv PYTHON_EGG_CACHE
   d:/ReviewBoardSite/tmp/egg_cache
SetHandler mod_python
PythonHandler django.core.handlers.modpython
PythonAutoReload Off
PythonDebug Off
# Used to run multiple mod_python sites in the same
   apache
PythonInterpreter reviewboard_ReviewBoardSite
/Location
 
# Serve static media without running it through mod_python
# (overrides the above)
Location /media
SetHandler None
/Location
Location /errordocs
SetHandler None
/Location
 
Directory d:/ReviewBoardSite/htdocs
AllowOverride All
/Directory
 
# Alias static media requests to filesystem
Alias /media d:/ReviewBoardSite/htdocs/media
Alias /errordocs d:/ReviewBoardSite/htdocs/errordocs
 /VirtualHost
 
 On Aug 19, 5:11 pm, Christian Hammond chip...@chipx86.com wrote:
  Hi,
 
  That part sounds like Apache is pointing to the wrong directory
 for
 /media.
  If you post your Apache config file, I'll take a look and see if
   anything
  stands out.
 
  Christian
 
  --
  Christian Hammond - chip...@chipx86.com
  Review Board -http://www.review-board.org
  VMware, Inc. -http://www.vmware.com
 
  On Wed, Aug 19, 2009 at 1:53 AM, snowman zgwan...@hotmail.com
   wrote:
 
   The problem is solved by put the patch.exe to the bin path of
 the
   web
   server. Thanks!
 
But the the css seems doesn't take effect for the web site.
 Every
   looks like plain text. How to solve this issue?- Hide quoted
 text -
 
  - Show quoted text -- Hide quoted text -
 
- Show quoted text -- Hide quoted text -
 
  - Show quoted text -
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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 installation problem

2009-08-18 Thread snowman

Hello, I'm a new guy to this review board tool. I get the annoying
page 'Manual server updates required' page when I finish the
installation process. My server configurations are windows xp,
python2.5, apache2.2.4

My souce code is checked out from the svn, it shoud be fresh. and I
change the database from mysql to sqlite, no one works!

Command manage.py syncdb has been run, but seems no evolution
required! Can some one help me out?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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 installation problem

2009-08-18 Thread Christian Hammond
Hi,

The problem is that patch.exe isn't in the path that Apache is seeing. Did
you add it to the Path in the System properties and then restart the
computer?

Where did you install patch.exe?

Christian

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


2009/8/18 王振钢 zgwan...@hotmail.com

  Manual server updates required A recent change requires manual
 updates to be made on this server. After these changes are made, you should
 restart your server.
 To keep track of future updates, please visit the Required Server 
 Updateshttp://code.google.com/p/reviewboard/wiki/RequiredServerUpdatespage, 
 or subscribe to the mailing
 list http://groups.google.com/group/reviewboard.
   Install GNU patch.exe GNU patch.exe must be in your executable search
 path for the diff viewer to work.
 You can install GNU patch.exe by downloading and running the 
 installerhttp://gnuwin32.sourceforge.net/downlinks/patch.php.
 Then add the directory containing patch.exe to the system PATH (Start 
 Control Panel  Advanced  Environment Variables  System Variables  PATH).


 Hi Christian,

 This is the page i see.

 My installation process:
 -install python 2.5 and mod_python
 -install mysql
 -install GNU patch.exe
 -install the setup tools, easy install reviewboard from cmd line.
 -build the site by rbsite install from the source code directory with is
 checked from http://reviewboard.googlecode.com/svn/trunk/reviewboard
 I answered all the questions during installation, and it tells the site has
 been installed.
 -include the site config file to the main apache config file

 The when I open the explorer to access this site, above page comes up. And
 it instructs me to run manage syncdb
 So I run  this command from the souce directory, but there's no
 settings_local.py, so i copied one from the site directory, and i run the
 command again, it seems no evolution required.
 But the 'Manul server updates required' is still there.

 Can you find what I did wrong?

 Regards!


 --
 From: chip...@chipx86.com
 Date: Tue, 18 Aug 2009 02:41:28 -0700
 Subject: Re: Review board installation problem
 To: reviewboard@googlegroups.com


 Hi,

 There's several Manual server updates required pages. Which one are you
 seeing? What instructions is it providing?

 How did you install Review Board from SVN?

 Christian

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


 On Tue, Aug 18, 2009 at 2:21 AM, snowman zgwan...@hotmail.com wrote:


 Hello, I'm a new guy to this review board tool. I get the annoying
 page 'Manual server updates required' page when I finish the
 installation process. My server configurations are windows xp,
 python2.5, apache2.2.4

 My souce code is checked out from the svn, it shoud be fresh. and I
 change the database from mysql to sqlite, no one works!

 Command manage.py syncdb has been run, but seems no evolution
 required! Can some one help me out?




 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---