post upgrade, screenshot uploading doesn't work

2009-02-02 Thread mary

Hi,

I recently migrated/upgraded from a source tree install to the
easy_install ReviewBoard install.

Since the install uploading of screenshots no longer works. You can
upload the image without error, but the image is not displayed. The
httpd error_log indicates that the uploaded file does not exist and in
fact, I cannot file the image file in the media/uploaded/images
directory.

I copied all the contents of the media/uploaded/images directory to
the new media/uploaded/images directory after my migration/upgrade.
The file permissions are all correct (owned by apache user) and this
was working just fine prior to the upgrade.

Any ideas?

Thanks,
Mary


--~--~-~--~~~---~--~~
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: post upgrade, screenshot uploading doesn't work

2009-02-02 Thread mary

Issue resolved.

For reasons still a bit unclear to me, the apache directory /var/www/
reviewboard/htdocs directory was not being used as I expected. Instead
the python/site-pakages/reviewboard/htdocs directory was active. I
created a symlink from www area to python area, copied my old images
over, and it's all working now.

On Feb 2, 11:57 am, mary  wrote:
> Hi,
>
> I recently migrated/upgraded from a source tree install to the
> easy_install ReviewBoard install.
>
> Since the install uploading of screenshots no longer works. You can
> upload the image without error, but the image is not displayed. The
> httpd error_log indicates that the uploaded file does not exist and in
> fact, I cannot file the image file in the media/uploaded/images
> directory.
>
> I copied all the contents of the media/uploaded/images directory to
> the new media/uploaded/images directory after my migration/upgrade.
> The file permissions are all correct (owned by apache user) and this
> was working just fine prior to the upgrade.
>
> Any ideas?
>
> Thanks,
> Mary
--~--~-~--~~~---~--~~
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: post upgrade, screenshot uploading doesn't work

2009-02-02 Thread Łukasz Jernaś

On Mon, Feb 2, 2009 at 9:12 PM, mary  wrote:
>
> Issue resolved.
>
> For reasons still a bit unclear to me, the apache directory /var/www/
> reviewboard/htdocs directory was not being used as I expected. Instead
> the python/site-pakages/reviewboard/htdocs directory was active. I
> created a symlink from www area to python area, copied my old images
> over, and it's all working now.

IMHO this shouldn't be accepted as a solution (if I get it right),
rather a crude hack - the site-packages is  usually located in /usr
which is often mounted read-only...

Regards,
-- 
Łukasz Jernaś
"just ignore the smoke and smile" - apc

--~--~-~--~~~---~--~~
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: post upgrade, screenshot uploading doesn't work

2009-02-02 Thread David Trowbridge

The old install procedure meant a lot of people ended up putting data
in their site-packages. rb-site doesn't do that anymore.

-David

On Mon, Feb 2, 2009 at 1:16 PM, Łukasz Jernaś  wrote:
>
> On Mon, Feb 2, 2009 at 9:12 PM, mary  wrote:
>>
>> Issue resolved.
>>
>> For reasons still a bit unclear to me, the apache directory /var/www/
>> reviewboard/htdocs directory was not being used as I expected. Instead
>> the python/site-pakages/reviewboard/htdocs directory was active. I
>> created a symlink from www area to python area, copied my old images
>> over, and it's all working now.
>
> IMHO this shouldn't be accepted as a solution (if I get it right),
> rather a crude hack - the site-packages is  usually located in /usr
> which is often mounted read-only...
>
> Regards,
> --
> Łukasz Jernaś
> "just ignore the smoke and smile" - apc
>
> >
>

--~--~-~--~~~---~--~~
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: Bad table class for incremental diff of new file

2009-02-02 Thread David Allouche

Good to know.

In my (unsolicited) opinion, reviewbord could do away entirely with
the newfile class.

I want my new file diffs to appear in two columns with an empty left
column. It makes it obvious that this is a diff view (as opposed as a
snapshot view) and results in a more consistent display, where "the
important stuff" is always on the right.

I realize that the "only one column when it's a new file" is a
seductive idea, but I think it is bad human factors.

Two cents.

On Sat, Jan 31, 2009 at 23:42, Christian Hammond  wrote:
> Hi David.
>
> There's a bug open for this at:
>
> http://code.google.com/p/reviewboard/issues/detail?id=730
>
> We should have this fixed for 1.0. It's not fixed yet, and it's been around
> for a while, but it shouldn't be hard to fix. We'll probably get it in the
> betas.

--~--~-~--~~~---~--~~
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: Miscellaneous notes

2009-02-02 Thread Christian Hammond
Hey Christopher,


On Mon, Feb 2, 2009 at 7:50 AM, Christopher Orr  wrote:

>
> Hi all,
>
> Just a few minor notes:
>
> Firstly, I discovered today that you'll probably need to clear your
> cache to fully support the new AJAXified loading of diffs.


Oh right, I need to do something about that. I took care of it client-side,
but forgot the server-side. I just need to append a serial to the
server-side cache key, like I do on the client-side.


Revision 1726 introduced some new JavaScript to the bottom of the
> diff_file_fragment.html template.  I found that this affected some
> already-cached fragments meaning that the file anchor spinners never got
> replaced (e.g. http://reviews.review-board.org/r/731/diff/#index_header).


Yeah, that definitely will happen if those existing fragments are in the
cache... Will fix :)


Secondly, good job with the new web Review Board site!


Thanks!



> Finally, I noticed the new documentation the other day (and I learned
> that Google Code now has a docs reader!).  Very nice.


Yep, it's pretty new to me too. Nice feature. They really should advertise
it more. In time, though, I think we'll end up showing docs inside the
Review Board site (I want to move off their wiki and into something we have
more control over).

Thanks for the comments!

Christian

-- 
Christian Hammond - chip...@chipx86.com
VMware, Inc.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Miscellaneous notes

2009-02-02 Thread Christopher Orr

Hi all,

Just a few minor notes:

Firstly, I discovered today that you'll probably need to clear your 
cache to fully support the new AJAXified loading of diffs.

Revision 1726 introduced some new JavaScript to the bottom of the 
diff_file_fragment.html template.  I found that this affected some 
already-cached fragments meaning that the file anchor spinners never got 
replaced (e.g. http://reviews.review-board.org/r/731/diff/#index_header).

Secondly, good job with the new web Review Board site!

Finally, I noticed the new documentation the other day (and I learned 
that Google Code now has a docs reader!).  Very nice.

Thanks,
Chris

--~--~-~--~~~---~--~~
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: Nothing Displayed when browse "http://localhost/reviews"

2009-02-02 Thread Christian Hammond
Did you use the provided Apache config file in the site's conf/ directory?
If so, can you send it to me?

Christian

-- 
Christian Hammond - chip...@chipx86.com
VMware, Inc.


On Sun, Feb 1, 2009 at 8:03 PM, Justin Chen wrote:

>
> Hi All,
>
> After trying some hours, it seems i've installed review board under
> Windows Server 2003 + Cygwin environment, the following are detailed
> logs. And i've changed the default apache httpd.conf to point to /var/
> www/reviews.starcite.com/htdocs. After that, i started apache server.
>
> Unforuntatly, when i access "http://localhost/reviews"; or "http:/
> localhost", there are nothing displayed. And i also go though the var
> \www\reviews.starcite.com\htdocs folder and i found nothing (what ever
> html file or any other file) under this folder except "\media".
>
> Is it correct? Any help is welcome. Thank you all.
>
> $ rb-site install /var/www/reviews.starcite.com
>
>
> * Welcome to the Review Board site installation wizard.
>
>This will prepare a Review Board site installation in:
>
>/var/www/reviews.starcite.com
>
>We need to know a few things before we can prepare your site for
>installation. This will only take a few minutes.
>
>
> * What's the domain name for this site?
>
>This should be the full domain without the http://, port or path.
>
> Domain Name: reviews.starcite.com
>
>
> * What URL path points to Review Board?
>
>Typically, Review Board exists at the root of a URL. For example,
>http://reviews.example.com/. In this case, you would specify "/".
>
>However, if you want to listen to, say,
>http://example.com/reviews/, you can specify "/reviews/".
>
>Note that this is the path relative to the domain and should not
>include the domain name.
>
>The default is /
>
> Root Path [/]: /reviews/
>
>
> * What URL will point to the media files?
>
>While most installations distribute media files on the same server
>as the rest of Review Board, some custom installs may instead have
>a separate server for this purpose.
>
>The default is media/
>
> Media URL [media/]: media/
>
>
> * What database type will you be using?
>
>You can type either the name or the number from the list below.
>
>(1) mysql
>(2) postgresql
>(3) sqlite3
>
> Database Type: 3
>
>
> * Determining database file path.
>
>The sqlite database file will be stored in
>/var/www/reviews.starcite.com/db/reviewboard.db
>
>If you are migrating from an existing installation, you can move
>your existing database there, or edit settings_local.py to point
>to your old location.
>
>
> * What cache mechanism should be used?
>
>memcached is strongly recommended. Use it unless you have a good
>reason not to.
>
>You can type either the name or the number from the list below.
>
>(1) memcached
>(2) file
>
> Cache Type: 2
>
>
> * Where should the temporary cache files be stored?
>
>The default is /tmp/reviewboard_cache
>
> Cache Directory [/tmp/reviewboard_cache]: /tmp/reviewboard_cache
>
>
> * What web server will you be using?
>
>You can type either the name or the number from the list below.
>
>(1) apache
>(2) lighttpd
>
> Web Server: 1
>
>
> * What Python loader module will you be using?
>
>Based on our experiences, we recommend using modpython with Review
>Board.
>
>You can type either the name or the number from the list below.
>
>(1) modpython
>(2) fastcgi
>
> Python Loader: 1
>
>
> * Create an administrator account
>
>To configure Review Board, you'll need an administrator account.
>It is advised to have one administrator and then use that account
>to grant administrator permissions to your personal user account.
>
>If you plan to use NIS or LDAP, use an account name other than
>your NIS/LDAP account so as to prevent conflicts.
>
>The default is admin
>
> Username [admin]: admin
>
> Password:
>
> E-Mail Address: justin.c...@starcite.com
>
>
> * Installing the site...
> Building site directories ... OK
> Building site configuration files ... OK
> Creating database ... Creating table django_admin_log
> Creating table auth_permission
> Creating table auth_group
> Creating table auth_user
> Creating table auth_message
> Creating table django_content_type
> Creating table django_site
> Creating table django_session
> Creating table siteconfig_siteconfiguration
> Creating table accounts_reviewrequestvisit
> Creating table accounts_profile
> Creating table changedescs_changedescription
> Creating table diffviewer_filediff
> Creating table diffviewer_diffset
> Creating table diffviewer_diffsethistory
> Creating table reviews_group
> Creating table reviews_defaultreviewer
> Creating table reviews_screenshot
> Creating table reviews_reviewrequest
> Creating table reviews_reviewrequestdraft
> Creating table reviews_comment
> Creating table reviews_screenshotcomment
> Creating table reviews_review
> Creating table scmtools_tool
> Creating table scmt

Re: Nothing Displayed when browse "http://localhost/reviews"

2009-02-02 Thread Justin Chen

Hi Christian,

If you are referring to /var/www/reviews.starcite.com/conf, there are
4 files as following -
apache-fastcgi.conf
search-cron.conf
settings_local.py
settings_local.pyc

How can i use them in Apache configuration?

And the following are the /etc/apache2/httpd.conf - If you find any
error, just let me know. Thnak you very much
#
# This is the main Apache HTTP server configuration file.  It contains
the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are
unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for
many
# of the server's control files begin with "/" (or "drive:/" for
Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "/var/log/
apache2/foo.log"
# with ServerRoot set to "/usr" will be interpreted by the
# server as "/usr//var/log/apache2/foo.log".

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path.  If you point
# ServerRoot at a non-local disk, be sure to point the LockFile
directive
# at a local disk.  If you wish to share the same ServerRoot for
multiple
# httpd daemons, you will need to change at least LockFile and
PidFile.
#
ServerRoot "/usr"

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the 
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a
DSO you
# have to place corresponding `LoadModule' lines at this location so
the
# directives contained in it are actually available _before_ they are
used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule authn_file_module lib/apache2/mod_authn_file.so
LoadModule authn_dbm_module lib/apache2/mod_authn_dbm.so
LoadModule authn_anon_module lib/apache2/mod_authn_anon.so
LoadModule authn_dbd_module lib/apache2/mod_authn_dbd.so
LoadModule authn_default_module lib/apache2/mod_authn_default.so
LoadModule authz_host_module lib/apache2/mod_authz_host.so
LoadModule authz_groupfile_module lib/apache2/mod_authz_groupfile.so
LoadModule authz_user_module lib/apache2/mod_authz_user.so
LoadModule authz_dbm_module lib/apache2/mod_authz_dbm.so
LoadModule authz_owner_module lib/apache2/mod_authz_owner.so
LoadModule authz_default_module lib/apache2/mod_authz_default.so
LoadModule auth_basic_module lib/apache2/mod_auth_basic.so
LoadModule auth_digest_module lib/apache2/mod_auth_digest.so
LoadModule dbd_module lib/apache2/mod_dbd.so
LoadModule dumpio_module lib/apache2/mod_dumpio.so
LoadModule ext_filter_module lib/apache2/mod_ext_filter.so
LoadModule include_module lib/apache2/mod_include.so
LoadModule filter_module lib/apache2/mod_filter.so
LoadModule deflate_module lib/apache2/mod_deflate.so
LoadModule log_config_module lib/apache2/mod_log_config.so
LoadModule log_forensic_module lib/apache2/mod_log_forensic.so
LoadModule logio_module lib/apache2/mod_logio.so
LoadModule env_module lib/apache2/mod_env.so
LoadModule mime_magic_module lib/apache2/mod_mime_magic.so
LoadModule cern_meta_module lib/apache2/mod_cern_meta.so
LoadModule expires_module lib/apache2/mod_expires.so
LoadModule headers_module lib/apache2/mod_headers.so
LoadModule ident_module lib/apache2/mod_ident.so
LoadModule usertrack_module lib/apache2/mod_usertrack.so
LoadModule unique_id_module lib/apache2/mod_unique_id.so
LoadModule setenvif_module lib/apache2/mod_setenvif.so
LoadModule version_module lib/apache2/mod_version.so
LoadModule proxy_module lib/apache2/mod_proxy.so
LoadModule proxy_connect_module lib/apache2/mod_proxy_connect.so
LoadModule proxy_ftp_module lib/apache2/mod_proxy_ftp.so
LoadModule proxy_http_module lib/apache2/mod_proxy_http.so
LoadModule proxy_ajp_module lib/apache2/mod_proxy_ajp.so
LoadModule proxy_balancer_module lib/apache2/mod_proxy_balancer.so
LoadModule ssl_module lib/apache2/mod_ssl.so
LoadModule mime_module lib/apache2/mod_mime.so
LoadModule dav_module lib/apache2/mod_dav.so
LoadModule status_module lib/apache2/mod_status.so
LoadModule autoindex_module lib/apache2/mod_autoindex.so
LoadModule asis_module lib/apache2/mod_asis.so
LoadModule info_module lib/apache2/mod_info.so
LoadModule cgi_module lib/apache2/mod_cgi.so
LoadModule dav_fs_mo

Re: Nothing Displayed when browse "http://localhost/reviews"

2009-02-02 Thread Justin Chen

Hi Christian,

Thank you very much. I read http://www.review-board.org/docs/GettingStarted
for hundreds of times, but still met lots of issues. :)
so, i still have some issues
(1) i cannot find any folder named sites-enabled under /etc/apache2/.
Any idea? how can i do in this case?
(2) you mentioned "remove your existing Apache config", you mean
remove all contents of the folder "/etc/apache2/"? Or just httpd.conf?

Thank you very much.


On Feb 3, 9:01 am, Christian Hammond  wrote:
> You need to remove your existing Apache config for this directory and use
> the apache-fastcgi.conf from the conf directory. I strongly recommend using
> mod_python instead of fastcgi, though (which would require that you nuke
> that directory and re-run rb-site install). We've seen some bad memory
> issues with fastcgi + apache + django.
>
> You should rename the resulting apache-whatever.conf file too
> reviews.starcite.com.conf and put it in your apache2/sites-enabled
> directory, if you have it.
>
> I recommend readinghttp://www.review-board.org/docs/GettingStarted, since
> it goes over all this.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> VMware, Inc.
>
> On Mon, Feb 2, 2009 at 4:53 PM, Justin Chen wrote:
>
>
>
> > Hi Christian,
>
> > If you are referring to /var/www/reviews.starcite.com/conf, there are
> > 4 files as following -
> > apache-fastcgi.conf
> > search-cron.conf
> > settings_local.py
> > settings_local.pyc
>
--~--~-~--~~~---~--~~
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: Nothing Displayed when browse "http://localhost/reviews"

2009-02-02 Thread Christian Hammond
Hi Justin.

1) The sites-enabled seems to be specific to certain distros. What you could
do then is just copy the contents directly into httpd.conf (unless there's a
conf.d directory, in which case put it there).

2) Sorry, I should have been more clear. I meant just the section you added
referencing the new site, along with the DocumentRoot.

Unlike with normal file-based sites (such as sites using PHP), Django (which
Review Board uses) defines all the URLs and what each URL points to inside
the process, which is launched by fastcgi or mod_python. So all pages are
rendered inside the process, meaning we don't need anything in htdocs except
for media files (which we serve statically so we don't have to process it
with our software).

I'm slowly, when I get the time, working on better installation/admin docs
for Review Board. I'm hoping to have these available for beta 1.

Christian

-- 
Christian Hammond - chip...@chipx86.com
VMware, Inc.


On Mon, Feb 2, 2009 at 6:55 PM, Justin Chen wrote:

>
> Hi Christian,
>
> Thank you very much. I read
> http://www.review-board.org/docs/GettingStarted
> for hundreds of times, but still met lots of issues. :)
> so, i still have some issues
> (1) i cannot find any folder named sites-enabled under /etc/apache2/.
> Any idea? how can i do in this case?
> (2) you mentioned "remove your existing Apache config", you mean
> remove all contents of the folder "/etc/apache2/"? Or just httpd.conf?
>
> Thank you very much.
>
>
> On Feb 3, 9:01 am, Christian Hammond  wrote:
> > You need to remove your existing Apache config for this directory and use
> > the apache-fastcgi.conf from the conf directory. I strongly recommend
> using
> > mod_python instead of fastcgi, though (which would require that you nuke
> > that directory and re-run rb-site install). We've seen some bad memory
> > issues with fastcgi + apache + django.
> >
> > You should rename the resulting apache-whatever.conf file too
> > reviews.starcite.com.conf and put it in your apache2/sites-enabled
> > directory, if you have it.
> >
> > I recommend readinghttp://www.review-board.org/docs/GettingStarted,
> since
> > it goes over all this.
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > VMware, Inc.
> >
> > On Mon, Feb 2, 2009 at 4:53 PM, Justin Chen  >wrote:
> >
> >
> >
> > > Hi Christian,
> >
> > > If you are referring to /var/www/reviews.starcite.com/conf, there are
> > > 4 files as following -
> > > apache-fastcgi.conf
> > > search-cron.conf
> > > settings_local.py
> > > settings_local.pyc
> >
> >
>

--~--~-~--~~~---~--~~
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: Dear LazyWeb

2009-02-02 Thread Christian Hammond
If you can file a feature enhancement request detailing how your backend
works and what you need, we can put this on our radar. But yeah, it probably
won't make 1.0, since I imagine we'll need to change a few things and it's a
little late in the game for some of those changes.

Christian

-- 
Christian Hammond - chip...@chipx86.com
VMware, Inc.


On Sat, Jan 31, 2009 at 3:51 AM, Łukasz Jernaś wrote:

>
> On Sat, Jan 31, 2009 at 12:38 PM, Christian Hammond 
> wrote:
> > Hi,
> >
> > I'm not sure I understand your problem yet. Your auth backend should be
> able
> > to set this information if you want it to. Is the problem mainly that the
> > appropriate fields don't appear in the preferences page? If so, it's
> because
> > we're explicitly checking the backend type in the prefs template. We
> could
> > instead extend this to look for flags on the backend indicating whether
> that
> > field can be modified, and then just check if it's the auth backend *or*
> if
> > the flag exists and is True.
>
> My auth backend doesn't really know what a first name, last name,
> email etc is - it's just plain http auth (see api reference for
> openstreetmap.org ;). Additional flags would be great, but somehow I
> don't think it'll be in 1.0 so I will adapt the template myself until
> then.
>
>
> Regards,
> --
> Łukasz Jernaś
> "just ignore the smoke and smile" - apc
>
> >
>

--~--~-~--~~~---~--~~
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: Nothing Displayed when browse "http://localhost/reviews"

2009-02-02 Thread Justin Chen

Hi Christian,

I did the changes as your mentioned. Then i met another issue-
$ /usr/sbin/apachectl2 start
Syntax error on line 10 of /etc/apache2/conf.d/
reviews.starcite.com.conf:
Invalid command 'PythonPath', perhaps misspelled or defined by a
module not incl
uded in the server configuration

Any idea?

On Feb 3, 10:59 am, Christian Hammond  wrote:
> Hi Justin.
>
> 1) The sites-enabled seems to be specific to certain distros. What you could
> do then is just copy the contents directly into httpd.conf (unless there's a
> conf.d directory, in which case put it there).
>
> 2) Sorry, I should have been more clear. I meant just the section you added
> referencing the new site, along with the DocumentRoot.
>
> Unlike with normal file-based sites (such as sites using PHP), Django (which
> Review Board uses) defines all the URLs and what each URL points to inside
> the process, which is launched by fastcgi or mod_python. So all pages are
> rendered inside the process, meaning we don't need anything in htdocs except
> for media files (which we serve statically so we don't have to process it
> with our software).
>
> I'm slowly, when I get the time, working on better installation/admin docs
> for Review Board. I'm hoping to have these available for beta 1.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> VMware, Inc.
>
> On Mon, Feb 2, 2009 at 6:55 PM, Justin Chen wrote:
>
>
>
> > Hi Christian,
>
> > Thank you very much. I read
> >http://www.review-board.org/docs/GettingStarted
> > for hundreds of times, but still met lots of issues. :)
> > so, i still have some issues
> > (1) i cannot find any folder named sites-enabled under /etc/apache2/.
> > Any idea? how can i do in this case?
> > (2) you mentioned "remove your existing Apache config", you mean
> > remove all contents of the folder "/etc/apache2/"? Or just httpd.conf?
>
> > Thank you very much.
>
> > On Feb 3, 9:01 am, Christian Hammond  wrote:
> > > You need to remove your existing Apache config for this directory and use
> > > the apache-fastcgi.conf from the conf directory. I strongly recommend
> > using
> > > mod_python instead of fastcgi, though (which would require that you nuke
> > > that directory and re-run rb-site install). We've seen some bad memory
> > > issues with fastcgi + apache + django.
>
> > > You should rename the resulting apache-whatever.conf file too
> > > reviews.starcite.com.conf and put it in your apache2/sites-enabled
> > > directory, if you have it.
>
> > > I recommend readinghttp://www.review-board.org/docs/GettingStarted,
> > since
> > > it goes over all this.
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > VMware, Inc.
>
> > > On Mon, Feb 2, 2009 at 4:53 PM, Justin Chen  > >wrote:
>
> > > > Hi Christian,
>
> > > > If you are referring to /var/www/reviews.starcite.com/conf, there are
> > > > 4 files as following -
> > > > apache-fastcgi.conf
> > > > search-cron.conf
> > > > settings_local.py
> > > > settings_local.pyc
--~--~-~--~~~---~--~~
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: Nothing Displayed when browse "http://localhost/reviews"

2009-02-02 Thread Justin Chen

Sorry, i forgot to mention "i've change to use mod_python".

On Feb 3, 11:27 am, Justin Chen  wrote:
> Hi Christian,
>
> I did the changes as your mentioned. Then i met another issue-
> $ /usr/sbin/apachectl2 start
> Syntax error on line 10 of /etc/apache2/conf.d/
> reviews.starcite.com.conf:
> Invalid command 'PythonPath', perhaps misspelled or defined by a
> module not incl
> uded in the server configuration
>
> Any idea?
>
> On Feb 3, 10:59 am, Christian Hammond  wrote:
>
> > Hi Justin.
>
> > 1) The sites-enabled seems to be specific to certain distros. What you could
> > do then is just copy the contents directly into httpd.conf (unless there's a
> > conf.d directory, in which case put it there).
>
> > 2) Sorry, I should have been more clear. I meant just the section you added
> > referencing the new site, along with the DocumentRoot.
>
> > Unlike with normal file-based sites (such as sites using PHP), Django (which
> > Review Board uses) defines all the URLs and what each URL points to inside
> > the process, which is launched by fastcgi or mod_python. So all pages are
> > rendered inside the process, meaning we don't need anything in htdocs except
> > for media files (which we serve statically so we don't have to process it
> > with our software).
>
> > I'm slowly, when I get the time, working on better installation/admin docs
> > for Review Board. I'm hoping to have these available for beta 1.
>
> > Christian
>
> > --
> > Christian Hammond - chip...@chipx86.com
> > VMware, Inc.
>
> > On Mon, Feb 2, 2009 at 6:55 PM, Justin Chen 
> > wrote:
>
> > > Hi Christian,
>
> > > Thank you very much. I read
> > >http://www.review-board.org/docs/GettingStarted
> > > for hundreds of times, but still met lots of issues. :)
> > > so, i still have some issues
> > > (1) i cannot find any folder named sites-enabled under /etc/apache2/.
> > > Any idea? how can i do in this case?
> > > (2) you mentioned "remove your existing Apache config", you mean
> > > remove all contents of the folder "/etc/apache2/"? Or just httpd.conf?
>
> > > Thank you very much.
>
> > > On Feb 3, 9:01 am, Christian Hammond  wrote:
> > > > You need to remove your existing Apache config for this directory and 
> > > > use
> > > > the apache-fastcgi.conf from the conf directory. I strongly recommend
> > > using
> > > > mod_python instead of fastcgi, though (which would require that you nuke
> > > > that directory and re-run rb-site install). We've seen some bad memory
> > > > issues with fastcgi + apache + django.
>
> > > > You should rename the resulting apache-whatever.conf file too
> > > > reviews.starcite.com.conf and put it in your apache2/sites-enabled
> > > > directory, if you have it.
>
> > > > I recommend readinghttp://www.review-board.org/docs/GettingStarted,
> > > since
> > > > it goes over all this.
>
> > > > Christian
>
> > > > --
> > > > Christian Hammond - chip...@chipx86.com
> > > > VMware, Inc.
>
> > > > On Mon, Feb 2, 2009 at 4:53 PM, Justin Chen  > > >wrote:
>
> > > > > Hi Christian,
>
> > > > > If you are referring to /var/www/reviews.starcite.com/conf, there are
> > > > > 4 files as following -
> > > > > apache-fastcgi.conf
> > > > > search-cron.conf
> > > > > settings_local.py
> > > > > settings_local.pyc
--~--~-~--~~~---~--~~
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: Nothing Displayed when browse "http://localhost/reviews"

2009-02-02 Thread Christian Hammond
Okay, the problem then is that you don't have the mod_python module
installed or configured. Which distro is this? You probably just need to
download and install the right package.

Christian

-- 
Christian Hammond - chip...@chipx86.com
VMware, Inc.


On Mon, Feb 2, 2009 at 7:27 PM, Justin Chen wrote:

>
> Hi Christian,
>
> I did the changes as your mentioned. Then i met another issue-
> $ /usr/sbin/apachectl2 start
> Syntax error on line 10 of /etc/apache2/conf.d/
> reviews.starcite.com.conf:
> Invalid command 'PythonPath', perhaps misspelled or defined by a
> module not incl
> uded in the server configuration
>
> Any idea?
>
> On Feb 3, 10:59 am, Christian Hammond  wrote:
> > Hi Justin.
> >
> > 1) The sites-enabled seems to be specific to certain distros. What you
> could
> > do then is just copy the contents directly into httpd.conf (unless
> there's a
> > conf.d directory, in which case put it there).
> >
> > 2) Sorry, I should have been more clear. I meant just the section you
> added
> > referencing the new site, along with the DocumentRoot.
> >
> > Unlike with normal file-based sites (such as sites using PHP), Django
> (which
> > Review Board uses) defines all the URLs and what each URL points to
> inside
> > the process, which is launched by fastcgi or mod_python. So all pages are
> > rendered inside the process, meaning we don't need anything in htdocs
> except
> > for media files (which we serve statically so we don't have to process it
> > with our software).
> >
> > I'm slowly, when I get the time, working on better installation/admin
> docs
> > for Review Board. I'm hoping to have these available for beta 1.
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > VMware, Inc.
> >
> > On Mon, Feb 2, 2009 at 6:55 PM, Justin Chen  >wrote:
> >
> >
> >
> > > Hi Christian,
> >
> > > Thank you very much. I read
> > >http://www.review-board.org/docs/GettingStarted
> > > for hundreds of times, but still met lots of issues. :)
> > > so, i still have some issues
> > > (1) i cannot find any folder named sites-enabled under /etc/apache2/.
> > > Any idea? how can i do in this case?
> > > (2) you mentioned "remove your existing Apache config", you mean
> > > remove all contents of the folder "/etc/apache2/"? Or just httpd.conf?
> >
> > > Thank you very much.
> >
> > > On Feb 3, 9:01 am, Christian Hammond  wrote:
> > > > You need to remove your existing Apache config for this directory and
> use
> > > > the apache-fastcgi.conf from the conf directory. I strongly recommend
> > > using
> > > > mod_python instead of fastcgi, though (which would require that you
> nuke
> > > > that directory and re-run rb-site install). We've seen some bad
> memory
> > > > issues with fastcgi + apache + django.
> >
> > > > You should rename the resulting apache-whatever.conf file too
> > > > reviews.starcite.com.conf and put it in your apache2/sites-enabled
> > > > directory, if you have it.
> >
> > > > I recommend readinghttp://www.review-board.org/docs/GettingStarted,
> > > since
> > > > it goes over all this.
> >
> > > > Christian
> >
> > > > --
> > > > Christian Hammond - chip...@chipx86.com
> > > > VMware, Inc.
> >
> > > > On Mon, Feb 2, 2009 at 4:53 PM, Justin Chen <
> justin.chen@gmail.com
> > > >wrote:
> >
> > > > > Hi Christian,
> >
> > > > > If you are referring to /var/www/reviews.starcite.com/conf, there
> are
> > > > > 4 files as following -
> > > > > apache-fastcgi.conf
> > > > > search-cron.conf
> > > > > settings_local.py
> > > > > settings_local.pyc
> >
>

--~--~-~--~~~---~--~~
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: Nothing Displayed when browse "http://localhost/reviews"

2009-02-02 Thread Justin Chen

I am trying to use ReviewBoard under cygwin environment. It seems i
cannot install mod_python module for apache under cygwin environment.
Did anyone ever successfully install ReviewBoard under cygwin?

Thanks

On Feb 3, 11:28 am, Christian Hammond  wrote:
> Okay, the problem then is that you don't have the mod_python module
> installed or configured. Which distro is this? You probably just need to
> download and install the right package.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> VMware, Inc.
>
> On Mon, Feb 2, 2009 at 7:27 PM, Justin Chen wrote:
>
>
>
> > Hi Christian,
>
> > I did the changes as your mentioned. Then i met another issue-
> > $ /usr/sbin/apachectl2 start
> > Syntax error on line 10 of /etc/apache2/conf.d/
> > reviews.starcite.com.conf:
> > Invalid command 'PythonPath', perhaps misspelled or defined by a
> > module not incl
> > uded in the server configuration
>
> > Any idea?
>
> > On Feb 3, 10:59 am, Christian Hammond  wrote:
> > > Hi Justin.
>
> > > 1) The sites-enabled seems to be specific to certain distros. What you
> > could
> > > do then is just copy the contents directly into httpd.conf (unless
> > there's a
> > > conf.d directory, in which case put it there).
>
> > > 2) Sorry, I should have been more clear. I meant just the section you
> > added
> > > referencing the new site, along with the DocumentRoot.
>
> > > Unlike with normal file-based sites (such as sites using PHP), Django
> > (which
> > > Review Board uses) defines all the URLs and what each URL points to
> > inside
> > > the process, which is launched by fastcgi or mod_python. So all pages are
> > > rendered inside the process, meaning we don't need anything in htdocs
> > except
> > > for media files (which we serve statically so we don't have to process it
> > > with our software).
>
> > > I'm slowly, when I get the time, working on better installation/admin
> > docs
> > > for Review Board. I'm hoping to have these available for beta 1.
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > VMware, Inc.
>
> > > On Mon, Feb 2, 2009 at 6:55 PM, Justin Chen  > >wrote:
>
> > > > Hi Christian,
>
> > > > Thank you very much. I read
> > > >http://www.review-board.org/docs/GettingStarted
> > > > for hundreds of times, but still met lots of issues. :)
> > > > so, i still have some issues
> > > > (1) i cannot find any folder named sites-enabled under /etc/apache2/.
> > > > Any idea? how can i do in this case?
> > > > (2) you mentioned "remove your existing Apache config", you mean
> > > > remove all contents of the folder "/etc/apache2/"? Or just httpd.conf?
>
> > > > Thank you very much.
>
> > > > On Feb 3, 9:01 am, Christian Hammond  wrote:
> > > > > You need to remove your existing Apache config for this directory and
> > use
> > > > > the apache-fastcgi.conf from the conf directory. I strongly recommend
> > > > using
> > > > > mod_python instead of fastcgi, though (which would require that you
> > nuke
> > > > > that directory and re-run rb-site install). We've seen some bad
> > memory
> > > > > issues with fastcgi + apache + django.
>
> > > > > You should rename the resulting apache-whatever.conf file too
> > > > > reviews.starcite.com.conf and put it in your apache2/sites-enabled
> > > > > directory, if you have it.
>
> > > > > I recommend readinghttp://www.review-board.org/docs/GettingStarted,
> > > > since
> > > > > it goes over all this.
>
> > > > > Christian
>
> > > > > --
> > > > > Christian Hammond - chip...@chipx86.com
> > > > > VMware, Inc.
>
> > > > > On Mon, Feb 2, 2009 at 4:53 PM, Justin Chen <
> > justin.chen@gmail.com
> > > > >wrote:
>
> > > > > > Hi Christian,
>
> > > > > > If you are referring to /var/www/reviews.starcite.com/conf, there
> > are
> > > > > > 4 files as following -
> > > > > > apache-fastcgi.conf
> > > > > > search-cron.conf
> > > > > > settings_local.py
> > > > > > settings_local.pyc
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---