Hi all,

I just tried to specify a server for the rbt post command. I installed 
Review Board at my local machine, so the command

rbt post --server http://localhost

does find the server. Also entering the lines

[reviewboard]
    url = http://localhost

in the git config works fine. But when I create the .reviewboardrc with the 
line

REVIEWBOARD_URL = http://localhost

I get the error

Syntax error in config file: /home/mgrimm/adnymics/adnymics/.reviewboardrc
Line 1 offset 23

Offset 23 points to the colon or to the first slash - depending on where 
you start counting. I also tried

REVIEWBOARD_URL = localhost

as content for .reviewboardrc, but that throws the following error:

Traceback (most recent call last):
  File "/usr/local/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.6', 'console_scripts', 'rbt')()
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.6-py2.7.egg/rbtools/commands/main.py",
 
line 134, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.6-py2.7.egg/rbtools/commands/__init__.py",
 
line 398, in run_from_argv
    self.config = load_config()
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.6-py2.7.egg/rbtools/utils/filesystem.py",
 
line 166, in load_config
    config.update(parse_config_file(filename))
  File 
"/usr/local/lib/python2.7/dist-packages/RBTools-0.6-py2.7.egg/rbtools/utils/filesystem.py",
 
line 146, in parse_config_file
    execfile(filename, config)
  File "/home/mgrimm/adnymics/adnymics/.reviewboardrc", line 1, in <module>
    REVIEWBOARD_URL = localhost
NameError: name 'localhost' is not defined

So what is the correct format for the server in the .reviewboardrc? I could 
not find anything about that in the documentation.

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

Reply via email to