Re: Getting error after adding Repository as Subversion and clicking New Review Request button.

2008-10-23 Thread Dev

Is anyone ready to answer my question pl.?

On Oct 21, 7:36 pm, Dev <[EMAIL PROTECTED]> wrote:
> The format of the repository path is "svn+ssh://[EMAIL PROTECTED]/data/
> svn/careers"
> Is this correct? Or i need to change the format?
>
> Pl help.
>
> On Oct 21, 6:27 pm, Dev <[EMAIL PROTECTED]> wrote:
>
> > Thanks..I am done in this part.
>
> > Now i stuck in adding multiple repositories.
> > Actually i use subversion as scm.I have added repository url path
> > correctly and it works fine when i try to check-in for review in
> > command line.Works perfect.
> > Then i added one more subversion repository in GUI and saved and try
> > to upload a file through command line,it says an error "Error creating
> > review request: The repository path specified is not in the list of
> > known repositories (code 206)"
>
> > I am stuck again here.
> > Pl help me.
> > Awaiting for yr reply.
>
> > Regards,
> > dev
>
> > On Oct 21, 12:43 pm, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
>
> > > On Mon, Oct 20, 2008 at 11:12 PM, Dev <[EMAIL PROTECTED]> wrote:
>
> > > > Thanks Christy ..! I have added reviewers .
> > > > Can you pl clarify my below doubts ..?
>
> > > > 1.For uploading a file "admin.py" to review,i am just giving the base
> > > > path (say accounts/)and created a DIFF file of admin.py and giving the
> > > > DIFF file path in Browse.Now i can able to see the DIFF file.Am i
> > > > following right procedure?Pl clarify.
>
> > > You never upload files directory. You upload a diff, generated by "svn 
> > > diff"
> > > or by using post-review (which is easiest -- check the wiki for
> > > instructions).
>
> > > When uploading a diff from "svn diff", the base path is the SVN path to 
> > > the
> > > directory you were in when you ran "svn diff". So, if your checkout
> > > directory is /trunk/myproject, and that's where you generated the diff,
> > > that's the "base path".
>
> > > post-review will calculate the base path for you.
>
> > > 2.After finishing review,if author clicks "setsubmitted" button,Is it
>
> > > > possible to check-in directly to SVN.?
>
> > > No, there's permission issues that prevent this from working easily. 
> > > You'll
> > > have to commit by yourself.
>
> > > 3.Is it possible to upload multiple files in single instance for
>
> > > > review?If so, How?
>
> > > Yes, by generating a diff instead of uploading files themselves.
>
> > > Christian
>
> > > --
> > > Christian Hammond - [EMAIL PROTECTED]
> > > VMware, Inc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Publishing and target group error

2008-10-23 Thread 13Strider

is there a clear tutorial on how to use apache and get it running with
reviewboard?

On Oct 23, 3:57 pm, Chris Clark <[EMAIL PROTECTED]> wrote:
> You won't like the answer use apache.
>
> I reported a similar problem in the faq (with 
> solution)http://code.google.com/p/reviewboard/wiki/FAQ
>
> I think this is another manifestation. If this is the case do you could
> you add a comment to the faq too?
>
> Also 
> seehttp://groups.google.com/group/reviewboard/browse_thread/thread/490a3...
>
> Chris
>
> 13Strider wrote:
> > when i try to run post-review with publish enabled i get this error
> > also when updating a file or setting a target group or target people,
> > i looks like the error is coming from urllib2.request, any idea how to
> > fix this
> > or what is causing it
> > Thank you
>
>  Publishing
>  HTTP POSTing 
>  tohttp://192.168.100.4:8000/api/json/reviewrequests/12/publish/:{}
>
> > Unable to 
> > accesshttp://192.168.100.4:8000/api/json/reviewrequests/12/publish/.
> > The host path may be invalid
> > 
>
>  Review request already exists. Updating it...
>  HTTP POSTing 
>  tohttp://192.168.100.4:8000/api/json/reviewrequests/12/update_from_chan...{}
>
> > Unable to 
> > accesshttp://192.168.100.4:8000/api/json/reviewrequests/12/update_from_chan
> > The host path may be invalid
> > 
>
>  HTTP POSTing 
>  tohttp://192.168.100.4:8000/api/json/reviewrequests/12/save/:{}
>
> > Unable to accesshttp://192.168.100.4:8000/api/json/reviewrequests/12/save/.
> > The host path may be invalid
> > 
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Publishing and target group error

2008-10-23 Thread 13Strider

when i try to run post-review with publish enabled i get this error
also when updating a file or setting a target group or target people,
i looks like the error is coming from urllib2.request, any idea how to
fix this
or what is causing it
Thank you

>>> Publishing
>>> HTTP POSTing to 
>>> http://192.168.100.4:8000/api/json/reviewrequests/12/publish/: {}
Unable to access http://192.168.100.4:8000/api/json/reviewrequests/12/publish/.
The host path may be invalid


>>> Review request already exists. Updating it...
>>> HTTP POSTing to 
>>> http://192.168.100.4:8000/api/json/reviewrequests/12/update_from_changenum/:
>>>  {}
Unable to access 
http://192.168.100.4:8000/api/json/reviewrequests/12/update_from_changenum/.
The host path may be invalid


>>> HTTP POSTing to http://192.168.100.4:8000/api/json/reviewrequests/12/save/: 
>>> {}
Unable to access http://192.168.100.4:8000/api/json/reviewrequests/12/save/.
The host path may be invalid


--~--~-~--~~~---~--~~
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: Publishing and target group error

2008-10-23 Thread Chris Clark


You won't like the answer use apache.

I reported a similar problem in the faq (with solution) 
http://code.google.com/p/reviewboard/wiki/FAQ

I think this is another manifestation. If this is the case do you could 
you add a comment to the faq too?

Also see 
http://groups.google.com/group/reviewboard/browse_thread/thread/490a3281fd7867a7/64c910b24e3e0790?lnk=gst&q=10054#64c910b24e3e0790

Chris


13Strider wrote:
> when i try to run post-review with publish enabled i get this error
> also when updating a file or setting a target group or target people,
> i looks like the error is coming from urllib2.request, any idea how to
> fix this
> or what is causing it
> Thank you
>
>   
 Publishing
 HTTP POSTing to 
 http://192.168.100.4:8000/api/json/reviewrequests/12/publish/: {}
 
> Unable to access 
> http://192.168.100.4:8000/api/json/reviewrequests/12/publish/.
> The host path may be invalid
> 
>
>   
 Review request already exists. Updating it...
 HTTP POSTing to 
 http://192.168.100.4:8000/api/json/reviewrequests/12/update_from_changenum/:
  {}
 
> Unable to access 
> http://192.168.100.4:8000/api/json/reviewrequests/12/update_from_changenum/.
> The host path may be invalid
> 
>
>   
 HTTP POSTing to 
 http://192.168.100.4:8000/api/json/reviewrequests/12/save/: {}
 
> Unable to access http://192.168.100.4:8000/api/json/reviewrequests/12/save/.
> The host path may be invalid
> 
>
> >
>   


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



Post-Review -p or update Error

2008-10-23 Thread 13Strider

when i try to run post-review with publish enabled i get this error
also when updating a file or setting a target group or target people,
i looks like the error is coming from urllib2.request, any idea how to
fix this
or what is causing it
Thank you

>>> Publishing
>>> HTTP POSTing to 
>>> http://192.168.100.4:8000/api/json/reviewrequests/12/publish/: {}
Unable to access http://192.168.100.4:8000/api/json/reviewrequests/12/publish/.
The host path may be invalid


>>> Review request already exists. Updating it...
>>> HTTP POSTing to 
>>> http://192.168.100.4:8000/api/json/reviewrequests/12/update_from_changenum/:
>>>  {}
Unable to access 
http://192.168.100.4:8000/api/json/reviewrequests/12/update_from_changenum/.
The host path may be invalid


>>> HTTP POSTing to http://192.168.100.4:8000/api/json/reviewrequests/12/save/: 
>>> {}
Unable to access http://192.168.100.4:8000/api/json/reviewrequests/12/save/.
The host path may be invalid



--~--~-~--~~~---~--~~
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: error at /r/30/publish/

2008-10-23 Thread Tim

Ok I think I figured this out.  Looks like there was an issue where
the settings_local.py had the correct settings, but when I logged into
the admin screen the mail server was set to localhost instead of the
correct external SMTP server.  I removed the entry in
settings_local.py and updated it via the admin screen.

It seems if you have a setting in settings_local.py and try to update
via the admin screen the updates don't take as it changes the values
back when you save.  Is this correct?  Either way my problem seems to
be solved as e-mails are now working.

Thanks!

On Oct 20, 4:38 pm, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
> This looks like your Review Board server is unable to talk to your mail
> server. Check to make sure all the settings are correct and that your mail
> server is reachable from there.
>
> Christian
>
> --
> Christian Hammond - [EMAIL PROTECTED]
> VMware, Inc.
>
> On Mon, Oct 20, 2008 at 11:45 AM, Tim <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I am doing a proof of concept with reviewboard and everything is now
> > working properly except when I go to publish a review from a CVS patch
> > file.  The review is created however I receive the following error
> > stack:
>
> > error at /r/30/publish/
>
> > (111, 'Connection refused')
>
> > Request Method:         GET
> > Request URL:    http://something.com/r/30/publish/
> > Exception Type:         error
> > Exception Value:
>
> > (111, 'Connection refused')
>
> > Exception Location:     /usr/lib/python2.4/smtplib.py in connect, line
> > 306
> > Python Executable:      /usr/bin/python
> > Python Version:         2.4.3
> > Python Path:    ['/opt', '/opt/reviewboard', '/usr/lib/python2.4/site-
> > packages/setuptools-0.6c5-py2.4.egg', '/usr/lib/python2.4/site-
> > packages/MySQL_python-1.2.2-py2.4-linux-i686.egg', '/usr/lib/python2.4/
> > site-packages/Pygments-0.11.1-py2.4.egg', '/usr/lib/python2.4/site-
> > packages/Trac-0.11-py2.4.egg', '/usr/lib/python2.4/site-packages/
> > Genshi-0.5.1-py2.4-linux-i686.egg', '/usr/lib/python2.4/site-packages/
> > FreemindMacro-0.1-py2.4.egg', '/usr/lib/python24.zip', '/usr/lib/
> > python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-
> > tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-
> > packages', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/
> > python2.4/site-packages/PIL', '/usr/lib/python2.4/site-packages/
> > gtk-2.0']
> > Server time:    Mon, 20 Oct 2008 11:33:41 -0700
>
> > Here is the traceback:
>
> > Environment:
>
> > Request Method: GET
> > Request URL:http://something.com/r/30/publish/
> > Django Version: 1.0-final-SVN-unknown
> > Python Version: 2.4.3
> > Installed Applications:
> > ['django.contrib.admin',
> >  'django.contrib.auth',
> >  'django.contrib.contenttypes',
> >  'django.contrib.markup',
> >  'django.contrib.sites',
> >  'django.contrib.sessions',
> >  'djblets.datagrid',
> >  'djblets.feedview',
> >  'djblets.siteconfig',
> >  'djblets.util',
> >  'djblets.webapi',
> >  'reviewboard.accounts',
> >  'reviewboard.admin',
> >  'reviewboard.changedescs',
> >  'reviewboard.diffviewer',
> >  'reviewboard.iphone',
> >  'reviewboard.reports',
> >  'reviewboard.reviews',
> >  'reviewboard.scmtools',
> >  'reviewboard.webapi',
> >  'django_evolution']
> > Installed Middleware:
> > ('django.middleware.common.CommonMiddleware',
> >  'django.middleware.doc.XViewMiddleware',
> >  'django.middleware.locale.LocaleMiddleware',
> >  'django.contrib.sessions.middleware.SessionMiddleware',
> >  'django.contrib.auth.middleware.AuthenticationMiddleware',
> >  'djblets.log.middleware.LoggingMiddleware',
> >  'reviewboard.admin.middleware.CheckUpdatesRequiredMiddleware')
>
> > Traceback:
> > File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py"
> > in get_response
> >  86.                 response = callback(request, *callback_args,
> > **callback_kwargs)
> > File "/opt/reviewboard/djblets/auth/util.py" in _checklogin
> >  45.             return view_func(request, *args, **kwargs)
> > File "/opt/reviewboard/reviews/views.py" in publish
> >  457.         review_request.publish(request.user)
> > File "/opt/reviewboard/reviews/models.py" in publish
> >  369.                 mail_review_request(user, self)
> > File "/opt/reviewboard/reviews/email.py" in mail_review_request
> >  184.                          extra_context)
> > File "/opt/reviewboard/reviews/email.py" in send_review_mail
> >  114.     message.send()
> > File "/usr/lib/python2.4/site-packages/django/core/mail.py" in send
> >  265.         return
> > self.get_connection(fail_silently).send_messages([self])
> > File "/usr/lib/python2.4/site-packages/django/core/mail.py" in
> > send_messages
> >  166.         new_conn_created = self.open()
> > File "/usr/lib/python2.4/site-packages/django/core/mail.py" in open
> >  131.
> > local_hostname=DNS_NAME.get_fqdn())
> > File "/usr/lib/python2.4/smtplib.py" in __init__
> >  244.             (code, msg) = self.connect(host, port)
> > F