Review Board Ticket #4561: Are Perforce Task Streams supported

2017-06-26 Thread Ben Allen
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4561/
--

New ticket #4561 by BenA
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect


--
Are Perforce Task Streams supported
==

# What version are you running?

>> > Running on Linux-2.6.18-194.el5-x86_64-with-redhat-5.5-Tikanga
70  16:19   [GCC 4.4.4 20100726 ( Red Hat 4.4.4-13 ) ]
71  16:19   >> > Python 2.7.2 ( default, Mar 26 2013, 18:57:24 )
72  16:19   >> > RBTools 0.7.6

Are Peforce Task Streams supported?

# What steps will reproduce the problem?
1. create a Task Stream in Task Stream Depot.
2. Create a change list
3. submit review for change list
4. /grid/common/pkgs/python/v2.7.2/bin/rbt post --bugs-closed 17 -p 9065

# What is the expected output? What do you see instead
Review as usual. Seeing an issue on displaying the diffs.

There was an error displaying this diff.
The patch to '//depot/t_2027/C_Macros.hppa' didn't apply cleanly. The temporary 
files have been left in '/tmp/reviewboard.mYtZ9l' for debugging purposes.
`patch` returned:
This may be a bug in the software, a temporary outage, or an issue with the 
format of your diff.
Please try again, and if you still have trouble, contact support.

# What operating system are you using? What browser?
Chrome browser
 
# Please provide any additional information below.

Is the combination of task streams and P4 supported?

--

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Review Board Ticket #4489: LDAP Authenticate error: need more than 1 value to unpack

2016-11-28 Thread Allen Heavey
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4489/
--

New ticket #4489 by jafar
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect


--
LDAP Authenticate error: need more than 1 value to unpack
==

# What version are you running?
2.5.7


# What's the URL of the page containing the problem?
https://github.com/reviewboard/reviewboard/blob/master/reviewboard/accounts/backends.py#L559
https://groups.google.com/forum/#!topic/reviewboard/7zrGkUg1kPI


# What steps will reproduce the problem?
1. GOTO   Authentication -> LDAP
2. SETFull Name Attribute: cn (or something like uid)
3. That's it!


# What is the expected output? What do you see instead?
Arbitrary assume fullname will contains a white space.
Wrong code:
>> first_name, last_name = full_name.split(' ', 1)

Many people, such as most asian people, they have a fullname but without space!
Example: 张三

You cannot assume your users' fullname contains white space, at least try catch 
such exception!


# What operating system are you using? What browser?
NONE

# Please provide any additional information below.
NONE

--

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Problem upgrading from 1.6.9 to 2.0.1

2014-06-02 Thread Thomas Allen
I'm attempting a Reviewboard 1.6.9-2.0 migration.  This is on Ubuntu 12.04 
and I'm using postgresql as the database.

I've updated review-board with this command:

 sudo easy_install -U ReviewBoard

Based on the release notes, I went ahead and removed PIL and installed 
pillow, but then rb-site did not even run. I re-installed PIL with sudo 
easy_install pil and then I get this error when I run sudo rb-site 
upgrade /var/www/review-board:

Traceback (most recent call last):
   File /usr/local/bin/rb-site, line 9, in module
 load_entry_point('ReviewBoard==2.0.1', 'console_scripts', 'rb-site')()
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/cmdline/rbsite.py,
  
 line 1733, in main
 command.run()
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/cmdline/rbsite.py,
  
 line 1536, in run
 diff_dedup_needed = site.get_diff_dedup_needed()
   File 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/cmdline/rbsite.py,
  
 line 442, in get_diff_dedup_needed
 return FileDiff.objects.unmigrated().count()  0
   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/models/query.py,
  
 line 294, in count
 return self.query.get_count(using=self.db)
   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/models/sql/query.py,
  
 line 390, in get_count
 number = obj.get_aggregation(using=using)[None]
   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/models/sql/query.py,
  
 line 356, in get_aggregation
 result = query.get_compiler(using).execute_sql(SINGLE)
   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/models/sql/compiler.py,
  
 line 786, in execute_sql
 cursor.execute(sql, params)
   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/backends/util.py,
  
 line 69, in execute
 return super(CursorDebugWrapper, self).execute(sql, params)
   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/backends/util.py,
  
 line 53, in execute
 return self.cursor.execute(sql, params)
   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/utils.py,
  
 line 99, in __exit__
 six.reraise(dj_exc_type, dj_exc_value, traceback)
   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/backends/util.py,
  
 line 53, in execute
 return self.cursor.execute(sql, params)
 django.db.utils.ProgrammingError: column diffviewer_filediff.diff_hash_id 
 does not exist
 LINE 1: ...CT COUNT(*) FROM diffviewer_filediff WHERE NOT (diffviewe...


Based on some comments in similar threads, I went into the rbsite.py file 
and made the site.get_diff_dedup_needed function return True to get past 
this error, but then I end up with another error:

Rebuilding directory structure
 Updating database. This may take a while.
 The log output below, including warnings and errors,
 can be ignored unless upgrade fails.
 -- begin log output --
 Creating tables ...
 There are unapplied evolutions for auth.
 There are unapplied evolutions for contenttypes.
 There are unapplied evolutions for accounts.
 There are unapplied evolutions for attachments.
 There are unapplied evolutions for changedescs.
 There are unapplied evolutions for diffviewer.
 There are unapplied evolutions for hostingsvcs.
 There are unapplied evolutions for reviews.
 There are unapplied evolutions for scmtools.
 There are unapplied evolutions for site.
 Project signature has changed - an evolution is required
 Installing custom SQL ...
 Installing indexes ...
 Installed 0 object(s) from 0 fixture(s)
 ERROR:root:Unexpected error: 'NoneType' object is not iterable
 Traceback (most recent call last):
   File 
 /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.1-py2.7.egg/django_evolution/management/commands/evolve.py,
  
 line 65, in handle
 self.evolve(*app_labels, **options)
   File 
 /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.1-py2.7.egg/django_evolution/management/commands/evolve.py,
  
 line 125, in evolve
 sql.extend(self.evolve_app(app))
   File 
 /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.1-py2.7.egg/django_evolution/management/commands/evolve.py,
  
 line 165, in evolve_app
 app_mutator_sql = app_mutator.to_sql()
   File 
 /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.1-py2.7.egg/django_evolution/mutators.py,
  
 line 303, in to_sql
 sql.extend(mutator.to_sql())
   File 
 /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.1-py2.7.egg/django_evolution/mutators.py,
  
 line 186, in to_sql
 return self.evolver.generate_table_ops_sql(self, self._ops)
   File 
 /usr/local/lib/python2.7/dist-packages/django_evolution-0.7.1-py2.7.egg/django_evolution/db/common.py,
  
 line 42, in generate_table_ops_sql
 

Re: 2.0 RC1 - Unclear how to disable broken extension

2014-03-12 Thread Allen
What I figured out is you can 
1. remove dependences of that extension(use the easy_install -m)
2. delete the .egg file


On Tuesday, March 11, 2014 9:43:12 PM UTC-4, Javins, Walt wrote:

  I was successfully able to get rid of this log spam by going to:

  

 /admin/db/extensions/registeredextension/

  

 And removing the reviewbot extension (apparently it was already disabled). 
 After an apache restart, the “Error loading extension” logspam was 
 suppressed.

  

 Walt

  
  
 *From:* revie...@googlegroups.com javascript: [mailto:
 revie...@googlegroups.com javascript:] *On Behalf Of *Javins, Walt
 *Sent:* Tuesday, March 11, 2014 5:30 PM
 *To:* revie...@googlegroups.com javascript:
 *Subject:* 2.0 RC1 - Unclear how to disable broken extension
  
  

 After upgrading from 1.7.21 to 2.0 RC1, I’m getting logspam like the 
 following:

  

 2014-03-12 07:19:09,446 - ERROR -  - Error loading extension reviewbotext: 
 cannot import name review_request_resource

  

 I’ve attached a screenshot of what I see when I visit the extensions page 
 in the admin ui.

  

 The work to make reviewbot 2.0 compatible aside, it doesn’t look like the 
 advertised disable extension feature is working:

  

 http://www.reviewboard.org/docs/manual/dev/admin/extensions/#extensions

  

 It would likely be worth updating the documentation or the code so that 
 the ‘fix’ for extensions broken by 2.0 is immediately apparent to users who 
 run into this problem.

  

 Walt

  

  

 -- 
 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...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.
  

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


ReviewBoard Hook

2014-03-12 Thread Allen
Hi guys,

Does anybody familiar with the Hook system of ReviewBoard? 
The thing is my team really needs a feature that requires ReviewBoard to 
create a Jira ticket along with a new code review request. 
Write an extension is too much work for me and I also dont think it`s a 
good idea to directly modify the source code of ReviewBoard, so I am 
wondering is it possible to just write a script, and when a new code review 
request is published, the ReviewBoard will trigger my script which will do 
the Jira ticket creation?
I have looked into the Hook`s documentation but did not get any helpful 
information.
Hope someone can give me a clue or some suggestions! Really appreciate your 
help! Thanks!

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


Re: ReviewBoard Hook

2014-03-12 Thread Allen
Official Jira support, I am so glad to hear that... Pretty cool and may I 
ask when this feature will be released? If I need to wait about half a 
year, then my boss may push me to develop one...
And BTW, I tried the extension system of RB today, and with no luck I 
failed on the first step. When I tried to create a empty extension using 
the generate_extension.py tool, I got this error 
jinja2.exceptions.TemplateNotFound: extension/__init__.py, any idea why 
this is happening? 
Really appreciate your help, thanks!

On Wednesday, March 12, 2014 2:47:52 PM UTC-4, Christian Hammond wrote:

 Hi Allen,

 We don't have hook support in the way you're describing. What you likely 
 saw was our extension support, which I assure you is not that hard to use 
 if you have any Python experience.

 Work is being done on official Jira support, though won't land until after 
 2.0.

 Christian


 On Wednesday, March 12, 2014, Allen zhangs...@gmail.com javascript: 
 wrote:

 Hi guys,

 Does anybody familiar with the Hook system of ReviewBoard? 
 The thing is my team really needs a feature that requires ReviewBoard to 
 create a Jira ticket along with a new code review request. 
 Write an extension is too much work for me and I also dont think it`s a 
 good idea to directly modify the source code of ReviewBoard, so I am 
 wondering is it possible to just write a script, and when a new code review 
 request is published, the ReviewBoard will trigger my script which will do 
 the Jira ticket creation?
 I have looked into the Hook`s documentation but did not get any helpful 
 information.
 Hope someone can give me a clue or some suggestions! Really appreciate 
 your help! Thanks!

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



 -- 
 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.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.


Re: ReviewBoard Hook

2014-03-12 Thread Allen
Sounds cool! And is there a way to automatically create a Jira ticket along 
with a new code reivew? You know, people just want to do things at one 
place and they hate to create something twice even they should...
Anyway thanks for letting me know!

On Wednesday, March 12, 2014 3:12:34 PM UTC-4, A.M. wrote:

 On Wed, 12 Mar 2014 08:15:36 -0700 (PDT), Allen 
 zhangs...@gmail.comjavascript: 

 wrote: 
  Hi guys, 
  
  Does anybody familiar with the Hook system of ReviewBoard? 
  The thing is my team really needs a feature that requires ReviewBoard to 
  create a Jira ticket along with a new code review request. 
  Write an extension is too much work for me and I also dont think it`s a 
  good idea to directly modify the source code of ReviewBoard, so I am 
  wondering is it possible to just write a script, and when a new code 
 review 
  
  request is published, the ReviewBoard will trigger my script which will 
 do 
  the Jira ticket creation? 
  I have looked into the Hook`s documentation but did not get any helpful 
  information. 

 We initially implemented a reviewboard extension to add the reviewboard 
 URL 
 to JIRA tickets in a Code Review URL field and update the issue status 
 to 
 In Code Review. What we discovered is that, since the operation is 
 synchronous with JIRA, it slowed down submitting changes to reviewboard. 
 Also, when JIRA dies (not an uncommon occurrence), the request to update 
 the JIRA issue can just puke in the log file, cause reviewboard timeouts, 
 and is then subsequently lost. 

 To mitigate these problems, we implemented a cron job that polls for the 
 latest reviewboard changes and updates JIRA out-of-band. The cron job uses 
 the rbtools and jira-python modules. The downside is that the JIRA issue 
 updating is not instantaneous. 

 Cheers, 
 M 


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


Re: ReviewBoard Hook

2014-03-12 Thread Allen
And also, is that extension ready to use or still under developing? I can 
do some test work for you if you like to.

On Wednesday, March 12, 2014 3:12:34 PM UTC-4, A.M. wrote:

 On Wed, 12 Mar 2014 08:15:36 -0700 (PDT), Allen 
 zhangs...@gmail.comjavascript: 

 wrote: 
  Hi guys, 
  
  Does anybody familiar with the Hook system of ReviewBoard? 
  The thing is my team really needs a feature that requires ReviewBoard to 
  create a Jira ticket along with a new code review request. 
  Write an extension is too much work for me and I also dont think it`s a 
  good idea to directly modify the source code of ReviewBoard, so I am 
  wondering is it possible to just write a script, and when a new code 
 review 
  
  request is published, the ReviewBoard will trigger my script which will 
 do 
  the Jira ticket creation? 
  I have looked into the Hook`s documentation but did not get any helpful 
  information. 

 We initially implemented a reviewboard extension to add the reviewboard 
 URL 
 to JIRA tickets in a Code Review URL field and update the issue status 
 to 
 In Code Review. What we discovered is that, since the operation is 
 synchronous with JIRA, it slowed down submitting changes to reviewboard. 
 Also, when JIRA dies (not an uncommon occurrence), the request to update 
 the JIRA issue can just puke in the log file, cause reviewboard timeouts, 
 and is then subsequently lost. 

 To mitigate these problems, we implemented a cron job that polls for the 
 latest reviewboard changes and updates JIRA out-of-band. The cron job uses 
 the rbtools and jira-python modules. The downside is that the JIRA issue 
 updating is not instantaneous. 

 Cheers, 
 M 


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


Internal Server Error: /api/extensions/rbpowerpack.extension.PowerPackExtension/

2014-03-11 Thread Allen
Hi,

I am playing with the power back extension in RB 2.0 RC1 and find this 
error when I try to enable the extension. Below is the traceback
The title of this bug is [Review Board] ERROR (EXTERNAL IP): Internal 
Server Error: /api/extensions/rbpowerpack.extension.PowerPackExtension/

Traceback (most recent call last):

File 
/usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/core/handlers/base.py,
 
line 114, in get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/views/decorators/cache.py,
 
line 52, in _wrapped_view_func

response = view_func(request, *args, **kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/views/decorators/vary.py,
 
line 19, in inner_func

response = func(*args, **kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/resources.py,
 
line 445, in __call__

result = view(request, api_format=api_format, *args, **kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/resources.py,
 
line 678, in put

return self.update(request, *args, **kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
 
line 115, in _call

return view_func(*args, **kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
 
line 136, in _checklogin

return view_func(*args, **kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
 
line 115, in _call

return view_func(*args, **kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
 
line 162, in _checkpermissions

response = view_func(*args, **kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
 
line 115, in _call

return view_func(*args, **kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
 
line 285, in _validate

return view_func(*args, **new_kwargs)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/resources.py,
 
line 206, in update

self._extension_manager.enable_extension(extension_id)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/manager.py,
 
line 302, in enable_extension

extension = self._init_extension(ext_class)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/manager.py,
 
line 582, in _init_extension

self._install_admin_urls(extension)

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/manager.py,
 
line 774, in _install_admin_urls

urlconf = extension.admin_urlconf

  File 
/usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/extension.py,
 
line 262, in _get_admin_urlconf

(name, e))

ImproperlyConfigured: Error while importing extension's admin URLconf 
u'rbpowerpack.admin_urls': No module named defaults


Any idea about this error? Thanks!

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


Re: Internal Server Error: /api/extensions/rbpowerpack.extension.PowerPackExtension/

2014-03-11 Thread Allen
BTW how can I delete this extension? I am getting so many bugs about it 
now, and the RB keeps sending bug report to my inbox...

On Tuesday, March 11, 2014 10:09:23 AM UTC-4, Allen wrote:

 Hi,

 I am playing with the power back extension in RB 2.0 RC1 and find this 
 error when I try to enable the extension. Below is the traceback
 The title of this bug is [Review Board] ERROR (EXTERNAL IP): Internal 
 Server Error: /api/extensions/rbpowerpack.extension.PowerPackExtension/

 Traceback (most recent call last):

 File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/core/handlers/base.py,
  
 line 114, in get_response

 response = wrapped_callback(request, *callback_args, **callback_kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/views/decorators/cache.py,
  
 line 52, in _wrapped_view_func

 response = view_func(request, *args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/views/decorators/vary.py,
  
 line 19, in inner_func

 response = func(*args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/resources.py,
  
 line 445, in __call__

 result = view(request, api_format=api_format, *args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/resources.py,
  
 line 678, in put

 return self.update(request, *args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
  
 line 115, in _call

 return view_func(*args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
  
 line 136, in _checklogin

 return view_func(*args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
  
 line 115, in _call

 return view_func(*args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
  
 line 162, in _checkpermissions

 response = view_func(*args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
  
 line 115, in _call

 return view_func(*args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
  
 line 285, in _validate

 return view_func(*args, **new_kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/resources.py,
  
 line 206, in update

 self._extension_manager.enable_extension(extension_id)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/manager.py,
  
 line 302, in enable_extension

 extension = self._init_extension(ext_class)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/manager.py,
  
 line 582, in _init_extension

 self._install_admin_urls(extension)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/manager.py,
  
 line 774, in _install_admin_urls

 urlconf = extension.admin_urlconf

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/extension.py,
  
 line 262, in _get_admin_urlconf

 (name, e))

 ImproperlyConfigured: Error while importing extension's admin URLconf 
 u'rbpowerpack.admin_urls': No module named defaults


 Any idea about this error? Thanks!


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


Re: Internal Server Error: /api/extensions/rbpowerpack.extension.PowerPackExtension/

2014-03-11 Thread Allen
Thanks!

On Tuesday, March 11, 2014 3:02:28 PM UTC-4, Christian Hammond wrote:

 Hey Allen,

 The curren release of Power Pack is incompatible with RC 1, but we've 
 fixed it up internally and will have a release out soon. I'll try to 
 fast-track it, get a working release tonight.

 Christian


 On Tuesday, March 11, 2014, Allen zhangs...@gmail.com javascript: 
 wrote:

 Hi,

 I am playing with the power back extension in RB 2.0 RC1 and find this 
 error when I try to enable the extension. Below is the traceback
 The title of this bug is [Review Board] ERROR (EXTERNAL IP): Internal 
 Server Error: /api/extensions/rbpowerpack.extension.PowerPackExtension/

 Traceback (most recent call last):

 File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/core/handlers/base.py,
  
 line 114, in get_response

  response = wrapped_callback(request, *callback_args, 
 **callback_kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/views/decorators/cache.py,
  
 line 52, in _wrapped_view_func

 response = view_func(request, *args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/views/decorators/vary.py,
  
 line 19, in inner_func

 response = func(*args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/resources.py,
  
 line 445, in __call__

 result = view(request, api_format=api_format, *args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/resources.py,
  
 line 678, in put

 return self.update(request, *args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
  
 line 115, in _call

 return view_func(*args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
  
 line 136, in _checklogin

 return view_func(*args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
  
 line 115, in _call

 return view_func(*args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
  
 line 162, in _checkpermissions

 response = view_func(*args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
  
 line 115, in _call

 return view_func(*args, **kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/webapi/decorators.py,
  
 line 285, in _validate

 return view_func(*args, **new_kwargs)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/resources.py,
  
 line 206, in update

 self._extension_manager.enable_extension(extension_id)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/manager.py,
  
 line 302, in enable_extension

 extension = self._init_extension(ext_class)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/manager.py,
  
 line 582, in _init_extension

 self._install_admin_urls(extension)

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/manager.py,
  
 line 774, in _install_admin_urls

 urlconf = extension.admin_urlconf

   File 
 /usr/local/lib/python2.7/dist-packages/Djblets-0.8beta3-py2.7.egg/djblets/extensions/extension.py,
  
 line 262, in _get_admin_urlconf

 (name, e))

 ImproperlyConfigured: Error while importing extension's admin URLconf 
 u'rbpowerpack.admin_urls': No module named defaults


 Any idea about this error? Thanks!

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



 -- 
 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.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.


Plugin in Eclipse for RB?

2014-03-10 Thread Allen
Hi All,

I am wondering, does anybody know if there`s a Eclipse plugin for 
integration with RB? I saw one in the Eclipse market which name is 
Tao-reviewboard but it`s out of date and does`t help anymore. And I am 
using Tortoise SVN as the SCM. Thanks!

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


Re: Plugin in Eclipse for RB?

2014-03-10 Thread Allen
Thanks for your response Robert, I already found your cool project and I am 
trying to play with it. So for now I have encountered some problems and I 
think it`s better for me to post them on your github page, right?

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


User`s report

2014-03-10 Thread Allen
Hi guys,

First for all I want to thanks for your contribution to this amazing tool! 
Last week I did a demo to my group and people just loved it very much!
But my manager did have a question that does review board have a user 
report? Just like a manager can see how many code reviews a specific user 
have and how many of them are pending so he can track all people`s work. I 
checked the admin`s dashboard but seems there is not any report for certain 
user.

Thanks for any help!

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


Can not display an attached image, only a broken symble

2014-03-04 Thread Allen
Hi,

At first place, I can not upload any attached files, soon I realized that`s 
a permission problem and I have fixed it. Then I can attach screenshots or 
other files. But only text file`s content could be showed correctly, all 
other images like .jpeg .png .bmp were broken. And when I click on the URL 
in the email that RB sent to me, I got some very weird links like 
10.50.12.159uploaded/files/2014/03/04/7dcb7fef-b66e-44b6-81ba-cf920d769889__4.jpeg,
 
that`s the full path, I never changed anything. 
So is this a bug or there`s something wrong with my RB instance. Thanks for 
help!

-- 
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/groups/opt_out.


Re: Can not display an attached image, only a broken symble

2014-03-04 Thread Allen
It works now, thanks!

On Tuesday, March 4, 2014 5:38:30 PM UTC-5, Christian Hammond wrote:

 Hi Allen,

 Make sure you have the media path on your installation set to /media/, and 
 not blank.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com


 On Tue, Mar 4, 2014 at 1:58 PM, Allen zhangs...@gmail.com 
 javascript:wrote:

 Hi,

 At first place, I can not upload any attached files, soon I realized 
 that`s a permission problem and I have fixed it. Then I can attach 
 screenshots or other files. But only text file`s content could be showed 
 correctly, all other images like .jpeg .png .bmp were broken. And when I 
 click on the URL in the email that RB sent to me, I got some very weird 
 links like 
 10.50.12.159uploaded/files/2014/03/04/7dcb7fef-b66e-44b6-81ba-cf920d769889__4.jpeg,
  
 that`s the full path, I never changed anything. 
 So is this a bug or there`s something wrong with my RB instance. Thanks 
 for help!

 -- 
 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...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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/groups/opt_out.


Re: 2.0 Beta3 bugs

2014-02-27 Thread Allen
Yeah, I will. Thanks

On Wednesday, February 26, 2014 6:26:41 PM UTC-5, David Trowbridge wrote:

 Can you file these on the google code bug tracker?

 Thanks!
 -David


 On Wed, Feb 26, 2014 at 6:55 AM, Allen zhangs...@gmail.com 
 javascript:wrote:

 I am wondering is this a good place to report bugs? If you guys prefer 
 somewhere else, please let me know! I just figured out two bugs with the 
 2.0 Beta3.
 1. A user can not change his profiles. After I click on the save 
 Profile, all changes gone.
 2. When I play with the diff between different revisions, sometimes a 404 
 page not found error came out after I click on the download diff. And 
 when that happened, the download diff button disappeared after I went 
 back.
 (After a few tests, I believe the 404 page not found error only happens 
 when I move the left button.)

 That`s it so far! Thanks for you guys` contribution!

 -- 
 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...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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/groups/opt_out.


2.0 Beta3 bugs

2014-02-26 Thread Allen
I am wondering is this a good place to report bugs? If you guys prefer 
somewhere else, please let me know! I just figured out two bugs with the 
2.0 Beta3.
1. A user can not change his profiles. After I click on the save Profile, 
all changes gone.
2. When I play with the diff between different revisions, sometimes a 404 
page not found error came out after I click on the download diff. And 
when that happened, the download diff button disappeared after I went 
back.
(After a few tests, I believe the 404 page not found error only happens 
when I move the left button.)

That`s it so far! Thanks for you guys` contribution!

-- 
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/groups/opt_out.


Error 500 after upgrade to 2.0

2014-02-25 Thread Allen
Hi,

Seems RB 2.0 has a lot of cool features and I want to give it a try. But 
after I upgraded it, the review board toke a very long time to load and 
finally a 500 error showed up. Any idea what`s going on? I also checked 
my apache2 log file, it`s nothing there. 
Anyway for to downgrade it to 1.7.21? Thanks!

The error page:
Something broke! (Error 500)

It appears something broke when you tried to go to here. This is either a 
bug in Review Board or a server configuration error. Please report this to 
your administrator.

-- 
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/groups/opt_out.


Re: Error 500 after upgrade to 2.0

2014-02-25 Thread Allen
Sorry, nothing in the reviewboard`s log

On Tuesday, February 25, 2014 12:32:08 PM UTC-5, Bruce Cran wrote:

 Is there anything in /tmp/reviewboard.log ?


-- 
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/groups/opt_out.


Re: Error 500 after upgrade to 2.0

2014-02-25 Thread Allen
No log file that`s something bother me the most...Any idea how to fix this? 
Is it possible for me to downgrade to 1.7.21?

On Tuesday, February 25, 2014 12:32:08 PM UTC-5, Bruce Cran wrote:

 Is there anything in /tmp/reviewboard.log ?


-- 
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/groups/opt_out.


Re: Error 500 after upgrade to 2.0

2014-02-25 Thread Allen
I just tried to install the 2.0 beta3 again, and during the installation, I 
found few warnings(no error) may help.
They are:
Running Whoosh-2.6.0/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-soGWSL/Whoosh-2.6.0/egg-dist-tmp-_iMeAQ
warning: no files found matching '*.txt' under directory 'tests'
warning: no files found matching '*.txt' under directory 'benchmark'
warning: no files found matching '*.txt' under directory 'files'
warning: no files found matching '*.py' under directory 'files'
warning: no files found matching '*.jpg' under directory 'files'
Adding Whoosh 2.6.0 to easy-install.pth file
...
Running django-pipeline-1.3.21/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-ww0YlD/django-pipeline-1.3.21/egg-dist-tmp-kz2lnS
warning: no previously-included files matching '*.pyc' found under 
directory 'tests'
warning: no previously-included files matching '*.pyo' found under 
directory 'tests'
...
Running Django-1.6.2/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-bKvD_l/Django-1.6.2/egg-dist-tmp-hRryUX
warning: no previously-included files matching '__pycache__' found under 
directory '*'
warning: no previously-included files matching '*.py[co]' found under 
directory '*'
zip_safe flag not set; analyzing archive contents...
...
warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no 
Python modules to install
...

-- 
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/groups/opt_out.


Re: Error 500 after upgrade to 2.0

2014-02-25 Thread Allen


 After the reinstallation, I also got some error log from the apache2.

 [error] [client 10.50.12.48] mod_wsgi (pid=2238): Exception occurred 
processing WSGI script 
'/var/www/reviews.example.com/htdocs/reviewboard.wsgi'., referer: 
http://10.50.12.159:81/dashboard/
[Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] Traceback (most 
recent call last):, referer: http://10.50.12.159:81/dashboard/
[Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48]   File 
/usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/core/handlers/wsgi.py,
 
line 219, in __call__, referer: http://10.50.12.159:81/dashboard/
[Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] 
self.load_middleware(), referer: http://10.50.12.159:81/dashboard/
[Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48]   File 
/usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/core/handlers/base.py,
 
line 47, in load_middleware, referer: http://10.50.12.159:81/dashboard/
[Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] raise 
exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % 
(mw_module, e)), referer: http://10.50.12.159:81/dashboard/
[Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] 
ImproperlyConfigured: Error importing middleware 
reviewboard.admin.middleware: No module named urllib.error, referer: 
http://10.50.12.159:81/dashboard/

May this will help. 

-- 
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/groups/opt_out.


Re: Error 500 after upgrade to 2.0

2014-02-25 Thread Allen
Python 2.7.3

On Tuesday, February 25, 2014 2:37:38 PM UTC-5, Christian Hammond wrote:

 That error log shows you're running Django 1.4.x under Apache, and not 
 1.6.2. What version of Python did you install with?

 Christian


 On Tuesday, February 25, 2014, Allen zhangs...@gmail.com javascript: 
 wrote:

 After the reinstallation, I also got some error log from the apache2.

  [error] [client 10.50.12.48] mod_wsgi (pid=2238): Exception occurred 
 processing WSGI script '/var/www/
 reviews.example.com/htdocs/reviewboard.wsgi'., referer: 
 http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] Traceback (most 
 recent call last):, referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48]   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/core/handlers/wsgi.py,
  
 line 219, in __call__, referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] 
 self.load_middleware(), referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48]   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/core/handlers/base.py,
  
 line 47, in load_middleware, referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] raise 
 exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % 
 (mw_module, e)), referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] 
 ImproperlyConfigured: Error importing middleware 
 reviewboard.admin.middleware: No module named urllib.error, referer: 
 http://10.50.12.159:81/dashboard/

 May this will help. 

 -- 
 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/groups/opt_out.



 -- 
 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.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/groups/opt_out.


Re: Error 500 after upgrade to 2.0

2014-02-25 Thread Allen
I also checked the django`s version, it`s 
 django.VERSION
(1, 6, 2, 'final', 0)
any idea why I am running 1.4.x and how to fix it? Thanks!

On Tuesday, February 25, 2014 2:37:38 PM UTC-5, Christian Hammond wrote:

 That error log shows you're running Django 1.4.x under Apache, and not 
 1.6.2. What version of Python did you install with?

 Christian


 On Tuesday, February 25, 2014, Allen zhangs...@gmail.com javascript: 
 wrote:

 After the reinstallation, I also got some error log from the apache2.

  [error] [client 10.50.12.48] mod_wsgi (pid=2238): Exception occurred 
 processing WSGI script '/var/www/
 reviews.example.com/htdocs/reviewboard.wsgi'., referer: 
 http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] Traceback (most 
 recent call last):, referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48]   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/core/handlers/wsgi.py,
  
 line 219, in __call__, referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] 
 self.load_middleware(), referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48]   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.egg/django/core/handlers/base.py,
  
 line 47, in load_middleware, referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] raise 
 exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % 
 (mw_module, e)), referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] 
 ImproperlyConfigured: Error importing middleware 
 reviewboard.admin.middleware: No module named urllib.error, referer: 
 http://10.50.12.159:81/dashboard/

 May this will help. 

 -- 
 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/groups/opt_out.



 -- 
 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.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/groups/opt_out.


Re: Error 500 after upgrade to 2.0

2014-02-25 Thread Allen
The upgrade command I used is 

sudo easy_install \
-f http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ \
-U ReviewBoard

And for the output, I am able to put it here, it`s already gone. There were 
few warnings in the output but no errors. And finally it shows completed. 
All the warnings:
Running Whoosh-2.6.0/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-soGWSL/Whoosh-2.6.0/egg-dist-tmp-_iMeAQ
warning: no files found matching '*.txt' under directory 'tests'
warning: no files found matching '*.txt' under directory 'benchmark'
warning: no files found matching '*.txt' under directory 'files'
warning: no files found matching '*.py' under directory 'files'
warning: no files found matching '*.jpg' under directory 'files'
Adding Whoosh 2.6.0 to easy-install.pth file
...
Running django-pipeline-1.3.21/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-ww0YlD/django-pipeline-1.3.21/egg-dist-tmp-kz2lnS
warning: no previously-included files matching '*.pyc' found under 
directory 'tests'
warning: no previously-included files matching '*.pyo' found under 
directory 'tests'
...
Running Django-1.6.2/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-bKvD_l/Django-1.6.2/egg-dist-tmp-hRryUX
warning: no previously-included files matching '__pycache__' found under 
directory '*'
warning: no previously-included files matching '*.py[co]' found under 
directory '*'
zip_safe flag not set; analyzing archive contents...
...
warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no 
Python modules to install
...

If you really need all the output, I can create a new VM machine and 
re-install the 2.0 version. Thanks!
On Tuesday, February 25, 2014 2:44:44 PM UTC-5, Christian Hammond wrote:

 Can you show me the full output plus command line you used for upgrading 
 Review Board? There is definitely something wrong with your install.

 Christian


 On Tuesday, February 25, 2014, Allen zhangs...@gmail.com javascript: 
 wrote:

 Python 2.7.3

 On Tuesday, February 25, 2014 2:37:38 PM UTC-5, Christian Hammond wrote:

 That error log shows you're running Django 1.4.x under Apache, and not 
 1.6.2. What version of Python did you install with?

 Christian


 On Tuesday, February 25, 2014, Allen zhangs...@gmail.com wrote:

 After the reinstallation, I also got some error log from the apache2.

  [error] [client 10.50.12.48] mod_wsgi (pid=2238): Exception occurred 
 processing WSGI script '/var/www/reviews.example.com/
 htdocs/reviewboard.wsgi'., referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] Traceback (most 
 recent call last):, referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48]   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.10-
 py2.7.egg/django/core/handlers/wsgi.py, line 219, in __call__, 
 referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] 
 self.load_middleware(), referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48]   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.10-
 py2.7.egg/django/core/handlers/base.py, line 47, in load_middleware, 
 referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] raise 
 exceptions.ImproperlyConfigured('Error importing middleware %s: %s' 
 % (mw_module, e)), referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] 
 ImproperlyConfigured: Error importing middleware 
 reviewboard.admin.middleware: No module named urllib.error, referer: 
 http://10.50.12.159:81/dashboard/

 May this will help. 

 -- 
 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/groups/opt_out.



 -- 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.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/groups/opt_out.



 -- 
 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http

Re: Error 500 after upgrade to 2.0

2014-02-25 Thread Allen

 import django
 django.__file__
'/usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/__init__.pyc'
 import reviewboard
 reviewboard.__file__
'/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0beta3-py2.7.egg/reviewboard/__init__.pyc'

On Tuesday, February 25, 2014 3:02:08 PM UTC-5, Christian Hammond wrote:

 Run this, and show me all the output:

 $ python
  import django
  django.__file__
  import reviewboard
  reviewboard.__file__

 Christian


 On Tuesday, February 25, 2014, Allen zhangs...@gmail.com javascript: 
 wrote:

 The upgrade command I used is 

 sudo easy_install \
 -f http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ \
 -U ReviewBoard

 And for the output, I am able to put it here, it`s already gone. There 
 were few warnings in the output but no errors. And finally it shows 
 completed. 
 All the warnings:
 Running Whoosh-2.6.0/setup.py -q bdist_egg --dist-dir 
 /tmp/easy_install-soGWSL/Whoosh-2.6.0/egg-dist-tmp-_iMeAQ
 warning: no files found matching '*.txt' under directory 'tests'
 warning: no files found matching '*.txt' under directory 'benchmark'
 warning: no files found matching '*.txt' under directory 'files'
 warning: no files found matching '*.py' under directory 'files'
 warning: no files found matching '*.jpg' under directory 'files'
 Adding Whoosh 2.6.0 to easy-install.pth file
 ...
 Running django-pipeline-1.3.21/setup.py -q bdist_egg --dist-dir 
 /tmp/easy_install-ww0YlD/django-pipeline-1.3.21/egg-dist-tmp-kz2lnS
 warning: no previously-included files matching '*.pyc' found under 
 directory 'tests'
 warning: no previously-included files matching '*.pyo' found under 
 directory 'tests'
 ...
 Running Django-1.6.2/setup.py -q bdist_egg --dist-dir 
 /tmp/easy_install-bKvD_l/Django-1.6.2/egg-dist-tmp-hRryUX
 warning: no previously-included files matching '__pycache__' found under 
 directory '*'
 warning: no previously-included files matching '*.py[co]' found under 
 directory '*'
 zip_safe flag not set; analyzing archive contents...
 ...
 warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no 
 Python modules to install
 ...

 If you really need all the output, I can create a new VM machine and 
 re-install the 2.0 version. Thanks!
 On Tuesday, February 25, 2014 2:44:44 PM UTC-5, Christian Hammond wrote:

 Can you show me the full output plus command line you used for upgrading 
 Review Board? There is definitely something wrong with your install.

 Christian


 On Tuesday, February 25, 2014, Allen zhangs...@gmail.com wrote:

 Python 2.7.3

 On Tuesday, February 25, 2014 2:37:38 PM UTC-5, Christian Hammond wrote:

 That error log shows you're running Django 1.4.x under Apache, and not 
 1.6.2. What version of Python did you install with?

 Christian


 On Tuesday, February 25, 2014, Allen zhangs...@gmail.com wrote:

 After the reinstallation, I also got some error log from the apache2.

  [error] [client 10.50.12.48] mod_wsgi (pid=2238): Exception occurred 
 processing WSGI script '/var/www/reviews.example.com/
 htdocs/reviewboard.wsgi'., referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] Traceback (most 
 recent call last):, referer: http://10.50.12.159:81/dashboard/
  [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48]   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.
 egg/django/core/handlers/wsgi.py, line 219, in __call__, referer: 
 http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] 
 self.load_middleware(), referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48]   File 
 /usr/local/lib/python2.7/dist-packages/Django-1.4.10-py2.7.
 egg/django/core/handlers/base.py, line 47, in load_middleware, 
 referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] raise 
 exceptions.ImproperlyConfigured('Error importing middleware %s: %s' % 
 (mw_module, e)), referer: http://10.50.12.159:81/dashboard/
 [Tue Feb 25 19:16:19 2014] [error] [client 10.50.12.48] 
 ImproperlyConfigured: Error importing middleware 
 reviewboard.admin.middleware: No module named urllib.error, referer: 
 http://10.50.12.159:81/dashboard/

 May this will help. 

 -- 
 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/groups/opt_out.



 -- 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com

  -- 
 Get the Review Board Power Pack at http

Re: Error 500 after upgrade to 2.0

2014-02-25 Thread Allen
Yeah, I restarted the apache2 server after the install is completed. So you 
mean I should not restart the server?

On Tuesday, February 25, 2014 3:46:43 PM UTC-5, Christian Hammond wrote:

 On Tuesday, February 25, 2014, timc timcu...@gmail.com javascript: 
 wrote:

 Hi Allen,

 On Tuesday, 25 February 2014 17:11:53 UTC, Allen wrote:

 Hi,

 Seems RB 2.0 has a lot of cool features and I want to give it a try. But 
 after I upgraded it, the review board toke a very long time to load and 
 finally a 500 error showed up. Any idea what`s going on? I also checked 
 my apache2 log file, it`s nothing there. 


 If you're feeling keen, dive into the the installation 
 (/var/www/$YOUR_SITE/conf/settings_local.py) and set DEBUG = True. Then 
 you should get a more useful debug page instead of the 500. You might have 
 to pound on it a bit: My installation alternated between 500 and debug 
 output :/


 It'll alternate if you don't restart Apache, since it'll depend on the 
 thread you hit.

 Actually, Allen, did you restart Apache?

 Christian


 -- 
 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.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/groups/opt_out.


Re: Error 500 after upgrade to 2.0

2014-02-25 Thread Allen
I made a mistake... I never ran the rb-site upgrade... Problem solved, and 
I think it`s better to mention that use rb-site upgrade after the install 
is done. Anyway, thank you so much!!!

On Tuesday, February 25, 2014 3:56:50 PM UTC-5, Christian Hammond wrote:

 No, you should. Not restarting can result in an older version of the code 
 being used.

 Did you restart it after doing 'rb-site upgrade', or just after the 
 'easy_install -U' ?

 Okay, so Python 2.7 is being used for the server and for your command 
 line, which is good. Means things are in sync there. However, it does seem 
 that Apache wants to use the older version.

 I'd really like to see the full install log. I know the original is long 
 gone, but if you can re-execute the upgrade, and show me the output, it 
 might tell me something new.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com


 On Tue, Feb 25, 2014 at 12:52 PM, Allen zhangs...@gmail.com javascript:
  wrote:

 Yeah, I restarted the apache2 server after the install is completed. So 
 you mean I should not restart the server?

 On Tuesday, February 25, 2014 3:46:43 PM UTC-5, Christian Hammond wrote:

 On Tuesday, February 25, 2014, timc timcu...@gmail.com wrote:

 Hi Allen,

 On Tuesday, 25 February 2014 17:11:53 UTC, Allen wrote:

 Hi,

 Seems RB 2.0 has a lot of cool features and I want to give it a try. 
 But after I upgraded it, the review board toke a very long time to load 
 and 
 finally a 500 error showed up. Any idea what`s going on? I also checked 
 my apache2 log file, it`s nothing there. 


 If you're feeling keen, dive into the the installation 
 (/var/www/$YOUR_SITE/conf/settings_local.py) and set DEBUG = True. 
 Then you should get a more useful debug page instead of the 500. You might 
 have to pound on it a bit: My installation alternated between 500 and 
 debug 
 output :/


 It'll alternate if you don't restart Apache, since it'll depend on the 
 thread you hit.

 Actually, Allen, did you restart Apache?

 Christian


 -- 
 -- 
 Christian Hammond - chi...@chipx86.com

 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.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...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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/groups/opt_out.


Re: Error 500 after upgrade to 2.0

2014-02-25 Thread Allen
Glad to hear that, thanks!

On Tuesday, February 25, 2014 4:19:22 PM UTC-5, Stephen Gallagher wrote:

 On 02/25/2014 04:15 PM, Allen wrote: 
  I made a mistake... I never ran the rb-site upgrade... Problem solved, 
  and I think it`s better to mention that use rb-site upgrade after the 
  install is done. Anyway, thank you so much!!! 
  


 FWIW, I'm currently working on a patch for systemd enabled systems that 
 will have ReviewBoard automatically upgrade its sites at httpd startup. 
 This should avoid this problem in the future. 



-- 
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/groups/opt_out.


Re: e-mails not going from reviewboard

2014-02-25 Thread Allen
How do you fixed this issue? I am encountering the same issue now. Thanks!

On Wednesday, November 28, 2012 4:13:32 AM UTC-5, shaheer va wrote:

 I got it fixed by modifying smtplib.py

 On Tuesday, 27 November 2012 16:45:29 UTC+5:30, shaheer va wrote:


 here is the log file content

 2012-11-27 01:31:48,400 - ERROR - Error sending e-mail notification with 
 subject 'Review Request: cdfds' on behalf of 'sha...@accel.comjavascript:' 
 to 'sha...@accel.com javascript:,test user 
 sha...@ushus.comjavascript:': 
 No suitable authentication method found.
 Traceback (most recent call last):
   File 
 /opt/reviewboard-1.6.13/apps/reviewboard/lib/ReviewBoard-1.6.13-py2.7.egg/reviewboard/notifications/email.py,
  
 line 231, in send_review_mail
 message.send()
   File 
 /opt/reviewboard-1.6.13/apps/django/lib/python2.7/site-packages/django/core/mail/message.py,
  
 line 251, in send
 return self.get_connection(fail_silently).send_messages([self])
   File 
 /opt/reviewboard-1.6.13/apps/django/lib/python2.7/site-packages/django/core/mail/backends/smtp.py,
  
 line 79, in send_messages
 new_conn_created = self.open()
   File 
 /opt/reviewboard-1.6.13/apps/django/lib/python2.7/site-packages/django/core/mail/backends/smtp.py,
  
 line 48, in open
 self.connection.login(self.username, self.password)
   File /opt/reviewboard-1.6.13/python/lib/python2.7/smtplib.py, line 
 609, in login
 raise SMTPException(No suitable authentication method found.)
 SMTPException: No suitable authentication method found.

 On Tuesday, 27 November 2012 15:26:39 UTC+5:30, shaheer va wrote:

 Hi,

 I am using reviewboard 1.6.13 installed in Ubuntu. I've given smtp 
 server details and credentials in email settings. But when creating new 
 review requests, emails are not sending. Getting an exception 
 'SMTPException: No suitable authentication method found.'

 Please find the attached log.

 Any help appreciated.

 Thanks,
 Shaheer



-- 
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/groups/opt_out.


Re: Pre-Commit Workflow

2014-02-19 Thread Allen
Really good question! 
I also encounter the same problem. Developers dont want to wait until the 
previous review passed to work on the next issue. 
One solution I think is, once a review passed, apply that review`s patch 
file to a new working copy without touching what you are currently working 
on, then commit it. After the commit is done, you can keep going.
But the pinpoint is, when you create a code review, the paths in the patch 
file is NOT your local path but some paths in the SVN server(I am using 
SVN). That prevents me to apply patches(wrong patch error). 
I have no idea why the review board changes the paths from local to remote 
server, at least it should keep the local working copy`s path.

Here`s a example of what those paths look like:

--- /trunk/ReviewBoardTest/src/ReviewBoardTest.java (revision 166)
+++ /trunk/ReviewBoardTest/src/ReviewBoardTest.java (working copy) you 
see here? The working copy is locally, but the review board still changes its 
path to remote server.

-- 
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/groups/opt_out.


Paths in the Patch file

2014-02-19 Thread Allen
After a code review is created, there`s a button for user to download the 
patch file.
The problem I have here is, I tried to apply that patch file to my local 
working copy, but the paths are wrong!
Seems the rbtool changes all the files` path when creating a code review. 

Here`s a example of what those paths look like:

--- /trunk/ReviewBoardTest/src/ReviewBoardTest.java (revision 166)
+++ /trunk/ReviewBoardTest/src/ReviewBoardTest.java (working copy) you 
see here? The working copy is locally, but the review board changes its path to 
remote server.


I think it will be great if I can just simply download the patch file and apply 
it without modifying the paths. Any idea about why the paths are changed? 
Thansk!

-- 
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/groups/opt_out.


Re: Paths in the Patch file

2014-02-19 Thread Allen
Yes, that`s the relative path to the Repository in the SVN server. The 
thing is when I run svn dff, I get these paths:
Index: src/ReviewBoardTest.java
===
--- src/ReviewBoardTest.java(revision 167)
+++ src/ReviewBoardTest.java(working copy)
The paths above are my local ones, and I can use these paths do a apply 
patch,
While when I run rbt diff, I got those paths that I mentioned in the 
first place, and I can not use those paths to do a apply patch.

On Wednesday, February 19, 2014 11:40:27 AM UTC-5, Andrew Hills wrote:

  Is it just me, or do those paths look identical? Those are paths relative 
 to the repository root, and doesn’t seem to have anything to do with remote 
 servers. 

  On Feb 19, 2014, at 10:40 AM, Allen zhangs...@gmail.com javascript: 
 wrote:

  After a code review is created, there`s a button for user to download 
 the patch file.
 The problem I have here is, I tried to apply that patch file to my local 
 working copy, but the paths are wrong!
 Seems the rbtool changes all the files` path when creating a code 
 review. 

  Here`s a example of what those paths look like:
  
 --- /trunk/ReviewBoardTest/src/ReviewBoardTest.java   (revision 166)
 +++ /trunk/ReviewBoardTest/src/ReviewBoardTest.java   (working copy) you 
 see here? The working copy is locally, but the review board changes its path 
 to remote server.


 I think it will be great if I can just simply download the patch file and 
 apply it without modifying the paths. Any idea about why the paths are 
 changed? Thansk!

  
  -- 
 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...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
 

-- 
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/groups/opt_out.


Re: Paths in the Patch file

2014-02-19 Thread Allen
When I run svn dff, I get these paths:
--- src/ReviewBoardTest.java(revision 167)
+++ src/ReviewBoardTest.java(working copy)
The paths above are my local ones, and I can use these paths do a apply 
patch.

While when I run rbt diff or rbt post, I got those paths, and I can not 
use those paths to do a apply patch.

--- /trunk/ReviewBoardTest/src/ReviewBoardTest.java (revision 167)
+++ /trunk/ReviewBoardTest/src/ReviewBoardTest.java (working copy)

-- 
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/groups/opt_out.


Re: Paths in the Patch file

2014-02-19 Thread Allen
Cool, thanks. Another way is to generate a patch file using the SVN and 
then create a code review with that patch file, then the paths wont mess up.

On Wednesday, February 19, 2014 4:32:26 PM UTC-5, David Trowbridge wrote:

 That's what patch's -p option is for.

 If your local path is src/ReviewBoardTest.java, and the diff has 
 /trunk/ReviewBoardTest/src/ReviewBoardTest.java, you can apply the patch 
 using:

 patch -p3  ReviewBoardTest.java

 -David


 On Wed, Feb 19, 2014 at 1:26 PM, Allen zhangs...@gmail.com 
 javascript:wrote:

 Yes, that`s the relative path to the Repository in the SVN server. The 
 thing is when I run svn dff, I get these paths:
 Index: src/ReviewBoardTest.java
 ===
 --- src/ReviewBoardTest.java(revision 167)
 +++ src/ReviewBoardTest.java(working copy)
 The paths above are my local ones, and I can use these paths do a apply 
 patch,
 While when I run rbt diff, I got those paths that I mentioned in the 
 first place, and I can not use those paths to do a apply patch.

 On Wednesday, February 19, 2014 11:40:27 AM UTC-5, Andrew Hills wrote:

  Is it just me, or do those paths look identical? Those are paths 
 relative to the repository root, and doesn’t seem to have anything to do 
 with remote servers. 

  On Feb 19, 2014, at 10:40 AM, Allen zhangs...@gmail.com wrote:

  After a code review is created, there`s a button for user to download 
 the patch file.
 The problem I have here is, I tried to apply that patch file to my local 
 working copy, but the paths are wrong!
 Seems the rbtool changes all the files` path when creating a code 
 review. 

  Here`s a example of what those paths look like:
  
 --- /trunk/ReviewBoardTest/src/ReviewBoardTest.java (revision 166)
 +++ /trunk/ReviewBoardTest/src/ReviewBoardTest.java (working copy) you 
 see here? The working copy is locally, but the review board changes its 
 path to remote server.


 I think it will be great if I can just simply download the patch file and 
 apply it without modifying the paths. Any idea about why the paths are 
 changed? Thansk!

  
  -- 
 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...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.
  
   -- 
 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...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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/groups/opt_out.