Re: Improper UI when staring ReviewBoard on browser

2008-11-24 Thread SamClark
Okay adding --copy-media allowed the script to complete. Swish... at least until i try to serve it :P On Nov 24, 5:08 pm, SamClark <[EMAIL PROTECTED]> wrote: > Cool I'll try that. > > A couple things: > > 1) The last piece of info I give the script is the admin account email > address, so I suppo

Re: Improper UI when staring ReviewBoard on browser

2008-11-24 Thread Christian Hammond
Not sure what you mean by #1. That is the last question. The next step is the install and some post-install instructions. As for #2, it's a known problem. Our test is really basic. We attempt to mkdir the directory to see if we have the permissions. Down the road I'd like to expand on this to give

Re: Improper UI when staring ReviewBoard on browser

2008-11-24 Thread SamClark
Cool I'll try that. A couple things: 1) The last piece of info I give the script is the admin account email address, so I suppose as far as I know it's not finished yet. 2) This may be a problem on my end but rb-site isn't happy if the specified directory already exists. "[!] Unable to create

Re: Improper UI when staring ReviewBoard on browser

2008-11-24 Thread Christian Hammond
Actually, I see why... I had left out some logic to detect if we're running on Windows. There's a workaround though. Pass the --copy-media flag to rb-site and it should work (or work better at least). Christian -- Christian Hammond - [EMAIL PROTECTED] VMware, Inc. On Mon, Nov 24, 2008 at 3:58

Re: Improper UI when staring ReviewBoard on browser

2008-11-24 Thread Christian Hammond
Sorry about that. I'll work on a fix and get it in to SVN. Christian -- Christian Hammond - [EMAIL PROTECTED] VMware, Inc. On Mon, Nov 24, 2008 at 3:49 PM, SamClark <[EMAIL PROTECTED]> wrote: > > I was using setup.py. > > I have just attempted using rb-site. For some reason mine didn't have >

Re: New installation/upgrade procedures

2008-11-24 Thread Tomas Friml
Ok, reinstalling still doesn't help (files are still created, but I suppose that's because your nightly build hasn't been propagated yet to easy_install or something like that), but if I remove the settings_local files rb-site upgrade works :). Thanks a lot, Tom On 25 Lis, 12:24, "Christian Hamm

Re: Improper UI when staring ReviewBoard on browser

2008-11-24 Thread SamClark
I was using setup.py. I have just attempted using rb-site. For some reason mine didn't have a .py extension so I added one (I'm using the one that got copied to c: \python\scripts via cmd.exe > easy_install ReviewBoard). When I run cmd.exe > rb-site.py install reviewboard and answer the question

Re: New installation/upgrade procedures

2008-11-24 Thread Christian Hammond
The settings_local.py in the ReviewBoard egg directory was a packaging error that has been fixed in the latest nightly. Go ahead and delete settings_local.py and .pyc from that directory and try the install again. You shouldn't hit this with future packages. What should be happening is that rb-sit

Re: New installation/upgrade procedures

2008-11-24 Thread Tomas Friml
Hi Chris, I would think that it works like that. But it doesn't not in my case :). The problem obviously is in settings_local.py in the ReviewBoard directory. If I set the correct db settings there everything works. But the default settings_local don't work for me. Settings_local.py in site direc

Re: Improper UI when staring ReviewBoard on browser

2008-11-24 Thread Christian Hammond
But was it the Makefile or the setup.py method? You'll probably want to try the new method if possible. rb-site should maintain the media files appropriately so you don't have this issue. I don't really have a Windows install of this to test with yet. If you hit any bumps along the way and figure

Re: New installation/upgrade procedures

2008-11-24 Thread Chris Clark
One option would be a local PyPi mirror produced on a machine with internet access, there are a few of those around. I've not used any of them though, http://pypi.python.org/pypi/collective.eggproxy/ may be worth checking out. This way the dependencies can be dealt with. Chris Christian Ham

Re: Improper UI when staring ReviewBoard on browser

2008-11-24 Thread SamClark
Installing on windows using the old instructions. On Nov 24, 2:56 pm, "Christian Hammond" <[EMAIL PROTECTED]> wrote: > What method did you use to install it? > > It sounds like your media directory isn't pointing to the right place. If > you use rb-site install, it should do this for you. > > Chr

Re: New installation/upgrade procedures

2008-11-24 Thread Christian Hammond
Hi Chris. You sure can. Just check out the SVN tree, modify what you need, and, when you're ready to install, run: python setup.py install There's also a "python setup.py develop" command that sets up the installed tree to point to your source directory. This is fine for devel purposes, but if y

Re: New installation/upgrade procedures

2008-11-24 Thread Christian Hammond
Hi Tomas. Yeah, it looks like easy_install leaves the old directory behind. I don't know why. I think it's an issue on their end. You shouldn't ever deal with the settings file in that directory, though. The settings.py in there is meant to be untouched. You should only ever modify conf/settings_

Re: Improper UI when staring ReviewBoard on browser

2008-11-24 Thread Christian Hammond
What method did you use to install it? It sounds like your media directory isn't pointing to the right place. If you use rb-site install, it should do this for you. Christian -- Christian Hammond - [EMAIL PROTECTED] VMware, Inc. On Mon, Nov 24, 2008 at 1:43 PM, SamClark <[EMAIL PROTECTED]> wr

Re: New installation/upgrade procedures

2008-11-24 Thread Christian Hammond
The best I can offer you is http://www.review-board.org/downloads/nightly/and http://www.review-board.org/downloads/mirror/. You can download the eggs from there and run easy_install on the file direcly. You may also want to pass the -N flag to have it skip dependencies, but make sure you have the

Re: New installation/upgrade procedures

2008-11-24 Thread Mark B.
One question that might be similar to what Chris Clark was asking about: what is the best way to install rb on a box that has no direct access to the Internet? The app has been in such flux that I finally stopped trying to install it after Django released 1.0, anticipating your own 1.0 release.

Re: Improper UI when staring ReviewBoard on browser

2008-11-24 Thread SamClark
I am also having the same issue installing on a new machine. Is this to be expected? As a side note the admin interface still looks good, but everything else looks like my first website. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: New installation/upgrade procedures

2008-11-24 Thread Chris Clark
Christian Hammond wrote: > .To sum up the new changes, basic installation has mostly become: > >$ sudo easy_install ReviewBoard >$ sudo rb-site install /var/www/reviews.example.com > > > For the most part, nothing too fundamental has changed. It's just

Re: New installation/upgrade procedures

2008-11-24 Thread Tomas Friml
Hi Christian, Yesterday I've migrated to "new way of..." ReviewBoard (after putting some effort :)). Today I wanted to upgrade it and all went smoothly till I wanted to upgrade site. I got same error as yesterday (missing python sqlite module which was caused by default settings of ReviewBoard).