Re: Trying to install ReviewBoard 1.5.5

2016-11-21 Thread Christian Hammond
Hi Rick,

Due to difficulties with dependency compatibility, it's very unlikely
you'll have a fun time getting Review Board 1.5.5 to install again.

You don't need the older version of Review Board in order to perform the
upgrade, though. You just need the newer version you want to use. What you
should be able to do is:

1) Back up your database and site directory.
2) Install the latest version of Review Board.
3) Run `rb-site upgrade` on the site directory.

Assuming you don't run into any issues with older database schemas, that
will perform the upgrade and get things back up and running. You will have
some instructions from `rb-site upgrade` that you'll need to follow for
Apache and directory permissions, so make sure you follow those closely.

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Mon, Nov 21, 2016 at 4:44 PM, Rick Kasten  wrote:

> I'm trying to install ReviewBoard 1.5.5 on CentOS 7 in order to upgrade to
> the latest version. Our current server is running gentoo, and we can't
> manage it.
>
> So I run 'rb-site install', and this is what I end up with:
>
> * Installing the site...
> Building site directories ...
> [!] Unable to find the Djblets media path. Make sure Djblets is
> installed and try this again.
> OK
> Building site configuration files ... OK
> Creating database ...
> [!] Unable to execute the manager command syncdb: cannot import name
> execute_manager
>
> [!] Unable to execute the manager command registerscmtools: cannot
> import name execute_manager
> OK
> Performing migrations ...
> [!] Unable to execute the manager command evolve: cannot import name
> execute_manager
> OK
> Creating administrator account ... Traceback (most recent call last):
>   File "/bin/rb-site", line 9, in 
> load_entry_point('ReviewBoard==1.5.5', 'console_scripts', 'rb-site')()
>   File "/usr/lib/python2.7/site-packages/ReviewBoard-1.5.5-
> py2.7.egg/reviewboard/cmdline/rbsite.py", line 1611, in main
> command.run()
>   File "/usr/lib/python2.7/site-packages/ReviewBoard-1.5.5-
> py2.7.egg/reviewboard/cmdline/rbsite.py", line 1177, in run
> self.show_install_status()
>   File "/usr/lib/python2.7/site-packages/ReviewBoard-1.5.5-
> py2.7.egg/reviewboard/cmdline/rbsite.py", line 1440, in
> show_install_status
> site.create_admin_user)
>   File "/usr/lib/python2.7/site-packages/ReviewBoard-1.5.5-
> py2.7.egg/reviewboard/cmdline/rbsite.py", line 703, in step
> func()
>   File "/usr/lib/python2.7/site-packages/ReviewBoard-1.5.5-
> py2.7.egg/reviewboard/cmdline/rbsite.py", line 355, in create_admin_user
> from django.contrib.auth.models import User
>   File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py",
> line 6, in 
> from django.middleware.csrf import rotate_token
>   File "/usr/lib/python2.7/site-packages/django/middleware/csrf.py", line
> 14, in 
> from django.utils.cache import patch_vary_headers
>   File "/usr/lib/python2.7/site-packages/django/utils/cache.py", line 26,
> in 
> from django.core.cache import get_cache
>   File "/usr/lib/python2.7/site-packages/django/core/cache/__init__.py",
> line 69, in 
> if DEFAULT_CACHE_ALIAS not in settings.CACHES:
>   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line
> 54, in __getattr__
> self._setup(name)
>   File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line
> 47, in _setup
> % (desc, ENVIRONMENT_VARIABLE))
> django.core.exceptions.ImproperlyConfigured: Requested setting CACHES,
> but settings are not configured. You must either define the environment
> variable DJANGO_SETTINGS_MODULE or call settings.configure() before
> accessing settings.
>
> # pip freeze
> backports.ssl-match-hostname==3.4.0.2
> chardet==2.2.1
> configobj==4.7.2
> decorator==3.4.0
> Django==1.1.4
> django-evolution==0.7.6
> django-haystack==2.3.1
> django-multiselectfield==0.1.3
> django-pipeline==1.3.24
> Djblets==0.9.4
> dnspython==1.15.0
> docutils==0.11
> ecdsa==0.13
> feedparser==5.1.3
> flup==1.0.2
> futures==3.0.3
> iniparse==0.4
> Markdown==2.4.1
> mercurial==2.6.2
> MySQL-python==1.2.3
> nose==1.3.0
> paramiko==1.16.1
> perf==0.1
> PIL==1.1.6
> Pillow==2.0.0
> psycopg2==2.5.1
> publicsuffix==1.1.0
> pycrypto==2.6.1
> pycurl==7.19.0
> Pygments==1.4
> pygobject==3.14.0
> pygpgme==0.3
> pyliblzma==0.5.3
> python-dateutil==1.5
> python-memcached==1.48
> python-mimeparse==0.1.4
> pytz===2012d
> pyudev==0.15
> pyxattr==0.5.1
> recaptcha-client==1.0.6
> ReviewBoard==1.5.5
> six==1.9.0
> slip==0.4.0
> slip.dbus==0.4.0
> urlgrabber==3.10
> Whoosh==2.7.4
> yum-metadata-parser==1.1.4
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this 

Trying to install ReviewBoard 1.5.5

2016-11-21 Thread Rick Kasten
I'm trying to install ReviewBoard 1.5.5 on CentOS 7 in order to upgrade to 
the latest version. Our current server is running gentoo, and we can't 
manage it.

So I run 'rb-site install', and this is what I end up with:

* Installing the site...
Building site directories ...
[!] Unable to find the Djblets media path. Make sure Djblets is
installed and try this again.
OK
Building site configuration files ... OK
Creating database ...
[!] Unable to execute the manager command syncdb: cannot import name
execute_manager

[!] Unable to execute the manager command registerscmtools: cannot
import name execute_manager
OK
Performing migrations ...
[!] Unable to execute the manager command evolve: cannot import name
execute_manager
OK
Creating administrator account ... Traceback (most recent call last):
  File "/bin/rb-site", line 9, in 
load_entry_point('ReviewBoard==1.5.5', 'console_scripts', 'rb-site')()
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-1.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 1611, in main
command.run()
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-1.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 1177, in run
self.show_install_status()
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-1.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 1440, in show_install_status
site.create_admin_user)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-1.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 703, in step
func()
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-1.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 355, in create_admin_user
from django.contrib.auth.models import User
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", 
line 6, in 
from django.middleware.csrf import rotate_token
  File "/usr/lib/python2.7/site-packages/django/middleware/csrf.py", line 
14, in 
from django.utils.cache import patch_vary_headers
  File "/usr/lib/python2.7/site-packages/django/utils/cache.py", line 26, 
in 
from django.core.cache import get_cache
  File "/usr/lib/python2.7/site-packages/django/core/cache/__init__.py", 
line 69, in 
if DEFAULT_CACHE_ALIAS not in settings.CACHES:
  File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 54, 
in __getattr__
self._setup(name)
  File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 47, 
in _setup
% (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but 
settings are not configured. You must either define the environment 
variable DJANGO_SETTINGS_MODULE or call settings.configure() before 
accessing settings.

# pip freeze
backports.ssl-match-hostname==3.4.0.2
chardet==2.2.1
configobj==4.7.2
decorator==3.4.0
Django==1.1.4
django-evolution==0.7.6
django-haystack==2.3.1
django-multiselectfield==0.1.3
django-pipeline==1.3.24
Djblets==0.9.4
dnspython==1.15.0
docutils==0.11
ecdsa==0.13
feedparser==5.1.3
flup==1.0.2
futures==3.0.3
iniparse==0.4
Markdown==2.4.1
mercurial==2.6.2
MySQL-python==1.2.3
nose==1.3.0
paramiko==1.16.1
perf==0.1
PIL==1.1.6
Pillow==2.0.0
psycopg2==2.5.1
publicsuffix==1.1.0
pycrypto==2.6.1
pycurl==7.19.0
Pygments==1.4
pygobject==3.14.0
pygpgme==0.3
pyliblzma==0.5.3
python-dateutil==1.5
python-memcached==1.48
python-mimeparse==0.1.4
pytz===2012d
pyudev==0.15
pyxattr==0.5.1
recaptcha-client==1.0.6
ReviewBoard==1.5.5
six==1.9.0
slip==0.4.0
slip.dbus==0.4.0
urlgrabber==3.10
Whoosh==2.7.4
yum-metadata-parser==1.1.4

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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: Unexpected error when validating the diff: Invalid utf8 character string: 'BDE1F7' (HTTP 400, API Error 224)

2016-11-21 Thread Christian Hammond
Hi Doug,

I'd start out by upgrading RBTools and see if that fixes it. We're working
right now on getting a new RBTools 0.7.7 release out, so you could also
hold off for that. If that doesn't fix it, we'll need to get some more info
from you.

Christian

On Mon, Nov 21, 2016 at 15:49 Douglas Blondin  wrote:

> Try to do a "rbt post".  Get the above error when I'm providing a diff
> from "svn diff".  Similar error (different character string) if let rbt
> post generate the diff.
>
> I'm running RBTools 0.7.5 with python 2.7.11+
> This is on Linux Mint
> uname -a
> Linux dblondin-ThinkPad-W530 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18
> 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>
>
> My reviewboard is 2.5.6.1
> uname -a
> Linux ReviewBoard 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC
> 2016 x86_64 x86_64 x86_64 GNU/Linux
>
> The diff (pre-produced) is as follows
>
> #cat diff.out
> Index: Build-Info.bash
> ===
> --- Build-Info.bash(revision 19247)
> +++ Build-Info.bash(working copy)
> @@ -4,6 +4,8 @@
>  # Get information about this particular build
>  # Includes maximum SVN revision & date, current date
>
> +# Another change to test review board
> +
>  do_find_max_svn_revision()
>  {
>  # set some defaults in case in chroot & thus no subversion
> Index: publish/publish_corpshare.bash
> ===
> --- publish/publish_corpshare.bash(revision 19247)
> +++ publish/publish_corpshare.bash(working copy)
> @@ -7,6 +7,8 @@
>  # Has a number of options to allow for override & testing
>  # Expected use by Jenkins: publish=yes type=official
>  # and for release branches at some time add: snapshot=yes
> +#
> +# This is a change to test out the new review board
>  
>
>  DoPublish=0
>
>
>
>
>
> Adding --debug to rbt produces the following
>
> rb1 --debug
> >>> RBTools 0.7.5
> >>> Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
> [GCC 5.3.1 20160413]
> >>> Running on Linux-4.4.0-21-generic-x86_64-with-LinuxMint-18-sarah
> >>> Home = /home/dblondin
> >>> Current directory = /home/dblondin/sandboxes/trunk/BuildTools
> >>> Checking for a Subversion repository...
> >>> Running: svn --non-interactive info
> >>> Running: diff --version
> >>> Running: svn --non-interactive --version -q
> >>> repository info: Path: https://eagle/svn/ngs, Base path: /BuildTools,
> Supports changesets: False
> >>> Making HTTP GET request to http://rb2.corp.pivot3.com/api/
> >>> Making HTTP GET request to
> http://rb2.corp.pivot3.com/api/repositories/
> >>> Cached response for HTTP GET
> http://rb2.corp.pivot3.com/api/repositories/ expired and was modified
> >>> Running: svn --non-interactive info
> >>> Running: diff --version
> >>> Running: svn --non-interactive --version -q
> >>> repository info: Path: https://eagle/svn/ngs, Base path: /BuildTools,
> Supports changesets: False
> >>> Running: svn --non-interactive status -q --ignore-externals
> >>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry
> -r BASE
> >>> Running: svn --non-interactive info Build-Info.bash
> >>> Running: svn --non-interactive info publish/publish_corpshare.bash
> >>> Running: svn --non-interactive info publish
> >>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry
> -r BASE --no-diff-deleted
> >>> Running: svn --non-interactive info Build-Info.bash
> >>> Running: svn --non-interactive info Build-Info.bash
> >>> Running: svn --non-interactive info Build-Info.bash
> >>> Running: svn --non-interactive info publish/publish_corpshare.bash
> >>> Running: svn --non-interactive info publish/publish_corpshare.bash
> >>> Running: svn --non-interactive info publish/publish_corpshare.bash
> >>> Making HTTP GET request to
> http://rb2.corp.pivot3.com/api/validation/diffs/
> >>> Cached response for HTTP GET
> http://rb2.corp.pivot3.com/api/validation/diffs/ expired and was modified
> >>> Making HTTP POST request to
> http://rb2.corp.pivot3.com/api/validation/diffs/
> >>> Got API Error 224 (HTTP code 400): Unexpected error when validating
> the diff: Invalid utf8 character string: 'BDE1F7'
> >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"Unexpected error
> when validating the diff: Invalid utf8 character string: 'BDE1F7'",
> u'code': 224}}
> Traceback (most recent call last):
>   File "/usr/bin/rbt", line 9, in 
> load_entry_point('RBTools==0.7.5', 'console_scripts', 'rbt')()
>   File "/usr/lib/python2.7/dist-packages/rbtools/commands/main.py", line
> 133, in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File "/usr/lib/python2.7/dist-packages/rbtools/commands/__init__.py",
> line 622, in run_from_argv
> exit_code = self.main(*args) or 0
>   File "/usr/lib/python2.7/dist-packages/rbtools/commands/post.py", line
> 757, in main
> (msg_prefix, e))
> 

Unexpected error when validating the diff: Invalid utf8 character string: 'BDE1F7' (HTTP 400, API Error 224)

2016-11-21 Thread Douglas Blondin
Try to do a "rbt post".  Get the above error when I'm providing a diff from 
"svn diff".  Similar error (different character string) if let rbt post 
generate the diff.

I'm running RBTools 0.7.5 with python 2.7.11+  
This is on Linux Mint
uname -a
Linux dblondin-ThinkPad-W530 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 
18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux


My reviewboard is 2.5.6.1
uname -a
Linux ReviewBoard 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 
2016 x86_64 x86_64 x86_64 GNU/Linux

The diff (pre-produced) is as follows

#cat diff.out
Index: Build-Info.bash
===
--- Build-Info.bash(revision 19247)
+++ Build-Info.bash(working copy)
@@ -4,6 +4,8 @@
 # Get information about this particular build
 # Includes maximum SVN revision & date, current date
 
+# Another change to test review board
+
 do_find_max_svn_revision()
 {
 # set some defaults in case in chroot & thus no subversion
Index: publish/publish_corpshare.bash
===
--- publish/publish_corpshare.bash(revision 19247)
+++ publish/publish_corpshare.bash(working copy)
@@ -7,6 +7,8 @@
 # Has a number of options to allow for override & testing
 # Expected use by Jenkins: publish=yes type=official
 # and for release branches at some time add: snapshot=yes
+#
+# This is a change to test out the new review board
 
 
 DoPublish=0





Adding --debug to rbt produces the following

rb1 --debug
>>> RBTools 0.7.5
>>> Python 2.7.11+ (default, Apr 17 2016, 14:00:29) 
[GCC 5.3.1 20160413]
>>> Running on Linux-4.4.0-21-generic-x86_64-with-LinuxMint-18-sarah
>>> Home = /home/dblondin
>>> Current directory = /home/dblondin/sandboxes/trunk/BuildTools
>>> Checking for a Subversion repository...
>>> Running: svn --non-interactive info
>>> Running: diff --version
>>> Running: svn --non-interactive --version -q
>>> repository info: Path: https://eagle/svn/ngs, Base path: /BuildTools, 
Supports changesets: False
>>> Making HTTP GET request to http://rb2.corp.pivot3.com/api/
>>> Making HTTP GET request to http://rb2.corp.pivot3.com/api/repositories/
>>> Cached response for HTTP GET 
http://rb2.corp.pivot3.com/api/repositories/ expired and was modified
>>> Running: svn --non-interactive info
>>> Running: diff --version
>>> Running: svn --non-interactive --version -q
>>> repository info: Path: https://eagle/svn/ngs, Base path: /BuildTools, 
Supports changesets: False
>>> Running: svn --non-interactive status -q --ignore-externals
>>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry 
-r BASE
>>> Running: svn --non-interactive info Build-Info.bash
>>> Running: svn --non-interactive info publish/publish_corpshare.bash
>>> Running: svn --non-interactive info publish
>>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry 
-r BASE --no-diff-deleted
>>> Running: svn --non-interactive info Build-Info.bash
>>> Running: svn --non-interactive info Build-Info.bash
>>> Running: svn --non-interactive info Build-Info.bash
>>> Running: svn --non-interactive info publish/publish_corpshare.bash
>>> Running: svn --non-interactive info publish/publish_corpshare.bash
>>> Running: svn --non-interactive info publish/publish_corpshare.bash
>>> Making HTTP GET request to 
http://rb2.corp.pivot3.com/api/validation/diffs/
>>> Cached response for HTTP GET 
http://rb2.corp.pivot3.com/api/validation/diffs/ expired and was modified
>>> Making HTTP POST request to 
http://rb2.corp.pivot3.com/api/validation/diffs/
>>> Got API Error 224 (HTTP code 400): Unexpected error when validating the 
diff: Invalid utf8 character string: 'BDE1F7'
>>> Error data: {u'stat': u'fail', u'err': {u'msg': u"Unexpected error when 
validating the diff: Invalid utf8 character string: 'BDE1F7'", u'code': 
224}}
Traceback (most recent call last):
  File "/usr/bin/rbt", line 9, in 
load_entry_point('RBTools==0.7.5', 'console_scripts', 'rbt')()
  File "/usr/lib/python2.7/dist-packages/rbtools/commands/main.py", line 
133, in main
command.run_from_argv([RB_MAIN, command_name] + args)
  File "/usr/lib/python2.7/dist-packages/rbtools/commands/__init__.py", 
line 622, in run_from_argv
exit_code = self.main(*args) or 0
  File "/usr/lib/python2.7/dist-packages/rbtools/commands/post.py", line 
757, in main
(msg_prefix, e))
rbtools.commands.CommandError: Error validating diff

Unexpected error when validating the diff: Invalid utf8 character string: 
'BDE1F7' (HTTP 400, API Error 224)

I did put wireshark on the IP and the HTTP packet says "charset=utf-8"

So I'm not sure where non-utf-8 characters are getting introduced.

Thanks in advance,

Doug

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! 

Re: Failed to send notification to slack.com

2016-11-21 Thread Alfred von Campe
Hi David:

Right you are.  I forgot that a while ago one of the developers asked me to 
install this extension, but we never properly configured it. I’ve disabled it 
for now.

Thanks,
Alfred

> On Nov 21, 2016, at 12:19, David Trowbridge  wrote:
> 
> Alfred,
> 
> It looks like the "rbslack" extension was installed and activated. You can 
> fix these errors by going to "Extensions" in the admin UI and disabling it.
> 
> -David
> 
> On Mon, Nov 21, 2016 at 6:44 AM Alfred von Campe  > wrote:
> I was browsing through the reviewboard.log file while debugging an unrelated 
> issue when I came across a bunch of errors that all look like this:
> 
> 2016-11-21 14:07:55,959 - ERROR -  - Failed to send notification to slack.com 
> : unknown url type:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/rbslack/extension.py", line 70, in 
> notify
> json.dumps(payload)))
>   File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python2.7/urllib2.py", line 423, in open
> protocol = req.get_type()
>   File "/usr/lib64/python2.7/urllib2.py", line 285, in get_type
> raise ValueError, "unknown url type: %s" % self.__original
> ValueError: unknown url type:
> 
> I haven’t set up any web hooks to post to Slack, so what is generating these 
> errors in the log file?
> 
> Alfred
> 
> 
> -- 
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/ 
> 
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ 
> Happy user? Let us know! https://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 
> .
> 
> -- 
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/ 
> 
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ 
> Happy user? Let us know! https://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 
> .

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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: Failed to send notification to slack.com

2016-11-21 Thread David Trowbridge
Alfred,

It looks like the "rbslack" extension was installed and activated. You can
fix these errors by going to "Extensions" in the admin UI and disabling it.

-David

On Mon, Nov 21, 2016 at 6:44 AM Alfred von Campe 
wrote:

> I was browsing through the reviewboard.log file while debugging an
> unrelated issue when I came across a bunch of errors that all look like
> this:
>
> 2016-11-21 14:07:55,959 - ERROR -  - Failed to send notification to
> slack.com: unknown url type:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/rbslack/extension.py", line 70,
> in notify
> json.dumps(payload)))
>   File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python2.7/urllib2.py", line 423, in open
> protocol = req.get_type()
>   File "/usr/lib64/python2.7/urllib2.py", line 285, in get_type
> raise ValueError, "unknown url type: %s" % self.__original
> ValueError: unknown url type:
>
>
> I haven’t set up any web hooks to post to Slack, so what is generating
> these errors in the log file?
>
> Alfred
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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: Using SVN Protocol

2016-11-21 Thread David Trowbridge
Pete,

That definitely should be working. Did you set up your installation using
PySVN or subvertpy? We've had issues with the latter.

-David

On Mon, Nov 21, 2016 at 9:17 AM Pete Singleton 
wrote:

> Is it possible to use the SVN:// protocol with RB?  I am receiving an
> error when entering the repository URL ("A repository was not found at the
> specified path")
>
> I have a local installation of ReviewBoard, from that VM I am able to run
> "svn list svn://xxx.xxx.xxx" but it won't let me add the same repository
> from the Admin page.
>
>
> Thanks,
> Pete
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


Using SVN Protocol

2016-11-21 Thread Pete Singleton
Is it possible to use the SVN:// protocol with RB?  I am receiving an error 
when entering the repository URL ("A repository was not found at the 
specified path")

I have a local installation of ReviewBoard, from that VM I am able to run 
"svn list svn://xxx.xxx.xxx" but it won't let me add the same repository 
from the Admin page.


Thanks,
Pete

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


Failed to send notification to slack.com

2016-11-21 Thread Alfred von Campe
I was browsing through the reviewboard.log file while debugging an unrelated 
issue when I came across a bunch of errors that all look like this:

2016-11-21 14:07:55,959 - ERROR -  - Failed to send notification to slack.com: 
unknown url type:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/rbslack/extension.py", line 70, in 
notify
json.dumps(payload)))
  File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 423, in open
protocol = req.get_type()
  File "/usr/lib64/python2.7/urllib2.py", line 285, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type:

I haven’t set up any web hooks to post to Slack, so what is generating these 
errors in the log file?

Alfred

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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: using --diff-filename doesn't allow you to specify a diff rather than generating a diff from rbtools in mercurial

2016-11-21 Thread Christian Hammond
Hi John,

While I'd expect --diff-filename to work, it's important to note that it
won't work with --parent, and there's no way currently to specify a parent
diff.

That said, it could be that this support just isn't working for Mercurial.
Would you mind adding --debug to the command line and pasting the results?

Mercurial support for RBTools needs a bit of work to meet feature parity
with the Git. Would you mind filing a bug report (along with the debug log)
at https://hellosplat.com/s/beanbag/tickets/new/ ? That'll help us track it
better.

Thanks,

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Thu, Nov 17, 2016 at 1:59 PM, John  wrote:

> We are attempting to use rbtools for creating new review requests using
> distributed source control (mercurial). I know in an ideal world we are
> required to commit and then generate the review; However, there are few
> that would like to just create the review request from their current
> repository without first committing the code. I was hoping I could use the
> source control tools (i.e. hg) to generate the diff and then use that for
> posting the review request.  When we try:
>
> /bin/python/repo$ rbt post --server  --target-people 
> --summary "this is a test" --diff-filename ./gendiff_37527 --repository-url
>  --parent  --repository 
>
> ERROR: There don't seem to be any diffs!
>
> I apologize if this question has already been asked. I did search a bit
> and didn't see anything.
>
> Thanks!
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.