Re: Failed upgrade from 1.6.4.1 to 1.6.8 (evolution failed)

2012-06-18 Thread jms

What can / should I do next ?


On Friday, June 15, 2012 7:46:00 PM UTC+10, jms wrote:


 Oh sorry ... I can see I have django-evolution at  django-evolution==0.6.6.
 I did not see that earlier as I was looking at what's just on top or just 
 below the line Django==1.3.1.

 Can I just install django-evolution via apt-get, which will install / 
 upgrade django-evolution as follows:

 $ sudo apt-get install -V python-django-evolution
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following extra packages will be installed:
python-django (1.3-2ubuntu1.1)
 Suggested packages:
python-psycopg2 (2.4.2-1)
python-psycopg ()
python-flup (1.0.2-1)
python-sqlite (1.0.1-8)
python-yaml (3.10-1)
 The following NEW packages will be installed:
python-django (1.3-2ubuntu1.1)
python-django-evolution (0+svn164-1)
 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
 Need to get 4,334 kB of archives.
 After this operation, 36.2 MB of additional disk space will be used.
 Do you want to continue [Y/n]? n




 On Friday, 15 June 2012 19:37:14 UTC+10, jms wrote:

 Hi,

 1) ReviewBoard version

 I started with ReviewBoard 1.6.5 several months ago.
 Then upgraded RB to 1.6.7.1 last week. The only other thing that I did at 
 that time was install python-imaging via apt-get.
 Now trying to upgrade RB to 1.6.9. This was after mysql was updated via 
 apt-get.

 2) django-evolution

 I am not quite familiar on how to figure out what modules and versions 
 are installed with python, as I mostly just use apt-get in Ubuntu to 
 install and update packages. Thus, ReviewBoard is an exception as it does 
 not have a .deb file so I used the instructions from the reviewboard 
 website, although I did install some packages on the required list via 
 apt-get.

 If I rundpkg --list | grep -i django, it returns nothing which is fair 
 enough as I do not recall install django or django-evolution via apt-get. 
 Apart from that, the reviewboard website did say to use easy_install to 
 install all dependencies required by ReviewBoard. On hindsight, I should 
 have use apt-get for django and django-evolution.

 If I run pip freeze, it tells me I don't have django-evolution at all !!, 
 but I do have django installed. That is weird, as I would have assumed that 
 the initial installation of ReviewBoard would have installed 
 django-evolution. ( see pip freeze output below ).

 If I look at django evolutions from ReviewBoard's admin site, I can see 
 28 evolutions. ( See list of evolutions below from my RB's admin site ).

 ~# pip freeze
 Warning: cannot find svn location for flup==1.0.3.dev-20110405
 Warning: cannot find svn location for distribute==0.6.16dev-r0
 Django==1.3.1
 Djblets==0.6.19
 MySQL-python==1.2.3
 PIL==1.1.7
 Pygments==1.5
 ReviewBoard==1.6.9
 apt-xapian-index==0.44
 chardet==2.0.1
 ## FIXME: could not find svn URL in dependency_links for this package:
 distribute==0.6.16dev-r0
 django-evolution==0.6.6
 ## FIXME: could not find svn URL in dependency_links for this package:
 flup==1.0.3.dev-20110405
 iotop==0.4.3
 lucene==2.3.1
 paramiko==1.7.7.1
 pycrypto==2.5
 python-apt==0.8.0ubuntu9
 python-dateutil==1.5
 python-debian==0.1.20ubuntu2
 python-ldap==2.3.13
 python-memcached==1.48
 pytz==2012b
 recaptcha-client==1.0.6
 wsgiref==0.1.2
 xmldiff==0.6.10




 On Friday, 15 June 2012 18:02:17 UTC+10, Christian Hammond wrote:

 Can you tell me what version of django-evolution is installed?

 What version of RB did you start with?

 Christian


 On Jun 14, 2012, at 22:20, jms jesus.m.sa...@gmail.com wrote:

 Hi,

 I got the same or similar problem when upgrading reviewboard site ( 
 rb-site upgrade ) from 1.6.7.1 to 1.6.9.

 easy_install worked OK, but it was rb-site upgrade that failed:

 # easy_install -U ReviewBoard
 Searching for ReviewBoard
 Reading http://pypi.python.org/simple/ReviewBoard/
 Reading http://www.reviewboard.org/
 Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/
 Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/
 Reading http://www.review-board.org/
 Reading http://downloads.review-board.org/releases/ReviewBoard/1.0/
 Reading http://downloads.review-board.org/releases/
 Best match: ReviewBoard 1.6.9
 Downloading 
 http://downloads.reviewboard.org/releases/ReviewBoard/1.6/ReviewBoard-1.6.9-py2.7.egg
 Processing ReviewBoard-1.6.9-py2.7.egg
 creating 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.9-py2.7.egg
 Extracting ReviewBoard-1.6.9-py2.7.egg to 
 /usr/local/lib/python2.7/dist-packages
 Removing ReviewBoard 1.6.7.1 from easy-install.pth file
 Adding ReviewBoard 1.6.9 to easy-install.pth file
 Installing rb-site script to /usr/local/bin
 Installing rbssh script to /usr/local/bin

 Installed 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.9-py2.7.egg
 Reading http://downloads.reviewboard.org/mirror/
 Processing dependencies for ReviewBoard
 Searching for Djblets==0.6.19
 Reading 

Re: Can't seem to connect to pserver CVS repository

2012-06-18 Thread iamagui
Could you try just repo-url:/path/to/repo for the 'Path:' field and 
username, password on the respective fields and update this thread, thanks.


On Saturday, June 16, 2012 3:45:51 AM UTC-5, Augba wrote:

 I too facing the same issue. Please let me know if you have the steps 
 working.

 On Friday, April 13, 2012 8:45:12 PM UTC+5:30, sagar wrote:

 Using ReviewBoard version 1.6.5
  
 I've tried the following:
  
 *:pserver:user:pass@repo-url:/path/to/repo*
 ** 
 *:pserver:user@repo-url:/path/to/repo*
 ** 
 *:pserver:repo-url:/path/to/repo*
  
 all with and without the username/password fields filled in.
  
 I always get the error:
 A repository was not found at the specified path.
  
 I'm at a loss. Any ideas on what this could be? I can use the command 
 line on the machine to go to the same repository and checkout stuff, using 
 the same URIs, and username and password.



-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Failed upgrade from 1.6.4.1 to 1.6.8 (evolution failed)

2012-06-18 Thread Christian Hammond
If you can give me an SQL dump if the django_evolution_* tables, that would 
help me diagnose.

Christian



On Jun 18, 2012, at 3:07, jms jesus.m.sa...@gmail.com wrote:

 
 What can / should I do next ?
 
 
 On Friday, June 15, 2012 7:46:00 PM UTC+10, jms wrote:
 
 Oh sorry ... I can see I have django-evolution at  django-evolution==0.6.6.
 I did not see that earlier as I was looking at what's just on top or just 
 below the line Django==1.3.1.
 
 Can I just install django-evolution via apt-get, which will install / upgrade 
 django-evolution as follows:
 
 $ sudo apt-get install -V python-django-evolution
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following extra packages will be installed:
python-django (1.3-2ubuntu1.1)
 Suggested packages:
python-psycopg2 (2.4.2-1)
python-psycopg ()
python-flup (1.0.2-1)
python-sqlite (1.0.1-8)
python-yaml (3.10-1)
 The following NEW packages will be installed:
python-django (1.3-2ubuntu1.1)
python-django-evolution (0+svn164-1)
 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
 Need to get 4,334 kB of archives.
 After this operation, 36.2 MB of additional disk space will be used.
 Do you want to continue [Y/n]? n
 
 
 
 
 On Friday, 15 June 2012 19:37:14 UTC+10, jms wrote:
 Hi,
 
 1) ReviewBoard version
 
 I started with ReviewBoard 1.6.5 several months ago.
 Then upgraded RB to 1.6.7.1 last week. The only other thing that I did at 
 that time was install python-imaging via apt-get.
 Now trying to upgrade RB to 1.6.9. This was after mysql was updated via 
 apt-get.
 
 2) django-evolution
 
 I am not quite familiar on how to figure out what modules and versions are 
 installed with python, as I mostly just use apt-get in Ubuntu to install and 
 update packages. Thus, ReviewBoard is an exception as it does not have a .deb 
 file so I used the instructions from the reviewboard website, although I did 
 install some packages on the required list via apt-get.
 
 If I rundpkg --list | grep -i django, it returns nothing which is fair 
 enough as I do not recall install django or django-evolution via apt-get. 
 Apart from that, the reviewboard website did say to use easy_install to 
 install all dependencies required by ReviewBoard. On hindsight, I should have 
 use apt-get for django and django-evolution.
 
 If I run pip freeze, it tells me I don't have django-evolution at all !!, but 
 I do have django installed. That is weird, as I would have assumed that the 
 initial installation of ReviewBoard would have installed django-evolution. ( 
 see pip freeze output below ).
 
 If I look at django evolutions from ReviewBoard's admin site, I can see 28 
 evolutions. ( See list of evolutions below from my RB's admin site ).
 
 ~# pip freeze
 Warning: cannot find svn location for flup==1.0.3.dev-20110405
 Warning: cannot find svn location for distribute==0.6.16dev-r0
 Django==1.3.1
 Djblets==0.6.19
 MySQL-python==1.2.3
 PIL==1.1.7
 Pygments==1.5
 ReviewBoard==1.6.9
 apt-xapian-index==0.44
 chardet==2.0.1
 ## FIXME: could not find svn URL in dependency_links for this package:
 distribute==0.6.16dev-r0
 django-evolution==0.6.6
 ## FIXME: could not find svn URL in dependency_links for this package:
 flup==1.0.3.dev-20110405
 iotop==0.4.3
 lucene==2.3.1
 paramiko==1.7.7.1
 pycrypto==2.5
 python-apt==0.8.0ubuntu9
 python-dateutil==1.5
 python-debian==0.1.20ubuntu2
 python-ldap==2.3.13
 python-memcached==1.48
 pytz==2012b
 recaptcha-client==1.0.6
 wsgiref==0.1.2
 xmldiff==0.6.10
 
 
 
 
 On Friday, 15 June 2012 18:02:17 UTC+10, Christian Hammond wrote:
 Can you tell me what version of django-evolution is installed?
 
 What version of RB did you start with?
 
 Christian
 
 
 On Jun 14, 2012, at 22:20, jms jesus.m.sa...@gmail.com wrote:
 
 Hi,
 
 I got the same or similar problem when upgrading reviewboard site ( rb-site 
 upgrade ) from 1.6.7.1 to 1.6.9.
 
 easy_install worked OK, but it was rb-site upgrade that failed:
 
 # easy_install -U ReviewBoard
 Searching for ReviewBoard
 Reading http://pypi.python.org/simple/ReviewBoard/
 Reading http://www.reviewboard.org/
 Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/
 Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/
 Reading http://www.review-board.org/
 Reading http://downloads.review-board.org/releases/ReviewBoard/1.0/
 Reading http://downloads.review-board.org/releases/
 Best match: ReviewBoard 1.6.9
 Downloading 
 http://downloads.reviewboard.org/releases/ReviewBoard/1.6/ReviewBoard-1.6.9-py2.7.egg
 Processing ReviewBoard-1.6.9-py2.7.egg
 creating /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.9-py2.7.egg
 Extracting ReviewBoard-1.6.9-py2.7.egg to 
 /usr/local/lib/python2.7/dist-packages
 Removing ReviewBoard 1.6.7.1 from easy-install.pth file
 Adding ReviewBoard 1.6.9 to easy-install.pth file
 Installing rb-site script to /usr/local/bin
 Installing rbssh script to /usr/local/bin
 
 Installed 

Re: Failed upgrade from 1.6.4.1 to 1.6.8 (evolution failed)

2012-06-18 Thread Christian Hammond
Can you also show me:

   rb-site manage /path/to/site evolve -- --hint

(Note the double --)

Christian



On Jun 18, 2012, at 10:54, TP tp...@datadomain.com wrote:

 Got the same issue with 1.6.7.1 to 1.6.9
 
 # rb-site upgrade /var/www/site
 Rebuilding directory structure
 Updating database. This may take a while.
 Creating tables ...
 Upgrading Review Board from 1.6.7.1 to 1.6.9
 Project signature has changed - an evolution is required
 Installing custom SQL ...
 Installing indexes ...
 No fixtures found.
 The stored evolutions do not completely resolve all model changes.
 Run `./manage.py evolve --hint` to see a suggestion for the changes required.
 
 The following are the changes that could not be resolved:
 In model scmtools.Repository:
 Field 'extra_data' has been added
 Field 'hosting_account' has been added
 Error: Your models contain changes that Django Evolution cannot resolve 
 automatically.
 
 
 # easy_install -U ReviewBoard
 Searching for ReviewBoard
 Reading http://pypi.python.org/simple/ReviewBoard/
 Reading http://www.reviewboard.org/
 Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/
 Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.6/
 Reading http://www.review-board.org/
 Reading http://downloads.review-board.org/releases/ReviewBoard/1.0/
 Reading http://downloads.review-board.org/releases/
 Best match: ReviewBoard 1.6.9
 Downloading 
 http://downloads.reviewboard.org/releases/ReviewBoard/1.6/ReviewBoard-1.6.9-py2.6.egg
 Processing ReviewBoard-1.6.9-py2.6.egg
 creating /usr/lib/python2.6/site-packages/ReviewBoard-1.6.9-py2.6.egg
 Extracting ReviewBoard-1.6.9-py2.6.egg to /usr/lib/python2.6/site-packages
 Removing ReviewBoard 1.6.7.1 from easy-install.pth file
 Adding ReviewBoard 1.6.9 to easy-install.pth file
 Installing rb-site script to /usr/bin
 Installing rbssh script to /usr/bin
 
 Installed /usr/lib/python2.6/site-packages/ReviewBoard-1.6.9-py2.6.egg
 Reading http://downloads.reviewboard.org/mirror/
 Processing dependencies for ReviewBoard
 Searching for Djblets==0.6.19
 Reading http://pypi.python.org/simple/Djblets/
 Reading http://www.review-board.org/wiki/Djblets
 Reading http://downloads.review-board.org/releases/Djblets/0.6/
 Reading http://www.reviewboard.org/wiki/Djblets
 Reading http://downloads.review-board.org/releases/Djblets/0.5/
 Best match: Djblets 0.6.19
 Downloading 
 http://downloads.reviewboard.org/releases/Djblets/0.6/Djblets-0.6.19-py2.6.egg
 Processing Djblets-0.6.19-py2.6.egg
 creating /usr/lib/python2.6/site-packages/Djblets-0.6.19-py2.6.egg
 Extracting Djblets-0.6.19-py2.6.egg to /usr/lib/python2.6/site-packages
 Removing Djblets 0.6.18 from easy-install.pth file
 Adding Djblets 0.6.19 to easy-install.pth file
 
 Installed /usr/lib/python2.6/site-packages/Djblets-0.6.19-py2.6.egg
 Finished processing dependencies for ReviewBoard
 
 
 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Upgraded OS , then ReviewBoard failed upgrade

2012-06-18 Thread Christian Hammond
Ah, that makes sense.

Was that the only option you needed then? It'd be nice to have some docs on
this somewhere.

Christian

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


On Mon, Jun 18, 2012 at 4:51 AM, Dan Dumont ddum...@gmail.com wrote:

 I set https, but it never seemed to stick.

 Not sure if you've ever tested this deployment, but our server sits behind
 a reverse proxy and ssl is terminated at the proxy, so the review site
 machine never gets requests in on https.
 It always sees http, and I think that's what's confusing whatever is
 building the urls.


 On Mon, Jun 18, 2012 at 5:49 AM, Christian Hammond chip...@chipx86.comwrote:

 Hi Dan,

 Glad you got it working. I haven't really been available much this
 weekend.

 Thanks for the bug report. Should be an easy fix. However, I haven't seen
 that or the need for the SetEnv come up yet. Does your Server URL in the
 admin settings page use https or http? Setting that to https *should* do
 the right thing.


 Christian

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


 On Sat, Jun 16, 2012 at 9:15 PM, Dan Dumont ddum...@gmail.com wrote:

 SetEnv HTTPS on
 In the apache config worked like a charm though.

 I did end up filing this issue
 http://code.google.com/p/reviewboard/issues/detail?id=2639
 I'm not sure yet if this will cause problems now that I've solved the
 redirect https issues.


 On Sat, Jun 16, 2012 at 11:56 PM, Dan Dumont ddum...@gmail.com wrote:

 I found
 https://groups.google.com/forum/?fromgroups#!topic/reviewboard/yIOamU1uvIY

 But I tried setting

 os.environ['HTTPS'] = on


 In the reviewboard.wsgi file, but no dice.  I'm pretty sure we have a
 reverse proxy of some sort in front of us terminating SSL at the the 
 border.
 Would be nice if you guys could just return protocol relative urls  //
 reviewboard.apache.org/etc...

 Any advice on where to stick that config setting to force https urls?

 On Saturday, June 16, 2012 11:16:27 PM UTC-4, Dan Dumont wrote:

 Request URL:
 https://reviews.apache.org/**api/review-requests/5345/?api_**
 format=jsonhttps://reviews.apache.org/api/review-requests/5345/?api_format=json

 responds:


1. review_request: {status:**pending, last_updated:2012-06-17
02:58:20, description:,…}
   1. branch: 
   2. bugs_closed: []
   3. changenum: null
   4. description: 
   5. id: 5345
   6. last_updated: 2012-06-17 02:58:20
   7. links: {diffs:{href:http://**reviews.apache.org/api/review-**
   
 requests/5345/diffs/http://reviews.apache.org/api/review-requests/5345/diffs/,
   method:GET},…}
  1. changes: {href:http://reviews.**apache.org/api/review-**
  
 requests/5345/changes/http://reviews.apache.org/api/review-requests/5345/changes/,
  method:GET}
 1. href: http://reviews.apache.**
 
 org/api/review-requests/5345/**changes/http://reviews.apache.org/api/review-requests/5345/changes/
 
 2. method: GET
  2. delete: {href:http://reviews.**apache.org/api/review-**
  
 requests/5345/http://reviews.apache.org/api/review-requests/5345/,
  method:DELETE}
 1. href: http://reviews.apache.**
 
 org/api/review-requests/5345/http://reviews.apache.org/api/review-requests/5345/
 
 2. method: DELETE
  3. diffs: {href:http://reviews.**apache.org/api/review-**
  
 requests/5345/diffs/http://reviews.apache.org/api/review-requests/5345/diffs/,
  method:GET}
 1. href: http://reviews.apache.**
 
 org/api/review-requests/5345/**diffs/http://reviews.apache.org/api/review-requests/5345/diffs/
 
 2. method: GET
  4. draft: {href:http://reviews.**apache.org/api/review-**
  
 requests/5345/draft/http://reviews.apache.org/api/review-requests/5345/draft/,
  method:GET}
 1. href: http://reviews.apache.**
 
 org/api/review-requests/5345/**draft/http://reviews.apache.org/api/review-requests/5345/draft/
 
 2. method: GET
  5. file_attachments: {href:http:/**/reviews.apache.org/api/**
  
 review-requests/5345/file-**attachments/http://reviews.apache.org/api/review-requests/5345/file-attachments/,
  method:GET}
 1. href: http://reviews.apache.**
 
 org/api/review-requests/5345/**file-attachments/http://reviews.apache.org/api/review-requests/5345/file-attachments/
 
 2. method: GET
  6. last_update: {href:http://**reviews.apache.org/api/review-
  
 **requests/5345/last-update/http://reviews.apache.org/api/review-requests/5345/last-update/,
  method:GET}
 1. href: http://reviews.apache.**
 
 

Re: Upgraded OS , then ReviewBoard failed upgrade

2012-06-18 Thread Dan Dumont
Yes.  And I agree. :)

- sent from my Galaxy Nexus Android phone.
On Jun 18, 2012 3:23 PM, Christian Hammond chip...@chipx86.com wrote:

 Ah, that makes sense.

 Was that the only option you needed then? It'd be nice to have some docs
 on this somewhere.

 Christian

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


 On Mon, Jun 18, 2012 at 4:51 AM, Dan Dumont ddum...@gmail.com wrote:

 I set https, but it never seemed to stick.

 Not sure if you've ever tested this deployment, but our server sits
 behind a reverse proxy and ssl is terminated at the proxy, so the review
 site machine never gets requests in on https.
 It always sees http, and I think that's what's confusing whatever is
 building the urls.


 On Mon, Jun 18, 2012 at 5:49 AM, Christian Hammond 
 chip...@chipx86.comwrote:

 Hi Dan,

 Glad you got it working. I haven't really been available much this
 weekend.

 Thanks for the bug report. Should be an easy fix. However, I haven't
 seen that or the need for the SetEnv come up yet. Does your Server URL in
 the admin settings page use https or http? Setting that to https *should*
 do the right thing.


 Christian

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


 On Sat, Jun 16, 2012 at 9:15 PM, Dan Dumont ddum...@gmail.com wrote:

 SetEnv HTTPS on
 In the apache config worked like a charm though.

 I did end up filing this issue
 http://code.google.com/p/reviewboard/issues/detail?id=2639
 I'm not sure yet if this will cause problems now that I've solved the
 redirect https issues.


 On Sat, Jun 16, 2012 at 11:56 PM, Dan Dumont ddum...@gmail.com wrote:

 I found
 https://groups.google.com/forum/?fromgroups#!topic/reviewboard/yIOamU1uvIY

 But I tried setting

 os.environ['HTTPS'] = on


 In the reviewboard.wsgi file, but no dice.  I'm pretty sure we have a
 reverse proxy of some sort in front of us terminating SSL at the the 
 border.
 Would be nice if you guys could just return protocol relative urls  //
 reviewboard.apache.org/etc...

 Any advice on where to stick that config setting to force https urls?

 On Saturday, June 16, 2012 11:16:27 PM UTC-4, Dan Dumont wrote:

 Request URL:
 https://reviews.apache.org/**api/review-requests/5345/?api_**
 format=jsonhttps://reviews.apache.org/api/review-requests/5345/?api_format=json

 responds:


1. review_request: {status:**pending, last_updated:2012-06-17
02:58:20, description:,…}
   1. branch: 
   2. bugs_closed: []
   3. changenum: null
   4. description: 
   5. id: 5345
   6. last_updated: 2012-06-17 02:58:20
   7. links: {diffs:{href:http://**reviews.apache.org/api/review-*
   
 *requests/5345/diffs/http://reviews.apache.org/api/review-requests/5345/diffs/,
   method:GET},…}
  1. changes: {href:http://reviews.**apache.org/api/review-**
  
 requests/5345/changes/http://reviews.apache.org/api/review-requests/5345/changes/,
  method:GET}
 1. href: http://reviews.apache.**
 
 org/api/review-requests/5345/**changes/http://reviews.apache.org/api/review-requests/5345/changes/
 
 2. method: GET
  2. delete: {href:http://reviews.**apache.org/api/review-**
  
 requests/5345/http://reviews.apache.org/api/review-requests/5345/,
  method:DELETE}
 1. href: http://reviews.apache.**
 
 org/api/review-requests/5345/http://reviews.apache.org/api/review-requests/5345/
 
 2. method: DELETE
  3. diffs: {href:http://reviews.**apache.org/api/review-**
  
 requests/5345/diffs/http://reviews.apache.org/api/review-requests/5345/diffs/,
  method:GET}
 1. href: http://reviews.apache.**
 
 org/api/review-requests/5345/**diffs/http://reviews.apache.org/api/review-requests/5345/diffs/
 
 2. method: GET
  4. draft: {href:http://reviews.**apache.org/api/review-**
  
 requests/5345/draft/http://reviews.apache.org/api/review-requests/5345/draft/,
  method:GET}
 1. href: http://reviews.apache.**
 
 org/api/review-requests/5345/**draft/http://reviews.apache.org/api/review-requests/5345/draft/
 
 2. method: GET
  5. file_attachments: {href:http:/**/reviews.apache.org/api/*
  
 *review-requests/5345/file-**attachments/http://reviews.apache.org/api/review-requests/5345/file-attachments/,
  method:GET}
 1. href: http://reviews.apache.**
 
 org/api/review-requests/5345/**file-attachments/http://reviews.apache.org/api/review-requests/5345/file-attachments/
 
 2. method: GET
  6. last_update: {href:http://**
  
 

Issue 2640 in reviewboard: I can not upload diff file when connect to clearcase repository

2012-06-18 Thread reviewboard

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

New issue 2640 by zise4551...@gmail.com: I can not upload diff file when  
connect to clearcase repository

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

* NOTE: Do not post confidential information in this bug report. *
*   If you need immediate support, please contact*
*   reviewbo...@googlegroups.com *

What version are you running?
reviewboadr 1.6.9


What operating system are you using? What browser?

I install reviewboard in window system, open it by IE8

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

I connect to clearcase for our repository. when add the repository, the  
configur path


is \\bstvob7\ccstg_f\VOBs\se-test_2012.vbs

so, when use post-review upload review request,
my review request still exists, but the diff is not attached.


The log is follow information:

HTTP PUTting to http://109.105.4.67/api/review-requests/72/draft/:  
{'target_people': 'admin'}

Uploading diff, size: 443
--- E:\view\jm.liang_view\se-test_2012\test\g.c@@\main\3	1970-01-01  
08:00:00.0 +0800
+++ E:\view\jm.liang_view\se-test_2012\test\g.c	2012-06-19  
11:20:21.865146200 +0800
 6426fa2c.51944151.8f5c.89:b4:f7:ab:53:72  
d8302a00.599d4c3e.93ea.a1:f8:eb:ec:a2:63 

@@ -0,0 +1,10 @@
+#include stdio.h
+
+int main(int argc, char **argv)
+{
+   int a=0;
+   printf(hello world\n);
+   return 0
+}
+
+   
\ No newline at end of file

HTTP POSTing to http://109.105.4.67/api/review-requests/72/diffs/:  
{'basedir': 'E:\\view\\jm.liang_view\\se-test_2012'}

Got API Error 105 (HTTP code 400): One or more fields had errors
Error data: {u'fields': {u'path': [u'[Error 267] ']}, u'stat': u'fail',  
u'err': {u'msg': u'One or more fields had errors', u'code': 105}}



The reviewboard server log:

[Tue Jun 19 13:32:12 2012] [error] oid  
6426fa2c.51944151.8f5c.89:b4:f7:ab:53:72
[Tue Jun 19 13:32:12 2012] [error] self.repopath  
bstvob7\\ccstg_f\\VOBs\\se-test_2012.vbs
[Tue Jun 19 13:32:12 2012] [error] ERROR:root:Error uploading new diff:  
[Error 267]

[Tue Jun 19 13:32:12 2012] [error] Traceback (most recent call last):
[Tue Jun 19 13:32:12 2012] [error]
File C:\\Python26\\lib\\site-packages\\reviewboard-1.6.9-py2.6.egg\\reviewboard\\webapi\\resources.py,  
line 1510, in create
[Tue Jun 19 13:32:12 2012] [error]  
request.FILES.get('parent_diff_path'))
[Tue Jun 19 13:32:12 2012] [error]
File c:\\python26\\lib\\site-packages\\ReviewBoard-1.6.9-py2.6.egg\\reviewboard\\reviews\\forms.py,  
line 295, in create

[Tue Jun 19 13:32:12 2012] [error] history)
[Tue Jun 19 13:32:12 2012] [error]
File C:\\Python26\\lib\\site-packages\\reviewboard-1.6.9-py2.6.egg\\reviewboard\\diffviewer\\forms.py,  
line 88, in create
[Tue Jun 19 13:32:12 2012] [error] diff_file, basedir,  
check_existance=(not parent_diff_file)))
[Tue Jun 19 13:32:12 2012] [error]
File C:\\Python26\\lib\\site-packages\\reviewboard-1.6.9-py2.6.egg\\reviewboard\\diffviewer\\forms.py,  
line 161, in _process_files
[Tue Jun 19 13:32:12 2012] [error] for f in  
tool.get_parser(file.read()).parse():
[Tue Jun 19 13:32:12 2012] [error]
File c:\\python26\\lib\\site-packages\\ReviewBoard-1.6.9-py2.6.egg\\reviewboard\\diffviewer\\parser.py,  
line 49, in parse
[Tue Jun 19 13:32:12 2012] [error] next_linenum, new_file =  
self.parse_change_header(i)
[Tue Jun 19 13:32:12 2012] [error]
File c:\\python26\\lib\\site-packages\\ReviewBoard-1.6.9-py2.6.egg\\reviewboard\\diffviewer\\parser.py,  
line 75, in parse_change_header
[Tue Jun 19 13:32:12 2012] [error] linenum =  
self.parse_diff_header(linenum, info)
[Tue Jun 19 13:32:12 2012] [error]
File C:\\Python26\\lib\\site-packages\\reviewboard-1.6.9-py2.6.egg\\reviewboard\\scmtools\\clearcase.py,  
line 217, in parse_diff_header
[Tue Jun 19 13:32:12 2012] [error] info['origFile'] =  
self._oid2filename(m.group(1))
[Tue Jun 19 13:32:12 2012] [error]
File C:\\Python26\\lib\\site-packages\\reviewboard-1.6.9-py2.6.egg\\reviewboard\\scmtools\\clearcase.py,  
line 246, in _oid2filename

[Tue Jun 19 13:32:12 2012] [error] cwd=self.repopath)
[Tue Jun 19 13:32:12 2012] [error]
File C:\\Python26\\lib\\subprocess.py, line 595, in __init__

[Tue Jun 19 13:32:12 2012] [error] errread, errwrite)
[Tue Jun 19 13:32:12 2012] [error]
File C:\\Python26\\lib\\subprocess.py, line 821, in _execute_child

[Tue Jun 19 13:32:12 2012] [error] startupinfo)
[Tue Jun 19 13:32:12 2012] [error] WindowsError: [Error 267]





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