jzjjjjjgtgyyyykkkkkkkkkkllklllllllkll În data de 13.09.2014 12:49, <reviewboard@googlegroups.com> a scris: > > reviewboard@googlegroups.com > Google Groups > Topic digest > View all topics > Selecting items in "New Review Request for Committed Change" drop box doesn't work and throws ERROR in server log file - 3 Updates > how to setup mercurial extension...? - 2 Updates > view difff generates error: There was an error displaying this diff. - 2 Updates > Error pkg_resources.DistributionNotFound: ReviewBoard after install - 1 Update > Reviewboard 2.0.6 hungs on new request with non latin symbols - 1 Update > Selecting items in "New Review Request for Committed Change" drop box doesn't work and throws ERROR in server log file > Bob Farmer <b...@bfarmer.net>: Sep 12 07:12PM -0700 > > Problem here seems to be that ReviewBoard doesn't handle the situation > where there are revisions present that the repository user doesn't have > access to. get_commits() fails because there is no commit['date'] for a > given revision, when you have no access to the files that the revision > affected. > > After putting in a workaround for that (by skipping over revisions with no > date), noticed get_commits() seemed to be failing in the same way when > running across revisions where commit['message'] was non-existent (I think > if the user didn't put in a log message?) So, also needed to change a > non-existent commit['message'] to be treated as an empty string. > > -BRF > > > On Wednesday, September 3, 2014 4:39:31 PM UTC-5, Eugene wrote: > Christian Hammond <christ...@beanbaginc.com>: Sep 12 08:31PM -0700 > > We'd be happy to take patches for this. Currently, Review Board has no notion of commits that are blocked from being seen by the user. > > Would you be able to go into more detail on your repository setup? > > Christian > > -- > Christian Hammond - christ...@beanbaginc.com > Review Board - https://www.reviewboard.org > Beanbag, Inc. - https://www.beanbaginc.com > > > Bob Farmer <b...@bfarmer.net>: Sep 12 08:52PM -0700 > > Nothing too out of the ordinary about our repository setup. There are > simply directories that not everyone has access to (via SVN's authz file). > If the user ReviewBoard is logging into the repo with doesn't have access > to some things, then it chokes in a situation like this since it assumes > it'll get full info on every revision. > > -BRF > > > > On Friday, September 12, 2014 10:32:00 PM UTC-5, Christian Hammond wrote: > Back to top > how to setup mercurial extension...? > min-chul park <lethe0...@gmail.com>: Sep 12 02:49AM -0700 > > http://mercurial.selenic.com/wiki/ReviewboardExtension > > I don't know .... T.T > > first what can i do ? > > centos 6.5 > > installed reviewboard 2.0.6 > > mercurial 2.2 > David Trowbridge <trowb...@gmail.com>: Sep 12 02:56PM -0700 > > The mercurial extension is a third-party tool and we don't provide support > for it. You'll have to contact the author. > > -David > > Back to top > view difff generates error: There was an error displaying this diff. > ch.jeski...@gmail.com: Sep 12 11:25AM -0700 > > Hi, > Using reviewboard 2.0.6 and RBTools 0.6.2. > post-review worked fine and generated a new request. > When I looked into view diff for the request, it is failing. > > details error: > > Traceback (most recent call last): > File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/views.py", line 236, in get > renderer = self.create_renderer(context, *args, **kwargs) > File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/reviews/views.py", line 1088, in create_renderer > *args, **kwargs) > File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/views.py", line 328, in create_renderer > self.diff_file = self._get_requested_diff_file() > File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/views.py", line 369, in _get_requested_diff_file > request=self.request) > File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/diffutils.py", line 373, in populate_diff_chunks > chunks = generator.get_chunks() > File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/chunk_generator.py", line 153, in get_chunks > large_data=True) > File "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.9-py2.7.egg/djblets/cache/backend.py", line 109, in cache_memoize > data = lookup_callable() > File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/chunk_generator.py", line 152, in <lambda> > lambda: list(self._get_chunks_uncached()), > File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/chunk_generator.py", line 160, in _get_chunks_uncached > new = get_patched_file(old, self.filediff, self.request) > File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/diffutils.py", line 201, in get_patched_file > return patch(diff, buffer, filediff.dest_file, request) > File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/diffutils.py", line 139, in patch > 'output': stderr, > Exception: The patch to 'test' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.axR11W' for debugging purposes. > `patch` returned: > > > ls /tmp/reviewboard.axR11W > tmppg8GFU tmppg8GFU-new tmppg8GFU-new.rej test.diff > > diff is generated properly in the files. tmppg8GFU-new.rej file and > test.diff has proper differences. > > Pls. help. > > Thanks, > Jes > David Trowbridge <trowb...@gmail.com>: Sep 12 02:55PM -0700 > > Is the tmppg8GFU file what you'd expect? (the pre-patched file contents) > > What version control system? > > -David > > Back to top > Error pkg_resources.DistributionNotFound: ReviewBoard after install > moto...@free.fr: Sep 12 10:53AM -0700 > > I've followed the installation procedure on mu Ubuntu box 14.04, using > Apache as HTTP server and PostgreSQL. > > I've successfully created the site, and enabled the site on my Apache. > > When I'm connecting to the application, I have the following message > displayed: "Review Board is taking a nap ..." > > In the Apache log file: > > [Fri Sep 12 19:49:30.739954 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] mod_wsgi (pid=4552): Target WSGI script > '/var/www/xxx/htdocs/reviewboard.wsgi' cannot be loaded as Python module. > [Fri Sep 12 19:49:30.740023 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] mod_wsgi (pid=4552): Exception occurred processing WSGI > script '/var/www/xxx/htdocs/reviewboard.wsgi'. > [Fri Sep 12 19:49:30.740057 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] Traceback (most recent call last): > [Fri Sep 12 19:49:30.740118 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] File "/var/www/xxx/htdocs/reviewboard.wsgi", line 3, in > <module> > [Fri Sep 12 19:49:30.740127 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] import pkg_resources > [Fri Sep 12 19:49:30.740156 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] File "/usr/lib/python3/dist-packages/pkg_resources.py", > line 2749, in <module> > [Fri Sep 12 19:49:30.740161 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] working_set = WorkingSet._build_master() > [Fri Sep 12 19:49:30.740186 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] File "/usr/lib/python3/dist-packages/pkg_resources.py", > line 444, in _build_master > [Fri Sep 12 19:49:30.740191 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] ws.require(__requires__) > [Fri Sep 12 19:49:30.740214 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] File "/usr/lib/python3/dist-packages/pkg_resources.py", > line 725, in require > [Fri Sep 12 19:49:30.740221 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] needed = self.resolve(parse_requirements(requirements)) > [Fri Sep 12 19:49:30.740245 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] File "/usr/lib/python3/dist-packages/pkg_resources.py", > line 628, in resolve > [Fri Sep 12 19:49:30.740254 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] raise DistributionNotFound(req) > [Fri Sep 12 19:49:30.740281 2014] [:error] [pid 4552] [client > 127.0.0.1:50926] pkg_resources.DistributionNotFound: ReviewBoard > > > But obviously the ReviewBoard package is correctly installed: > > $ sudo easy_install ReviewBoard > Searching for ReviewBoard > Best match: ReviewBoard 2.0.6 > Processing ReviewBoard-2.0.6-py2.7.egg > ReviewBoard 2.0.6 is already the active version in easy-install.pth > Installing rb-site script to /usr/local/bin > Installing rbssh script to /usr/local/bin > > Using /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg > Processing dependencies for ReviewBoard > Finished processing dependencies for ReviewBoard > > > I'm not used to Python web site, what do I have missed? > > Thanks, > > Julien > Back to top > Reviewboard 2.0.6 hungs on new request with non latin symbols > Roudaille77 <rudy.he...@gmail.com>: Sep 12 06:51AM -0700 > > Hello, > > I have a similar issue, I found this in apache error.log : > [Fri Sep 12 13:19:54.182670 2014] [:error] [pid 1339] > WARNING:py.warnings:/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/diffutils.py:81:
> UnicodeWarning: Unicode equal comparison failed to convert both arguments > to Unicode - interpreting them as being unequal > [Fri Sep 12 13:19:54.182690 2014] [:error] [pid 1339] if data == "": > [Fri Sep 12 13:19:54.182697 2014] [:error] [pid 1339] > Fatal Python error: PyEval_AcquireThread: NULL new thread state > > > Back to top > You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. > To unsubscribe from this group and stop receiving emails from it send an email to reviewboard+unsubscr...@googlegroups.com. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.