Re: Admin Login Configuration

2008-09-17 Thread Christian Hammond
Awesome :) Yeah, definitely sounds like Cygwin is busted or includes a busted Python. We'll have to make a note of it and warn people there may be problems. Christian -- Christian Hammond - [EMAIL PROTECTED] VMware, Inc. On Tue, Sep 16, 2008 at 5:16 PM, wex <[EMAIL PROTECTED]> wrote: > > Aha

Re: Apache Help

2008-09-17 Thread Guillaume
Hi All, I got the same problem : "Manual server updates required" page. My configuration seems to be more or less the same than daniel. Some informations about my installation : Installed on linux Ubuntu server 8.04 with most of the apt-get features (debian package manager) reviewboard is checko

Re: Apache Help

2008-09-17 Thread Christian Hammond
In both your cases, which instructions is it showing for the manual server updates? There are currently two things that can trigger this page. One being that /media/uploaded/images is not a directory, and one being that syncdb hasn't been ran. I'm assuming the former in both your cases. Christian

Re: "Create Review Request" doesn't redirect?

2008-09-17 Thread fharrison
hmmm, is there anywhere that the error may be logged or displayed? it's not in the Apache logs and an exception isn't being raised. I'll have a deeper look and see if I can debug what's going on. To answer your q: We're using a subversion repo and I'm using "svn diff [path] > diff_file.diff" to

Re: mod_fastcgi for Windows/Apache 2.0

2008-09-17 Thread fharrison
I had the same settings.py issue, although if I fixed the settings.py issue I would get a djiblets not-found error. I got around both issues by adding the following into my conf file. On my windows box (conf'd at docroot) : PythonPath "['D:/www/reviewboard'] + ['D:/www'] + sys.pa

Re: mod_fastcgi for Windows/Apache 2.0

2008-09-17 Thread fharrison
I meant to say you don't _need_ mod_fastcgi just python & mod_python. Have a look at: http://docs.djangoproject.com/en/dev/howto/deployment/modpython/ http://httpd.apache.org/docs/2.2/configuring.html F. On Sep 16, 7:23 pm, wex <[EMAIL PROTECTED]> wrote: > I'm still struggling to get rev

Re: Apache Help

2008-09-17 Thread Guillaume Dufrêne
Hi Christian, thanks for your reply, Both errors were reported by this page for me. So, I created the /media/uploaded/images I "chowned" this new directory to www-data which is the apache user I executed the ./manage.sh syncdb I reloaded apache (I don't really think it was necessary) No more erro

Re: Apache Help

2008-09-17 Thread fharrison
Did the sync give you any warnings? I also got both errors when I updated yesterday. The directories in question needs to be owned or read/writeable by the Apache user; a quick hack (and it is a hack) is to (from media) "chmod 777 -R uploaded". F. On Sep 17, 9:41 am, Guillaume Dufrêne <[EMAIL P

Re: Apache Help

2008-09-17 Thread Guillaume Dufrêne
Hi, About rights, I made a chown of my media dir ... Do i need to do a chmod 777 on it ? ps of my server : root 31830 0.0 0.3 26248 9764 ?Ss Sep16 0:01 /usr/sbin/apache2 -k start www-data 25219 0.2 0.4 33816 14636 ?S11:39 0:04 \_ /usr/sbin/apache2 -k start

Re: Apache Help

2008-09-17 Thread Daniel Wexler
Thanks for the replies. Good to see this is happening to others! The tan manual server updates required box is followed by a single light blue "Database changes" box that indicates that the schema has changed since my last upgrade and I need to run syncdb. I get no errors when I run syncdb. Ev

Re: Apache Help

2008-09-17 Thread Christian Hammond
How did you guys install Review Board and Djblets? Please try the following and report the output. Run: $ ./manage.py shell >>> from djblets.siteconfig.models import SiteConfiguration >>> siteconfig = SiteConfiguration.objects.get_current() This will help to track it down. Christian -- Chris

Re: Apache Help

2008-09-17 Thread Daniel Wexler
On Sep 17, 5:07 am, "Christian Hammond" <[EMAIL PROTECTED]> wrote: > How did you guys install Review Board and Djblets? Reviewboard is installed from scratch in this case, using sqlite and the standard instructions on Getting Started. Django was installed from an egg file using an egg file and

Re: Apache Help

2008-09-17 Thread Daniel Wexler
In the same "manage.py shell" I tried printing the siteconfig: >>> print siteconfig maki.nvidia.com/ (version 0.9) It is kinda odd that it says version 0.9 since I installed Django 1.0... On Sep 17, 5:16 am, Daniel Wexler <[EMAIL PROTECTED]> wrote: > On Sep 17, 5:07 am, "Christian Hammond" <[E

false Repository

2008-09-17 Thread 13Strider
>>> Repository info 'Path: http://reviewboard.googlecode.com/svn, Base path: >>> /trunk/reviewboard/contrib/tools, Supports changesets: False' >>> svn diff --diff-cmd=diff >>> svn info post-review >>> svn info post-review >>> svn info post-review >>> svn info post-review >>> Looking for '127.0.0.

Re: Apache Help

2008-09-17 Thread fharrison
Daniel, are you on Windows? If so how are chmoding, cygwin, colinux? Chmoding via cygwin won't work, you'll need to use the Windows native security settings; to give whatever the Apache user is read/write perms, do it via the folder's properties (right-click->properties- >'Security' tab). Btw, I a

Re: Apache Help

2008-09-17 Thread Daniel Wexler
Thanks for sticking with me, but I still have the same issue. Yes, I'm on Windows and I was using cygwin's chmod/chown commands. I just tried using the Window's security settings, as you suggested, but that didn't change anything. I still get the "Database changes" box. The syncdb command neve

wrong Repository error Code 206

2008-09-17 Thread 13Strider
CAn anyOne Help me with this ? im using post-Review >>> Logging in with username "root" >>> HTTP POSTing to http://192.168.9.176:8000/api/json/accounts/login/: >>> {'username': 'root', 'password': '**'} >>> Logged in. >>> Attempting to create review request for None >>> HTTP POSTing

Re: Apache Help

2008-09-17 Thread Guillaume Dufrêne
Yes I do : ls -al htdocs/media/uploaded/ drwxr-x--- 4 www-data root 4096 2008-09-16 17:57 . drwxr-xr-x 9 www-data root 4096 2008-09-16 16:13 .. drwxr-x--- 2 www-data root 4096 2008-09-16 17:57 images drwxr-x--- 6 www-data root 4096 2008-09-16 16:13 .svn I tried to chmod 777 the uploaded director

Cookies Firefox3

2008-09-17 Thread Ben
Hi all, I've just convinced my board to begin using such a tool, it will prevent me to systematically commit a fix after the push of my colleagues ... hihi ... I ran into trouble with Firefox3 ... Did anyone experienced the same ? My problem is that the review-board is not able to detect that m

Re: Apache Help

2008-09-17 Thread Ben
I guess your reviewboard is not able to find the database ... I got the same early today running my reviewboard via wsgi, and indicating a relative path to the sqlite file. Indicating the absolute path to the sqlite database solved the issue, but then I realized I did not wanted it rooted on my

Re: Apache Help

2008-09-17 Thread Daniel Wexler
Aha! That's the ticket. Thanks! Specifically, I had to change the DATABASE_NAME value in settings_local.py to the absolute path to my sqlite database: "C:/ reviewboard/reviewboard.sqlite" Now Apache is working for me! W00t! Thanks everyone! On Sep 17, 9:54 am, Ben <[EMAIL PROTECTED]> wrote:

Re: wrong Repository error Code 206

2008-09-17 Thread Christian Hammond
The repository path you're using is Review Board's SVN repository, not your own. This implies you're running post-review from a Review Board checkout. Make sure to run it from your repository's checkout and then follow the instructions in post-review on setting it up for that repository. Christian

Re: wrong Repository error Code 206

2008-09-17 Thread 13Strider
Sweet Thanks, i'll give that a try and let you know. On Sep 17, 4:48 pm, "Christian Hammond" <[EMAIL PROTECTED]> wrote: > The repository path you're using is Review Board's SVN repository, not your > own. This implies you're running post-review from a Review Board checkout. > Make sure to run it

Re: wrong Repository error Code 206

2008-09-17 Thread 13Strider
The P4Tool.txt that i import tp p4win needs to have the path of the post-review on the server in it. but no matter what path i put it it cant connect. any idea what the bath should be like? On Sep 17, 4:55 pm, 13Strider <[EMAIL PROTECTED]> wrote: > Sweet Thanks, > i'll give that a try and let yo

Re: wrong Repository error Code 206

2008-09-17 Thread Daniel Wexler
I had this same issue. I'm not sure this is the right way to fix it, but I modified my post-review script by hand and changed the REVIEWBOARD_URL near the top of the file to point to my reviewboard server (e.g. "http://maki"; in my case). I also had a bit of trouble getting the right path to the

post-review json reviewreqests dir?

2008-09-17 Thread Daniel Wexler
Almost got everything working, but I'm still having some trouble with post-review. Looks like the diff is now being created properly and most interactions with the server are ok (it creates a new review), but the files are not uploaded and I get the following error: Unable to access http://maki/

Vista version of simplejson

2008-09-17 Thread Daniel Wexler
If you are having trouble getting simplejson working under Vista (needed for post-review), you can follow the directions in the final post on this thread: http://groups.google.co.in/group/pylons-discuss/browse_thread/thread/fcaf0b8025f2c00c Here's how I got it to work: 1. Download the TGZ file

Re: mod_fastcgi for Windows/Apache 2.0

2008-09-17 Thread Daniel Wexler
This was a red herring. When the "Reviewboard is napping" message was displayed, I figured something was running slowly, and I inferred the problem was that I didn't have the mod_fastcgi working. That's wrong, of course. There is no requirement for mod_fastcgi. The real problem was that the P

Re: post-review json reviewreqests dir?

2008-09-17 Thread Daniel Wexler
Searching the old posts, looks like this is probably some sort of apache configuration error on my part. However, I don't see any errors in the apache log, but I do see two requests for the post, one for /api/json/accounts/login/ (which looks like it succeeds) and another for /api/json/reviewrequ

error from svn.py: global name 'ClientError' is not defined

2008-09-17 Thread Vinay Reddy
Hi all, I have the latest reviewboard (r1503), with django 1.0 and the latest djblets, and I get the following error when I try to view an svn diff: Traceback (most recent call last): File "/var/www/reviewboard/ diffviewer/views.py", line 86, in view_diff files = get_diff_files(diffset, Non

Re: error from svn.py: global name 'ClientError' is not defined

2008-09-17 Thread Vinay Reddy
Okay, I switched back to r1462 and this problem went away. I'm facing another problem though I can't seem to post any reviews: the page (in which you enter the location of the diff etc.) reloads without any visible error. I looked at my apache error logs but couldn't find anything there. Any i

Re: post-review json reviewreqests dir?

2008-09-17 Thread Daniel Wexler
Progress, and a new issue: Turns out my initial issue was a problem with the Perforce environment variable setup on my server. As noted in some other posts, the Apache httpd.conf file needs to have SetEnv calls to set the P4PORT, P4CLIENT, and P4USER. I discovered this by adding -d to the post-

Re: Apache Help

2008-09-17 Thread Guillaume Dufrêne
Yes, good news, it also work for me ! :-D Documentation should be completed to underline that point ! I know it is specific to sqlite DB configuration but still ... I think I will also take a look at post-review configuration. It's Funny to see that Daniel fallow the same track ;-) -- Guillaume.

Re: Cookies Firefox3

2008-09-17 Thread Christian Hammond
Hi. I'm using Firefox 3 and haven't seen any cookie-related problems. What extensions are you running? We can definitely add to settings_local.py.tmpl. I'll make a note to do that soon. Christian -- Christian Hammond - [EMAIL PROTECTED] VMware, Inc. On Wed, Sep 17, 2008 at 9:38 AM, Ben <[EMA