Re: Windows Installation w/ Apache 2: What if I don't have sites-available or sites-enabled directories?

2009-01-20 Thread SamClark

I didn't need to create those directories. They were already. The
apache service is running as me (my windows domain login), and I
should have all the necessary permissions.

Running rb-site upgrade produced:

C:\apacheweb\reviewboard>rb-site.py upgrade . --copy-media
Rebuilding directory structure
Updating database
Installing json fixture 'initial_data' from 'C:\Python25\lib\site-
packages\revie
wboard-0.9.dev_20081124-py2.5.egg\reviewboard\scmtools\fixtures'.
Installed 6 object(s) from 1 fixture(s)
No evolution required.

I am still getting the 'manual server updates required' page.

Running without the --copy-media flag gives me the old "no attribute
'symlink'" error.

On Jan 20, 2:20 pm, Christian Hammond  wrote:
> Do you have "uploaded" and "uploaded/images" directories owned by the web
> server in your site's htdocs/media/ directory? If not, go ahead and create
> them and then restart Apache.
>
> If you're using rb-site, then "rb-site /path/to/site upgrade" will take care
> of the syncdb, the evolve, and fixing any symlinks or updating media files
> when need be.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> VMware, Inc.
>
> On Tue, Jan 20, 2009 at 8:56 AM, SamClark  wrote:
>
> > Hmm... I updated my checkout and managed to get something actually. I
> > think my problem was using localhost, 127.0.0.1, computername instead
> > on my LAN address for the domain name.
>
> > I'm now getting the 'manual server updates required page'. The root of
> > my instance of review board is c:\apacheweb\reviewboard. I ran
> > 'manage.py syncdb' (and manage.py evolve --execute just for shits) at
> > this location with the following output:
>
> > C:\apacheweb\reviewboard>manage.py syncdb
> > Upgrading Review Board from 0.9 to 1.0alpha2
> > Installing json fixture 'initial_data' from 'C:\svn\reviewboard
> > \scmtools\fixture
> > s'.
> > Installed 6 object(s) from 1 fixture(s)
>
> > C:\apacheweb\reviewboard>manage.py evolve --execute
> > No evolution required.
>
> > I restarted apache and still got the same manual server updates page.
> > I also tried clearing my browswer cache.
>
> > I am running mysql 5.0.67.
>
> > On Jan 19, 4:53 pm, Christian Hammond  wrote:
> > > Hi Sam.
>
> > > Some distros don't provide a sites-available or sites-enabled. In these
> > > cases, I'd just recommend modifying httpd.conf and append the
> > configuration.
> > > It sounds like you've tried this, though. Does the Apache error log say
> > > anything? Also, make sure you have a NameVirtualHost entry somewhere in
> > the
> > > file that specifies the IP address of the server.
>
> > > What do you see when you visit the site?
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > VMware, Inc.
>
> > > On Mon, Jan 19, 2009 at 3:38 PM, SamClark  wrote:
>
> > > > I'm trying to serve review board through apache 2.2.10. I just had rb-
> > > > site.py complete but I don't have the sites-available or sites-enabled
> > > > directories and it doesn't look like httpd.conf has any mention of
> > > > either. Should I look for another apache distribution?
>
> > > > I have tried pasting the review board config file into my virtual
> > > > hosts file and uncommenting the virtual host reference httpd.conf in
> > > > the past with no luck.- 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: Windows Installation w/ Apache 2: What if I don't have sites-available or sites-enabled directories?

2009-01-20 Thread SamClark

Hmm... I updated my checkout and managed to get something actually. I
think my problem was using localhost, 127.0.0.1, computername instead
on my LAN address for the domain name.

I'm now getting the 'manual server updates required page'. The root of
my instance of review board is c:\apacheweb\reviewboard. I ran
'manage.py syncdb' (and manage.py evolve --execute just for shits) at
this location with the following output:

C:\apacheweb\reviewboard>manage.py syncdb
Upgrading Review Board from 0.9 to 1.0alpha2
Installing json fixture 'initial_data' from 'C:\svn\reviewboard
\scmtools\fixture
s'.
Installed 6 object(s) from 1 fixture(s)

C:\apacheweb\reviewboard>manage.py evolve --execute
No evolution required.

I restarted apache and still got the same manual server updates page.
I also tried clearing my browswer cache.

I am running mysql 5.0.67.

On Jan 19, 4:53 pm, Christian Hammond  wrote:
> Hi Sam.
>
> Some distros don't provide a sites-available or sites-enabled. In these
> cases, I'd just recommend modifying httpd.conf and append the configuration.
> It sounds like you've tried this, though. Does the Apache error log say
> anything? Also, make sure you have a NameVirtualHost entry somewhere in the
> file that specifies the IP address of the server.
>
> What do you see when you visit the site?
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> VMware, Inc.
>
>
>
> On Mon, Jan 19, 2009 at 3:38 PM, SamClark  wrote:
>
> > I'm trying to serve review board through apache 2.2.10. I just had rb-
> > site.py complete but I don't have the sites-available or sites-enabled
> > directories and it doesn't look like httpd.conf has any mention of
> > either. Should I look for another apache distribution?
>
> > I have tried pasting the review board config file into my virtual
> > hosts file and uncommenting the virtual host reference httpd.conf in
> > the past with no luck.- 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
-~--~~~~--~~--~--~---



Windows Installation w/ Apache 2: What if I don't have sites-available or sites-enabled directories?

2009-01-19 Thread SamClark

I'm trying to serve review board through apache 2.2.10. I just had rb-
site.py complete but I don't have the sites-available or sites-enabled
directories and it doesn't look like httpd.conf has any mention of
either. Should I look for another apache distribution?

I have tried pasting the review board config file into my virtual
hosts file and uncommenting the virtual host reference httpd.conf in
the past with no luck.
--~--~-~--~~~---~--~~
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-review version 0.8: The patch to "..." didn't apply cleanly

2009-01-08 Thread SamClark

Scratch that, patch.exe that came with cygwin works. I think I've been
running PATCH.EXE under c:\WINDOWS. Hope this isn't netbus but thats
my problem and another discussion.

So now that PATCH.EXE is gone I can post a review by hand and view the
diff properly. Thanks for the help. Somewhat indirect but I never
would have noticed this otherwise.

I'll give an update on whether post-review.py works when I try it.

Thanks again and sorry I'm such a noob.

On Jan 8, 10:38 am, SamClark  wrote:
> Okay, I noticed something interesting. I think I've been running the
> patch.exe in cygwin\bin (GnuWin32\bin and cygwin\bin are both on my
> PATH but GnuWin32\bin doesn't contain patch). I think I'm using the
> same diffutils package as you but it doesn't come with the patch tool.
> Anyway that would explain the goofy behaviour and why diff works but
> I'm wondering where you got your patch tool since even the .zip
> folders on:
>
> http://gnuwin32.sourceforge.net/packages/diffutils.htm
>
> Don't contain a 'patch' exec.
>
> While we're at it what does review board use to perform diffs? Would
> it be trying to use my hooped cygwin patchutils tools?
>
> On Jan 8, 7:20 am, "Muhammad Haggag"  wrote:
>
>
>
> > On Wed, Jan 7, 2009 at 12:43 PM, SamClark  wrote:
>
> > > Well if I hack the file to look exactly like the svn diff output I get
> > > the 'patch didn't apply cleanly' issue, which is expected i guess.
>
> > > The patch command doesn't output anything. It just fails silently and
> > > doesn't leave me with any additional file (I'm assuming the patched
> > > file would appear in the same directory the patch command was run in).
> > > As a side note I'm using diff and patch from diffutils 2.8.7.1, should
> > > I try patchutils under cygwin (Is that even possible? my cygwin
> > > experience is zilch)
>
> > Yes, the patched file should appear in the same directory. Can you try
> > running patch without the --output=patched option? It should output to
> > stdout.
> > I use diff/patch from gnuwin32 (gnuwin32.sourceforge.net), but it
> > shouldn't make a difference.
>
> > > Maybe off-topic but is it possible that tortoiseSVN touching my
> > > repository messed things up?
>
> > Doesn't sound like it. There's something fundamentally wrong here if
> > we can't get patch to use the patch generated by diff. If we work out
> > what's going on here, we'll be able to get this to work.
>
> > > Ok maybe I missed a step somewhere. I haven't touched Cygwin except to
> > > install patchutils? All I have done is (beyond installing many
> > > dependencies):
>
> > > [snip]
>
> > > Am I missing something?
>
> > Looks alright to me.
>
> > Regards
> > --
> > Muhammad Haggag- 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: Post-review version 0.8: The patch to "..." didn't apply cleanly

2009-01-08 Thread SamClark

Okay, I noticed something interesting. I think I've been running the
patch.exe in cygwin\bin (GnuWin32\bin and cygwin\bin are both on my
PATH but GnuWin32\bin doesn't contain patch). I think I'm using the
same diffutils package as you but it doesn't come with the patch tool.
Anyway that would explain the goofy behaviour and why diff works but
I'm wondering where you got your patch tool since even the .zip
folders on:

http://gnuwin32.sourceforge.net/packages/diffutils.htm

Don't contain a 'patch' exec.

While we're at it what does review board use to perform diffs? Would
it be trying to use my hooped cygwin patchutils tools?

On Jan 8, 7:20 am, "Muhammad Haggag"  wrote:
> On Wed, Jan 7, 2009 at 12:43 PM, SamClark  wrote:
>
> > Well if I hack the file to look exactly like the svn diff output I get
> > the 'patch didn't apply cleanly' issue, which is expected i guess.
>
> > The patch command doesn't output anything. It just fails silently and
> > doesn't leave me with any additional file (I'm assuming the patched
> > file would appear in the same directory the patch command was run in).
> > As a side note I'm using diff and patch from diffutils 2.8.7.1, should
> > I try patchutils under cygwin (Is that even possible? my cygwin
> > experience is zilch)
>
> Yes, the patched file should appear in the same directory. Can you try
> running patch without the --output=patched option? It should output to
> stdout.
> I use diff/patch from gnuwin32 (gnuwin32.sourceforge.net), but it
> shouldn't make a difference.
>
> > Maybe off-topic but is it possible that tortoiseSVN touching my
> > repository messed things up?
>
> Doesn't sound like it. There's something fundamentally wrong here if
> we can't get patch to use the patch generated by diff. If we work out
> what's going on here, we'll be able to get this to work.
>
> > Ok maybe I missed a step somewhere. I haven't touched Cygwin except to
> > install patchutils? All I have done is (beyond installing many
> > dependencies):
>
> > [snip]
>
> > Am I missing something?
>
> Looks alright to me.
>
> Regards
> --
> Muhammad Haggag
--~--~-~--~~~---~--~~
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-review version 0.8: The patch to "..." didn't apply cleanly

2009-01-07 Thread SamClark

Well if I hack the file to look exactly like the svn diff output I get
the 'patch didn't apply cleanly' issue, which is expected i guess.

The patch command doesn't output anything. It just fails silently and
doesn't leave me with any additional file (I'm assuming the patched
file would appear in the same directory the patch command was run in).
As a side note I'm using diff and patch from diffutils 2.8.7.1, should
I try patchutils under cygwin (Is that even possible? my cygwin
experience is zilch)

Maybe off-topic but is it possible that tortoiseSVN touching my
repository messed things up?

Ok maybe I missed a step somewhere. I haven't touched Cygwin except to
install patchutils? All I have done is (beyond installing many
dependencies):

- Edit the settings.py file to add my mysql database info, add myself
as admin, and set debug=true
- Give all permissions to review board mysql user on the review board
database (which i created)
- create a superuser
- run the dev server at my IP port 8000 with the following output:

---
C:\SVN\reviewboard>manage.py runserver 10.1.27.54:8000
Running dependency checks (set DEBUG=False to turn this off)...
Warning: p4python (>=07.3) not found.  Perforce integration will not
work.
Warning: hg not found.  Mercurial integration will not work.
Warning: PyLucene (with JCC) is required to enable search. See the
documentation
 for instructions.
Warning: Syntax highlighting requires the Pygments library, which is
not install
ed.
Warning: git binary not found.  Git integration will not work.
Warning: mtn binary not found.  Monotone integration will not work.

Please see http://code.google.com/p/reviewboard/wiki/GettingStarted
for help setting up Review Board.


Validating models...
0 errors found

Django version 1.0.2 final, using settings 'reviewboard.settings'
Development server is running at http://10.1.27.54:8000/
Quit the server with CTRL-BREAK.
---

Am I missing something?

On Jan 6, 8:47 pm, "Muhammad Haggag"  wrote:
> On Tue, Jan 6, 2009 at 10:15 AM, SamClark  wrote:
>
> > So... a few things. I haven't mentioned in this post that I'm on a
> > windows machine. Maybe I should
>
> I was doing all this stuff on a Windows machine too, so don't worry.
> It should work in the end :)
>
>
>
>
>
> > Running at the command line:
>
> > svn 
> > cathttp://localhost/svnrepo/Firmware/Projects/Hello/branches/Hello_b_1_0...
> > -r 11 >old
>
> > svn 
> > cathttp://localhost/svnrepo/Firmware/Projects/Hello/branches/Hello_b_1_0...
> > -r 12 >new
>
> > diff -u old new >patch
>
> > Yields this output for the file 'patch':
> > ---
> > --- old 2009-01-06 10:16:19.834724200 -0700
> > +++ new 2009-01-06 10:16:08.943681000 -0700
> > @@ -5,6 +5,7 @@
> >  int main(void)
> >  {
> >        printf("There are %d months in a year", TWELVE);
> > +    printf("Another revision");
> >        return;
> >  }
>
> > ---
> > I can't seem to produce an output file using:
>
> > patch -u --input=patch --output=patched old
>
> What does patch say? The patch file looks fine to me. I actually can't
> see any difference between this and the one produced by svn diff.
>
> > Which leads me to believe patch doesn't understand my patch. I tried
> > to post a new review by hand using the above file 'patch'. Review
> > board told me it couldn't parse the first line (Unable to parse diff
> > revision header '2009-01-06 10:16:19.834724200 -0700').
>
> That's expected, because the svn patch parser expects svn patches
> (which contain revision numbers after file paths). You can fix it
> manually if you want to, by mimicking what svn diff outputs for the
> files (i.e. revision 11/12 etc)
>
> Regards
> --
> Muhammad Haggag- 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: Post-review version 0.8: The patch to "..." didn't apply cleanly

2009-01-06 Thread SamClark

So... a few things. I haven't mentioned in this post that I'm on a
windows machine. Maybe I should

Running at the command line:

svn cat 
http://localhost/svnrepo/Firmware/Projects/Hello/branches/Hello_b_1_0_0_TestReview/source/hello.c
-r 11 >old

svn cat 
http://localhost/svnrepo/Firmware/Projects/Hello/branches/Hello_b_1_0_0_TestReview/source/hello.c
-r 12 >new

diff -u old new >patch

Yields this output for the file 'patch':
---
--- old 2009-01-06 10:16:19.834724200 -0700
+++ new 2009-01-06 10:16:08.943681000 -0700
@@ -5,6 +5,7 @@
 int main(void)
 {
printf("There are %d months in a year", TWELVE);
+printf("Another revision");
return;
 }


---
I can't seem to produce an output file using:

patch -u --input=patch --output=patched old

Which leads me to believe patch doesn't understand my patch. I tried
to post a new review by hand using the above file 'patch'. Review
board told me it couldn't parse the first line (Unable to parse diff
revision header '2009-01-06 10:16:19.834724200 -0700').

This is the file 'patch' when svn diff -r 11:12 >patch is run in my
working directory for comparison
---
Index: source/hello.c
===
--- source/hello.c  (revision 11)
+++ source/hello.c  (revision 12)
@@ -5,6 +5,7 @@
 int main(void)
 {
printf("There are %d months in a year", TWELVE);
+printf("Another revision");
return;
 }


---

On Jan 6, 1:10 am, "Muhammad Haggag"  wrote:
> On Mon, Jan 5, 2009 at 10:16 PM, SamClark  wrote:
>
> > I'm having trouble finding instructions on explicitly using gnu diff
> > while still preserving repo information. How do I work it into say
> > 'svn diff -r 12:13 >testdiff' or a post-review.py call?
>
> In my case, I didn't use post-review at all. I wrote an equivalent
> script from scratch that just targets our source control system, and
> mimics the command-line interface we used prior to reviewboard. The
> script retrieved the unmodified file from the source control system,
> and launched gnu diff on that file against the one in the working
> directory. The script then used the diff output to generate a patch
> for reviewboard, inserting repository information where necessary.
>
> So in your case, I'd try (off the top of my head):
> svn cat -r 12 >old-file
> svn cat -r 13 >new-file
> diff -u old-file new-file >my-patch
>
> Examine the generated diff. Is it different from the one generated by
> svn? If it is, try to see if patch understands it:
> patch -u -i my-patch -o patched-file old-file
>
> Regards
> --
> Muhammad Haggag
--~--~-~--~~~---~--~~
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-review version 0.8: The patch to "..." didn't apply cleanly

2009-01-05 Thread SamClark

I'm having trouble finding instructions on explicitly using gnu diff
while still preserving repo information. How do I work it into say
'svn diff -r 12:13 >testdiff' or a post-review.py call?

In the mean time I get the same error when running 'svn diff -r 12:13
>testdiff' in my working directory and posting 'by hand' (new review
request) then looking at the 'view diff' page.

The contents of the temp files are:

hello.c.diff:
---
Index: source/hello.c
===
--- source/hello.c  (revision 12)
+++ source/hello.c  (revision 13)
@@ -8,4 +8,3 @@
 printf("Another revision");
return;
 }
-

--- (single trailing newline
in hello.c.diff)

tmpyfic-n:
---
#include 
#include "hello.h"

// changing to test codestriker
int main(void)
{
printf("There are %d months in a year", TWELVE);
printf("Another revision");
return;
}


--- (double trailing newline
in tmpyfic-n)

On Dec 19 2008, 4:29 am, "Muhammad Haggag"  wrote:
> When that happened to me, I went to the temp directory and examined
> the files myself. In my case, it turned out that my source control
> system mishandled files that didn't have trailing newlines
> incorrectly, and produced diffs that gnu patch didn't understand.
> Using gnu diff solved my problem (It adds a "\No newline at end of
> file" lines at the problematic spots, which patch understands).
>
> If you're unable to resolve your problem, try to reproduce it with
> some dummy files that are safe to share, and post your temporary files
> here.
>
>
>
> On Thu, Dec 18, 2008 at 11:28 PM, SamClark  wrote:
>
> > I've been browsing other posts about this but I haven't been able to
> > make heads or tails of them. In short when I navigate to my project
> > working copy and run
>
> > ' > post-review.py --revision-range=11:12 --server=http://
> > my.reviewboard.server:port'
>
> > The script completes successfully and spits out the url of the posted
> > review. When I go there and try to 'view diff' I get a page with:
>
> > -
> > -
>
> > The patch to '/Firmware/Projects/Hello/branches/
> > Hello_b_1_0_0_TestReview/source/hello.c' didn't apply cleanly. The
> > temporary files have been left in 'c:\docume~1\sclark\locals~1\temp
> > \reviewboard.phaidc' for debugging purposes. `patch` returned:
>
> > Traceback (most recent call last):
> >  File "c:\svn\reviewboard\diffviewer\views.py", line 86, in view_diff
> >files = get_diff_files(diffset, None, interdiffset, highlighting)
> >  File "c:\svn\reviewboard\diffviewer\diffutils.py", line 654, in
> > get_diff_files
> >enable_syntax_highlighting)
> >  File "c:\svn\reviewboard\diffviewer\diffutils.py", line 573, in
> > generate_files
> >large_data=True)
> >  File "C:\SVN\reviewboard\djblets\util\misc.py", line 142, in
> > cache_memoize
> >data = lookup_callable()
> >  File "c:\svn\reviewboard\diffviewer\diffutils.py", line 572, in
> > 
> >enable_syntax_highlighting),
> >  File "c:\svn\reviewboard\diffviewer\diffutils.py", line 339, in
> > get_chunks
> >new = get_patched_file(old, filediff)
> >  File "c:\svn\reviewboard\diffviewer\diffutils.py", line 255, in
> > get_patched_file
> >return patch(filediff.diff, buffer, filediff.dest_file)
> >  File "c:\svn\reviewboard\diffviewer\diffutils.py", line 125, in
> > patch
> >(filename, tempdir, patch_output))
> > Exception: The patch to '/Firmware/Projects/Hello/branches/
> > Hello_b_1_0_0_TestReview/source/hello.c' didn't apply cleanly. The
> > temporary files have been left in 'c:\docume~1\sclark\locals~1\temp
> > \reviewboard.phaidc' for debugging purposes.
> > `patch` returned:
>
> > -
> > -
>
> --
> Muhammad Haggag
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Post-review version 0.8: The patch to "..." didn't apply cleanly

2008-12-18 Thread SamClark

I've been browsing other posts about this but I haven't been able to
make heads or tails of them. In short when I navigate to my project
working copy and run

' > post-review.py --revision-range=11:12 --server=http://
my.reviewboard.server:port'

The script completes successfully and spits out the url of the posted
review. When I go there and try to 'view diff' I get a page with:

-
-

The patch to '/Firmware/Projects/Hello/branches/
Hello_b_1_0_0_TestReview/source/hello.c' didn't apply cleanly. The
temporary files have been left in 'c:\docume~1\sclark\locals~1\temp
\reviewboard.phaidc' for debugging purposes. `patch` returned:

Traceback (most recent call last):
  File "c:\svn\reviewboard\diffviewer\views.py", line 86, in view_diff
files = get_diff_files(diffset, None, interdiffset, highlighting)
  File "c:\svn\reviewboard\diffviewer\diffutils.py", line 654, in
get_diff_files
enable_syntax_highlighting)
  File "c:\svn\reviewboard\diffviewer\diffutils.py", line 573, in
generate_files
large_data=True)
  File "C:\SVN\reviewboard\djblets\util\misc.py", line 142, in
cache_memoize
data = lookup_callable()
  File "c:\svn\reviewboard\diffviewer\diffutils.py", line 572, in

enable_syntax_highlighting),
  File "c:\svn\reviewboard\diffviewer\diffutils.py", line 339, in
get_chunks
new = get_patched_file(old, filediff)
  File "c:\svn\reviewboard\diffviewer\diffutils.py", line 255, in
get_patched_file
return patch(filediff.diff, buffer, filediff.dest_file)
  File "c:\svn\reviewboard\diffviewer\diffutils.py", line 125, in
patch
(filename, tempdir, patch_output))
Exception: The patch to '/Firmware/Projects/Hello/branches/
Hello_b_1_0_0_TestReview/source/hello.c' didn't apply cleanly. The
temporary files have been left in 'c:\docume~1\sclark\locals~1\temp
\reviewboard.phaidc' for debugging purposes.
`patch` returned:

-
-
--~--~-~--~~~---~--~~
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: Windows installation: Instructions to run using django dev server

2008-12-18 Thread SamClark

Right right, django. Man I should have learned some of this stuff
beforehand. Thanks again Christian.

On Dec 17, 2:55 pm, "Christian Hammond"  wrote:
> You can set admin credentials in the Users database area in the admin UI. If
> you don't have an account that can reach the admin UI, you can run:
>
> ./manage.py createsuperuser
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> VMware, Inc.
>
>
>
> On Wed, Dec 17, 2008 at 10:05 AM, SamClark  wrote:
>
> > Debug = True allows the site to render correctly.
>
> > Where do I set the initial admin account credentials when hosting
> > using the dev server again?
>
> > I'll likely only be working with svn 1.4.6 since I don't have admin
> > access to our repo server.
>
> > On Dec 16, 6:16 pm, "Christian Hammond"  wrote:
> > > Ah good :) Wanted to make sure, because some people do try to use it for
> > > production purposes and then run into problems.
>
> > > Let me know what the results are with DEBUG = True and a modern SVN. If
> > it's
> > > still broken, look at one of the pages and see what paths it's using for,
> > > say, CSS files. That may help to debug this.
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > VMware, Inc.
>
> > > On Tue, Dec 16, 2008 at 5:11 PM, SamClark  wrote:
>
> > > > I'm not planning on using the dev server for a production deployment.
> > > > I'm just looking for a short-term solution to investigate review
> > > > board's functionality while I hack away at some apache/django
> > > > tutorials. I also want to verify that my apache setup is indeed the
> > > > issue.
>
> > > > On Dec 16, 4:46 pm, "Christian Hammond"  wrote:
> > > > > First off, the dev server should never be used for anything but
> > > > development.
> > > > > It is single-threaded and can only handle one request at a time. That
> > > > means
> > > > > a browser can't download several images, javascript files, etc.
> > > > > simultaneously, and if one client is rendering a diff, everything
> > else is
> > > > > fully blocked.
>
> > > > > That said, manage.py runserver should still work. If the pages aren't
> > > > > rendering, it's likely due to not finding the media files. The first
> > > > thing
> > > > > to check is that you're running a modern SVN. For a short time (about
> > a
> > > > > week, maybe?), runserver was using the wrong directory for media
> > files.
>
> > > > > The second thing to check is that you have DEBUG=True in
> > > > settings_local.py,
> > > > > so that runserver will serve the media files.
>
> > > > > If this is indeed for production use, I must stress again, don't use
> > > > > runserver. It's not the correct solution and will cause you nothing
> > but
> > > > > headaches. We should instead find out what's not working with your
> > Apache
> > > > > install/configuration and get that working.
>
> > > > > Christian
>
> > > > > --
> > > > > Christian Hammond - chip...@chipx86.com
> > > > > VMware, Inc.
>
> > > > > On Tue, Dec 16, 2008 at 3:36 PM, SamClark 
> > wrote:
>
> > > > > > Is it still possible to host review board using the django dev
> > server?
> > > > > > I've tried > manage.py runserver localhost:8000 but the user
> > interface
> > > > > > doesn't render properly. This is performed in the directory of a
> > fresh
> > > > > > svn checkout.
>
> > > > > > I want to avoid using rb-site because I'm not having any luck
> > serving
> > > > > > review board through apache due to my own inexperience.- 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: Windows installation: Instructions to run using django dev server

2008-12-17 Thread SamClark

Debug = True allows the site to render correctly.

Where do I set the initial admin account credentials when hosting
using the dev server again?

I'll likely only be working with svn 1.4.6 since I don't have admin
access to our repo server.

On Dec 16, 6:16 pm, "Christian Hammond"  wrote:
> Ah good :) Wanted to make sure, because some people do try to use it for
> production purposes and then run into problems.
>
> Let me know what the results are with DEBUG = True and a modern SVN. If it's
> still broken, look at one of the pages and see what paths it's using for,
> say, CSS files. That may help to debug this.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> VMware, Inc.
>
> On Tue, Dec 16, 2008 at 5:11 PM, SamClark  wrote:
>
> > I'm not planning on using the dev server for a production deployment.
> > I'm just looking for a short-term solution to investigate review
> > board's functionality while I hack away at some apache/django
> > tutorials. I also want to verify that my apache setup is indeed the
> > issue.
>
> > On Dec 16, 4:46 pm, "Christian Hammond"  wrote:
> > > First off, the dev server should never be used for anything but
> > development.
> > > It is single-threaded and can only handle one request at a time. That
> > means
> > > a browser can't download several images, javascript files, etc.
> > > simultaneously, and if one client is rendering a diff, everything else is
> > > fully blocked.
>
> > > That said, manage.py runserver should still work. If the pages aren't
> > > rendering, it's likely due to not finding the media files. The first
> > thing
> > > to check is that you're running a modern SVN. For a short time (about a
> > > week, maybe?), runserver was using the wrong directory for media files.
>
> > > The second thing to check is that you have DEBUG=True in
> > settings_local.py,
> > > so that runserver will serve the media files.
>
> > > If this is indeed for production use, I must stress again, don't use
> > > runserver. It's not the correct solution and will cause you nothing but
> > > headaches. We should instead find out what's not working with your Apache
> > > install/configuration and get that working.
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > VMware, Inc.
>
> > > On Tue, Dec 16, 2008 at 3:36 PM, SamClark  wrote:
>
> > > > Is it still possible to host review board using the django dev server?
> > > > I've tried > manage.py runserver localhost:8000 but the user interface
> > > > doesn't render properly. This is performed in the directory of a fresh
> > > > svn checkout.
>
> > > > I want to avoid using rb-site because I'm not having any luck serving
> > > > review board through apache due to my own inexperience.- 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: Windows installation: Instructions to run using django dev server

2008-12-16 Thread SamClark


I'm not planning on using the dev server for a production deployment.
I'm just looking for a short-term solution to investigate review
board's functionality while I hack away at some apache/django
tutorials. I also want to verify that my apache setup is indeed the
issue.

On Dec 16, 4:46 pm, "Christian Hammond"  wrote:
> First off, the dev server should never be used for anything but development.
> It is single-threaded and can only handle one request at a time. That means
> a browser can't download several images, javascript files, etc.
> simultaneously, and if one client is rendering a diff, everything else is
> fully blocked.
>
> That said, manage.py runserver should still work. If the pages aren't
> rendering, it's likely due to not finding the media files. The first thing
> to check is that you're running a modern SVN. For a short time (about a
> week, maybe?), runserver was using the wrong directory for media files.
>
> The second thing to check is that you have DEBUG=True in settings_local.py,
> so that runserver will serve the media files.
>
> If this is indeed for production use, I must stress again, don't use
> runserver. It's not the correct solution and will cause you nothing but
> headaches. We should instead find out what's not working with your Apache
> install/configuration and get that working.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> VMware, Inc.
>
>
>
> On Tue, Dec 16, 2008 at 3:36 PM, SamClark  wrote:
>
> > Is it still possible to host review board using the django dev server?
> > I've tried > manage.py runserver localhost:8000 but the user interface
> > doesn't render properly. This is performed in the directory of a fresh
> > svn checkout.
>
> > I want to avoid using rb-site because I'm not having any luck serving
> > review board through apache due to my own inexperience.- 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
-~--~~~~--~~--~--~---



Windows installation: Instructions to run using django dev server

2008-12-16 Thread SamClark

Is it still possible to host review board using the django dev server?
I've tried > manage.py runserver localhost:8000 but the user interface
doesn't render properly. This is performed in the directory of a fresh
svn checkout.

I want to avoid using rb-site because I'm not having any luck serving
review board through apache due to my own inexperience.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Serving Review Board using Apache 2.2: HTTP 403 Forbidden

2008-11-25 Thread SamClark

So I have an instance of my review board site installed and I'm trying
to serve it over http on my LAN with apache/mod_python.

I have cut and pasted the contents of apache-modpython.conf into
httpd.conf and added a NameVirtualHost directive (NameVirtualHost *:
80).

I was hoping to avoid DNS by simply listing my LAN address as the
ServerName. DNS is just for WAN right?

I'm having trouble accessing my review board site from the host
machine and others on the LAN. I get an HTTP 403. I'll admit I'm not
100% sure what I'm doing. Anyone have any idea what the problem could
be?

Before I cut and pasted I was serving a test page at the same IP
address as well as a codestriker page (neither using a VirtualHost
block):

test page at: http://10.1.27.45:80
codestriker at : http://10.1.27.45:80/codestriker/codestriker.pl

Both of those pages still work.

i'm hoping to serve review board at http://10.1.27.45:80 and I'm
assuming the virtualhost block will override my test page but maybe
there's a conflict there



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



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 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 the reviewboard directory. Make sure you're
> running as an administrator."
>
> On Nov 24, 4:59 pm, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
>
>
>
> > 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 PM, Christian Hammond <[EMAIL PROTECTED]>wrote:
>
> > > 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
> > >> 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
> > >> questions I get:
>
> > >> AttributeError: 'module' object has no attribute 'symlink'
>
> > >> and C:\reviewboard is empty except for some empty folders.
>
> > >> On Nov 24, 4:15 pm, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
> > >> > 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 it out, let us know so we can put it
> > >> in
> > >> > the guide. I can attempt an install on Windows, but I'm about to go on
> > >> > vacation so it'll be a while.
>
> > >> > Christian
>
> > >> > --
> > >> > Christian Hammond - [EMAIL PROTECTED]
> > >> > VMware, Inc.
>
> > >> > On Mon, Nov 24, 2008 at 2:25 PM, SamClark <[EMAIL PROTECTED]>
> > >> wrote:
>
> > >> > > 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.
>
> > >> > > > Christian
>
> > >> > > > --
> > >> > > > Christian Hammond - [EMAIL PROTECTED]
> > >> > > > VMware, Inc.
>
> > >> > > > On Mon, Nov 24, 2008 at 1:43 PM, SamClark <[EMAIL PROTECTED]>
> > >> wrote:
>
> > >> > > > > 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.- Hide quoted text -
>
> > >> > > > - Show quoted text -- 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



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 the reviewboard directory. Make sure you're
running as an administrator."

On Nov 24, 4:59 pm, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
> 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 PM, Christian Hammond <[EMAIL PROTECTED]>wrote:
>
>
>
> > 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
> >> 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
> >> questions I get:
>
> >> AttributeError: 'module' object has no attribute 'symlink'
>
> >> and C:\reviewboard is empty except for some empty folders.
>
> >> On Nov 24, 4:15 pm, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
> >> > 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 it out, let us know so we can put it
> >> in
> >> > the guide. I can attempt an install on Windows, but I'm about to go on
> >> > vacation so it'll be a while.
>
> >> > Christian
>
> >> > --
> >> > Christian Hammond - [EMAIL PROTECTED]
> >> > VMware, Inc.
>
> >> > On Mon, Nov 24, 2008 at 2:25 PM, SamClark <[EMAIL PROTECTED]>
> >> wrote:
>
> >> > > 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.
>
> >> > > > Christian
>
> >> > > > --
> >> > > > Christian Hammond - [EMAIL PROTECTED]
> >> > > > VMware, Inc.
>
> >> > > > On Mon, Nov 24, 2008 at 1:43 PM, SamClark <[EMAIL PROTECTED]>
> >> wrote:
>
> >> > > > > 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.- 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



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
questions I get:

AttributeError: 'module' object has no attribute 'symlink'

and C:\reviewboard is empty except for some empty folders.

On Nov 24, 4:15 pm, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
> 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 it out, let us know so we can put it in
> the guide. I can attempt an install on Windows, but I'm about to go on
> vacation so it'll be a while.
>
> Christian
>
> --
> Christian Hammond - [EMAIL PROTECTED]
> VMware, Inc.
>
>
>
> On Mon, Nov 24, 2008 at 2:25 PM, SamClark <[EMAIL PROTECTED]> wrote:
>
> > 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.
>
> > > Christian
>
> > > --
> > > Christian Hammond - [EMAIL PROTECTED]
> > > VMware, Inc.
>
> > > On Mon, Nov 24, 2008 at 1:43 PM, SamClark <[EMAIL PROTECTED]> wrote:
>
> > > > 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.- 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



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.
>
> Christian
>
> --
> Christian Hammond - [EMAIL PROTECTED]
> VMware, Inc.
>
>
>
> On Mon, Nov 24, 2008 at 1:43 PM, SamClark <[EMAIL PROTECTED]> wrote:
>
> > 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.- 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



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 the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Windows Installation: Trouble posting diff by hand

2008-11-05 Thread SamClark

Do I have to configure post-review.py and where exactly do I run it?

I'm using subversion and my working copy is c:\svn\Hello\*a bunch
of .h and .c files that make up my pretend project*

When I run it in c:\svn and c:\svn\Hello I get:

C:\SVN>python post-review.py
The current directory does not contain a checkout from a
supported source code repository.

C:\SVN\Hello>python post-review.py
The current directory does not contain a checkout from a
supported source code repository.

I used TortoiseSVN to check out. Is that a problem?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Windows Installation: Trouble posting diff by hand

2008-11-05 Thread SamClark

OS: XP pro SP 2

I am having trouble with viewing a diff when I post a review by hand.
I
can't seem to get the base diff path right.


the repository is at:


svn://server:9000/


I have a checkout at:


C:\SVN\HelloCmd\Hello_Modified


where Hello_Modified is the checkout folder. I used:


svn diff > test -r 8:10


at that location to create a diff file. Hello_Modified is revision 10
and the trunk is revision 8.


What should my base diff path be?

I gave up on the post-review script because I couldn't get the json
dependencies installed properly.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Windows Installation

2008-10-24 Thread SamClark


I am now having trouble with viewing a diff when I post a review. I
can't seem to get the base diff path right.

the repository is at:

svn://server:9000/

I have a checkout at:

C:\SVN\HelloCmd\Hello_Modified

where Hello_Modified is the checkout folder. I used:

svn diff > test -r 8:10

at that location to create a diff file. Hello_Modified is revision 10
and the trunk is revision 8.

What should my base diff path be?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: post-review for p4

2008-10-24 Thread SamClark

I am having the same issue. (I'm also completely new to this). When I
execute:

python C:\python26\post-review.py --server=myserver:8000 --debug

i get:

>>> Repository info 'Path: svn://172.16.37.104:9000, Base path: /Hello/branches/
Hello_Modified, Supports changesets: False'
>>> svn diff --diff-cmd=diff
>>> Looking for ' 8000/' cookie in C:\Documents and Settings\build\Local Setting
s\Application Data\.post-review-cookies.txt
>>> Couldn't load cookie file: [Errno 2] No such file or directory: 'C:\\Documen
ts and Settings\\build\\Local Settings\\Application Data\\.post-review-
cookies.t
xt'
==> Review Board Login Required
Enter username and password for Review Board at 172.16.37.104:8000/
Username: admin
Password:
>>> Logging in with username "admin"
>>> HTTP POSTing to http://api/json/accounts/login/: {'username': 'admin', 'pass
word': '**'}
Unable to access http://api/json/accounts/login/. The host path may be
invalid


On Sep 11, 8:01 am, 13Strider <[EMAIL PROTECTED]> wrote:
> no im getting this error
> Unable to accesshttp://api/json/accounts/login/. The host path may be
> invalid
>
> On Sep 10, 5:54 pm, "Joshua Slominski" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Ok, you are using the first submission that i made that used a wrapper
> > executable to call post-review.  If you look at revision 3, I have modified
> > post-review to do the same thing that the wrapper executable did.  Try using
> > that first.  That way you don't need to compile anything.
>
> > On Wed, Sep 10, 2008 at 4:26 PM, 13Strider <[EMAIL PROTECTED]> wrote:
>
> > > yeah i can see that, im missing a file thought the direct.h thats
> > > being used in p4Post-review.cpp
> > > also where do i but the p4post-review.cpp,
> > > sorry im a nob, thanks for the help/
>
> > > On Sep 10, 5:23 pm, "Joshua Slominski" <[EMAIL PROTECTED]> wrote:
> > > > I have submitted a change to post-review to handle this.  It is still
> > > > pending review:
>
> > > >http://reviews.review-board.org/r/467/
>
> > >  > On Wed, Sep 10, 2008 at 4:01 PM, 13Strider <[EMAIL PROTECTED]>
> > > wrote:
>
> > > > > Where can i find a clear description on how to make post review work
> > > > > with perforce?- 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Windows Installation

2008-10-20 Thread SamClark

Hi Guys,

I'm trying to install Review Board on a virtual machine (VMWare
virtual server) to play around a bit and get a feel for the
installation before I move on to a physical machine.

I've installed:
Django 1.0
Python 2.6
PIL
sqlite

I'm totally new to all of this and I'm not sure how to install
patchutils. I've extracted it but that's as far as I got. Can anyone
tell me what I'm missing?

I followed the instructions on 
http://code.google.com/p/reviewboard/wiki/GettingStarted
and got the built-in server running (patchutils be damned). I can
access/navigate http://localhost:8000/ but only on the virtual machine
where I am running the built-in server.

I'm trying to access the home page from another PC on the LAN (this is
the PC running virtual server) using http://server IP address:8000/
but I cannot ("Internet Explorer cannot display the webpage").

Is this to be expected? I haven't configured anything. Is the
combination of the built-in server and using "virtual internet" just
too slow? (talking out of my ass here)

Any help would be much appreciated.

Sam
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---