Hi all,

      I have solved this problem. After the update, when uploading a
diff file
reviewboard need to find the filename specify in the diff file with
using the correct path.

      Thank you Christian for your help.

Jianwei

On Jun 29, 12:17 pm, jianwei <majesty...@hotmail.com> wrote:
> Hi Christian,
>     After we upgrade to 1.5 beta2, we still have the same problem
> (connection closes unexpectedly)
>  when trying to upload a diff file.
>
> the log looks like this
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta2-
> py2.4.egg/reviewboard/webapi/json.py", line 1176, in new_diff
>     request.FILES.get('parent_diff_path'))
>   File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta2-
> py2.4.egg/reviewboard/reviews/forms.py", line 235, in create
>     history)
>   File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta2-
> py2.4.egg/reviewboard/diffviewer/forms.py", line 62, in create
>     files = list(self._process_files(
>   File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta2-
> py2.4.egg/reviewboard/diffviewer/forms.py", line 138, in
> _process_files
>     if (revision != PRE_CREATION and
>   File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta2-
> py2.4.egg/reviewboard/scmtools/core.py", line 68, in file_exists
>     self.get_file(path, revision)
>   File "/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta2-
> py2.4.egg/reviewboard/scmtools/svn.py", line 144, in get_file
>     raise SCMError(e)
> SCMError: Connection closed unexpectedly
> 2010-06-29 12:23:31,780 - WARNING - JSONField decode error. Expected
> dictionary, got string for input '.....'
>
> On Jun 28, 9:16 am, Christian Hammond <chip...@chipx86.com> wrote:
>
> > That'd be it. Review Board 1.0.x doesn't support ssh-backed repositories.
> > You'll need the 1.5 betas for that.
>
> > Christian
>
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
>
> > On Sun, Jun 27, 2010 at 4:06 PM, jianwei <majesty...@hotmail.com> wrote:
> > > Hi Christian,
> > >   Path: svn+ssh://x.x.x.x/var/svn/repos/
> > >   Mirror path has nothing for it.
>
> > > Jianwei
>
> > > On Jun 27, 6:43 am, Christian Hammond <chip...@chipx86.com> wrote:
> > > > While that may be unrelated, it's certainly a problem by itself. Did you
> > > at
> > > > any point attempt to edit the SiteConfiguration table in the database
> > > > browser in the admin UI?
>
> > > > Can you show me what you're using for Path and Mirror Path for your
> > > > repository?
>
> > > > Christian
>
> > > > --
> > > > Christian Hammond - chip...@chipx86.com
> > > > Review Board -http://www.reviewboard.org
> > > > VMware, Inc. -http://www.vmware.com
>
> > > > On Thu, Jun 24, 2010 at 4:30 PM, jianwei <majesty...@hotmail.com> wrote:
> > > > > Hi Christian,
> > > > >   Thank you for your reply.
> > > > >   I am using subversion for my repos.
>
> > > > > My log looks like this, some settings are not pasted to here.
> > > > > Also, the upload_temp_dir is NONE, is it this causes the problem? But
> > > > > I can upload img file.
>
> > > > > 2010-06-24 14:50:26,611 - DEBUG - DiffParser.parse: Beginning parse of
> > > > > diff, size = 3670
> > > > > 2010-06-24 14:50:26,612 - DEBUG - DiffParser.parse: Finished parsing
> > > > > diff.
> > > > > 2010-06-24 14:50:30,448 - WARNING - JSONField decode error. Expected
> > > > > dictionary, got string for input '{
> > > > > u'cache_backend': u'file:///tmp/reviewboard_cache',
> > > > > u'site_upload_temp_dir': None,
> > > > > u'diffviewer_context_num_lines': 5,
> > > > > u'diffviewer_paginate_orphans': 10,
> > > > > u'site_upload_max_memory_size': 2621440,
> > > > > u'cache_expiration_time': 2592000,
> > > > > u'diffviewer_include_space_patterns': [],
> > > > > u'diffviewer_paginate_by': 20,
> > > > > u'diffviewer_syntax_highlighting': True,
> > > > > u'site_media_url': u'/media/',
>
> > > > > Looking forward to everyone's response. Thank you
>
> > > > > Jianwei
>
> > > > > On Jun 24, 5:09 pm, Christian Hammond <chip...@chipx86.com> wrote:
> > > > > > Hi,
>
> > > > > > This may be due to some issue between Review Board and your
> > > repository.
> > > > > What
> > > > > > type of repository are you using?
>
> > > > > > Can you turn on logging in the administration UI (Admin -> Settings
> > > ->
> > > > > > Logging), reproduce the problem, and then see if there's anything in
> > > the
> > > > > log
> > > > > > files?
>
> > > > > > Christian
>
> > > > > > --
> > > > > > Christian Hammond - chip...@chipx86.com
> > > > > > Review Board -http://www.reviewboard.org
> > > > > > VMware, Inc. -http://www.vmware.com
>
> > > > > > On Wed, Jun 23, 2010 at 9:29 PM, jianwei <majesty...@hotmail.com>
> > > wrote:
> > > > > > > Hi all,
> > > > > > >     The problem is I got connection closed unexpectedly when I try
> > > to
> > > > > > > upload a diff file.
> > > > > > >     After searching for the solutions to this problems for a few
> > > days
> > > > > > > and I still can not solve this problem except knowing there are
> > > some
> > > > > > > problems of the server site. Can somebody please help me to fix
> > > this
> > > > > > > problem? eg: what can I do on the server side?
> > > > > > >     At the moment, I can use eReviewboard plugin to create a new
> > > > > > > request from eclipse and I am able to upload image. Version of
> > > > > > > reviewboard is 1.0.8.
>
> > > > > > > Regards
> > > > > > > Jianwei
>
> > > > > > > --
> > > > > > > Want to help the Review Board project? Donate today at
> > > > > > >http://www.reviewboard.org/donate/
> > > > > > > Happy user? Let us know athttp://www.reviewboard.org/users/
> > > > > > > -~----------~----~----~----~------~----~------~--~---
> > > > > > > To unsubscribe from this group, send email to
> > > > > > > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> > > <reviewboard%2bunsubscr...@googlegroups.com<reviewboard%252bunsubscr...@googlegroups.com>
>
> > > > > <reviewboard%2bunsubscr...@googlegroups.com<reviewboard%252bunsubscr...@googlegroups.com>
> > > <reviewboard%252bunsubscr...@googlegroups.com<reviewboard%25252bunsubscr...@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 athttp://www.reviewboard.org/users/
> > > > > -~----------~----~----~----~------~----~------~--~---
> > > > > To unsubscribe from this group, send email to
> > > > > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> > > <reviewboard%2bunsubscr...@googlegroups.com<reviewboard%252bunsubscr...@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 athttp://www.reviewboard.org/users/
> > > -~----------~----~----~----~------~----~------~--~---
> > > To unsubscribe from this group, send email to
> > > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@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

Reply via email to