Re: Page rendering and default route

2019-06-27 Thread Steve
Hi Christian,

Hm, the paths seem to have old references as well as new. site_media_root 
is definitely a throw back from the original install. Originally 
reviewboard was running on Gentoo and I created a working clone under 
Ubuntu with a reviewboard default directory structure. All seemed to work 
fine until the upgrade from 1.6.. to 3.0.. At that point the directory 
structure changed so I assume these paths are not part of the upgrade 
process.

"logging_directory": "/var/log/reviewboard"
"site_media_root": "/var/www/localhost/htdocs/reviewboard/htdocs/media",
"site_static_root": "/var/www/reviewboard/htdocs/static",
"site_static_url": "/reviewboard/static/",
"site_media_url": "/reviewboard/media/",

Where can I modify these.



DEBUG = False


Steve.




On Thursday, 27 June 2019 01:04:29 UTC+1, Christian Hammond wrote:
>
> Hi,
>
> Can you show me one of the URLs it’s trying to load (say, a CSS file)?
>
> Also, two things to check:
>
> 1) Make sure you have the following in your $sitedir/conf/settings_local.py
>
> DEBUG = False
>
> 2) Run this and look at the paths that are set. Make sure they are what 
> you expect:
>
> rb-site manage $sitedir list-siteconfig
>
> Christian
>
>
> On Wed, Jun 26, 2019 at 09:06 Steve > 
> wrote:
>
>> Yes all present and correct.
>>
>>
>>
>>
>> On Wednesday, 26 June 2019 16:39:44 UTC+1, Paul Mansfield wrote:
>>>
>>> check you have the following mappings in your apache config for 
>>> reviewboard
>>>
>>> # Alias static media requests to filesystem
>>> Alias /media "/var/www/reviewboard/htdocs/media"
>>> Alias /static "/var/www/reviewboard/htdocs/static"
>>> Alias /errordocs "/var/www/reviewboard/htdocs/errordocs"
>>> Alias /favicon.ico 
>>> "/var/www/reviewboard/htdocs/static/rb/images/favicon.png"
>>>
>>>
>>>
>>> -- 
>> 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 
>> "Review Board Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to revie...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/reviewboard/3519b207-35bb-46b1-bd41-442c4e5d29a4%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> -- 
> Christian Hammond
> President/CEO of Beanbag
> Makers of Review Board
>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/41adf1f6-934a-44ac-902d-da9d0bad3d5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Page rendering and default route

2019-06-27 Thread Steve

Also console log.

(index):28 GET 
http://10.132.40.199/reviewboard/static/rb/css/common.min.4a69e5741dc4.css 
net::ERR_ABORTED 404 (NOT FOUND)
(index):52 GET 
http://10.132.40.199/reviewboard/static/lib/js/jquery-migrate-1.2.1.min.eb05d8d73b5b.js
 
net::ERR_ABORTED 404 (NOT FOUND)
(index):256 GET 
http://10.132.40.199/reviewboard/static/lib/js/jquery-ui-1.8.24.custom.min.f6148fb67d77.js
 
net::ERR_ABORTED 404 (NOT FOUND)
(index):258 GET 
http://10.132.40.199/reviewboard/static/lib/js/3rdparty.min.1719e20827dd.js 
net::ERR_ABORTED 404 (NOT FOUND)
(index):259 GET 
http://10.132.40.199/reviewboard/static/djblets/js/jquery.gravy.min.e24d040808fd.js
 
net::ERR_ABORTED 404 (NOT FOUND)
(index):260 GET 
http://10.132.40.199/reviewboard/static/djblets/js/utils.min.84b7b8c324db.js 
net::ERR_ABORTED 404 (NOT FOUND)
(index):261 GET 
http://10.132.40.199/reviewboard/static/djblets/js/extensions.min.1d8986b3c3cd.js
 
net::ERR_ABORTED 404 (NOT FOUND)
(index):100 GET 
http://10.132.40.199/reviewboard/static/rb/images/logo.cc81d3ae01b2.png 404 
(NOT FOUND)
(index):51 GET 
http://10.132.40.199/reviewboard/static/lib/js/jquery-1.11.1.min.8101d596b2b8.js
 
net::ERR_ABORTED 404 (NOT FOUND)
(index):52 GET 
http://10.132.40.199/reviewboard/static/lib/js/jquery-migrate-1.2.1.min.eb05d8d73b5b.js
 
net::ERR_ABORTED 404 (NOT FOUND)
(index):262 GET 
http://10.132.40.199/reviewboard/static/rb/js/base.min.af574b99af97.js 
net::ERR_ABORTED 404 (NOT FOUND)
(index):256 GET 
http://10.132.40.199/reviewboard/static/lib/js/jquery-ui-1.8.24.custom.min.f6148fb67d77.js
 
net::ERR_ABORTED 404 (NOT FOUND)
(index):258 GET 
http://10.132.40.199/reviewboard/static/lib/js/3rdparty.min.1719e20827dd.js 
net::ERR_ABORTED 404 (NOT FOUND)
(index):259 GET 
http://10.132.40.199/reviewboard/static/djblets/js/jquery.gravy.min.e24d040808fd.js
 
404 (NOT FOUND)
(index):260 GET 
http://10.132.40.199/reviewboard/static/djblets/js/utils.min.84b7b8c324db.js 
net::ERR_ABORTED 404 (NOT FOUND)
(index):261 GET 
http://10.132.40.199/reviewboard/static/djblets/js/extensions.min.1d8986b3c3cd.js
 
net::ERR_ABORTED 404 (NOT FOUND)
(index):262 GET 
http://10.132.40.199/reviewboard/static/rb/js/base.min.af574b99af97.js 
net::ERR_ABORTED 404 (NOT FOUND)
(index):264 Uncaught ReferenceError: RB is not defined
at (index):264
(anonymous) @ (index):264






On Thursday, 27 June 2019 10:19:58 UTC+1, Steve wrote:
>
> Hi Christian,
>
> Hm, the paths seem to have old references as well as new. site_media_root 
> is definitely a throw back from the original install. Originally 
> reviewboard was running on Gentoo and I created a working clone under 
> Ubuntu with a reviewboard default directory structure. All seemed to work 
> fine until the upgrade from 1.6.. to 3.0.. At that point the directory 
> structure changed so I assume these paths are not part of the upgrade 
> process.
>
> "logging_directory": "/var/log/reviewboard"
> "site_media_root": "/var/www/localhost/htdocs/reviewboard/htdocs/media",
> "site_static_root": "/var/www/reviewboard/htdocs/static",
> "site_static_url": "/reviewboard/static/",
> "site_media_url": "/reviewboard/media/",
>
> Where can I modify these.
>
> 
>
> DEBUG = False
>
>
> Steve.
>
>
>
>
> On Thursday, 27 June 2019 01:04:29 UTC+1, Christian Hammond wrote:
>>
>> Hi,
>>
>> Can you show me one of the URLs it’s trying to load (say, a CSS file)?
>>
>> Also, two things to check:
>>
>> 1) Make sure you have the following in your 
>> $sitedir/conf/settings_local.py
>>
>> DEBUG = False
>>
>> 2) Run this and look at the paths that are set. Make sure they are what 
>> you expect:
>>
>> rb-site manage $sitedir list-siteconfig
>>
>> Christian
>>
>>
>> On Wed, Jun 26, 2019 at 09:06 Steve  wrote:
>>
>>> Yes all present and correct.
>>>
>>>
>>>
>>>
>>> On Wednesday, 26 June 2019 16:39:44 UTC+1, Paul Mansfield wrote:

 check you have the following mappings in your apache config for 
 reviewboard

 # Alias static media requests to filesystem
 Alias /media "/var/www/reviewboard/htdocs/media"
 Alias /static "/var/www/reviewboard/htdocs/static"
 Alias /errordocs "/var/www/reviewboard/htdocs/errordocs"
 Alias /favicon.ico 
 "/var/www/reviewboard/htdocs/static/rb/images/favicon.png"



 -- 
>>> 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 "Review Board Community" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to revie...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/reviewboard/3519b207-35bb-46b1-bd41-442c4e5d29a4%40googlegroups.com
>>>  
>>> 

Re: Page rendering and default route

2019-06-27 Thread Christian Hammond
You can use the set-siteconfig management command, like so:

rb-site manage $sitedir set-siteconfig -- --key=site_media_root
--value=...

Note the -- before the first flag. This is currently necessary for ensuring
the arguments are passed to set-siteconfig and not rb-site.

Christian


On Thu, Jun 27, 2019 at 03:04 Steve  wrote:

>
> Also console log.
>
> (index):28 GET
> http://10.132.40.199/reviewboard/static/rb/css/common.min.4a69e5741dc4.css
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):52 GET
> http://10.132.40.199/reviewboard/static/lib/js/jquery-migrate-1.2.1.min.eb05d8d73b5b.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):256 GET
> http://10.132.40.199/reviewboard/static/lib/js/jquery-ui-1.8.24.custom.min.f6148fb67d77.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):258 GET
> http://10.132.40.199/reviewboard/static/lib/js/3rdparty.min.1719e20827dd.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):259 GET
> http://10.132.40.199/reviewboard/static/djblets/js/jquery.gravy.min.e24d040808fd.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):260 GET
> http://10.132.40.199/reviewboard/static/djblets/js/utils.min.84b7b8c324db.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):261 GET
> http://10.132.40.199/reviewboard/static/djblets/js/extensions.min.1d8986b3c3cd.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):100 GET
> http://10.132.40.199/reviewboard/static/rb/images/logo.cc81d3ae01b2.png
> 404 (NOT FOUND)
> (index):51 GET
> http://10.132.40.199/reviewboard/static/lib/js/jquery-1.11.1.min.8101d596b2b8.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):52 GET
> http://10.132.40.199/reviewboard/static/lib/js/jquery-migrate-1.2.1.min.eb05d8d73b5b.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):262 GET
> http://10.132.40.199/reviewboard/static/rb/js/base.min.af574b99af97.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):256 GET
> http://10.132.40.199/reviewboard/static/lib/js/jquery-ui-1.8.24.custom.min.f6148fb67d77.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):258 GET
> http://10.132.40.199/reviewboard/static/lib/js/3rdparty.min.1719e20827dd.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):259 GET
> http://10.132.40.199/reviewboard/static/djblets/js/jquery.gravy.min.e24d040808fd.js
> 404 (NOT FOUND)
> (index):260 GET
> http://10.132.40.199/reviewboard/static/djblets/js/utils.min.84b7b8c324db.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):261 GET
> http://10.132.40.199/reviewboard/static/djblets/js/extensions.min.1d8986b3c3cd.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):262 GET
> http://10.132.40.199/reviewboard/static/rb/js/base.min.af574b99af97.js
> net::ERR_ABORTED 404 (NOT FOUND)
> (index):264 Uncaught ReferenceError: RB is not defined
> at (index):264
> (anonymous) @ (index):264
>
>
>
>
>
>
> On Thursday, 27 June 2019 10:19:58 UTC+1, Steve wrote:
>>
>> Hi Christian,
>>
>> Hm, the paths seem to have old references as well as new. site_media_root
>> is definitely a throw back from the original install. Originally
>> reviewboard was running on Gentoo and I created a working clone under
>> Ubuntu with a reviewboard default directory structure. All seemed to work
>> fine until the upgrade from 1.6.. to 3.0.. At that point the directory
>> structure changed so I assume these paths are not part of the upgrade
>> process.
>>
>> "logging_directory": "/var/log/reviewboard"
>> "site_media_root": "/var/www/localhost/htdocs/reviewboard/htdocs/media",
>> "site_static_root": "/var/www/reviewboard/htdocs/static",
>> "site_static_url": "/reviewboard/static/",
>> "site_media_url": "/reviewboard/media/",
>>
>> Where can I modify these.
>>
>> 
>>
>> DEBUG = False
>>
>>
>> Steve.
>>
>>
>>
>>
>> On Thursday, 27 June 2019 01:04:29 UTC+1, Christian Hammond wrote:
>>>
>>> Hi,
>>>
>>> Can you show me one of the URLs it’s trying to load (say, a CSS file)?
>>>
>>> Also, two things to check:
>>>
>>> 1) Make sure you have the following in your
>>> $sitedir/conf/settings_local.py
>>>
>>> DEBUG = False
>>>
>>> 2) Run this and look at the paths that are set. Make sure they are what
>>> you expect:
>>>
>>> rb-site manage $sitedir list-siteconfig
>>>
>>> Christian
>>>
>>>
>>> On Wed, Jun 26, 2019 at 09:06 Steve  wrote:
>>>
 Yes all present and correct.




 On Wednesday, 26 June 2019 16:39:44 UTC+1, Paul Mansfield wrote:
>
> check you have the following mappings in your apache config for
> reviewboard
>
> # Alias static media requests to filesystem
> Alias /media "/var/www/reviewboard/htdocs/media"
> Alias /static "/var/www/reviewboard/htdocs/static"
> Alias /errordocs "/var/www/reviewboard/htdocs/errordocs"
> Alias /favicon.ico
> "/var/www/reviewboard/htdocs/static/rb/images/favicon.png"
>
>
>
> --
 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.revi

Re: Page rendering and default route

2019-06-27 Thread Steve
re-set site_media_root and tried again but still the same issue.

re-set site_static_url and then tried site_madia_url but keep getting this 
back



  File 
"/usr/local/lib/python2.7/dist-packages/Djblets-1.0.12-py2.7.egg/djblets/siteconfig/django_settings.py",
 
line 326, in apply_django_settings
setter(settings, setting_key, value)
  File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", 
line 242, in __setattr__
setattr(self._wrapped, name, value)
  File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", 
line 110, in __setattr__
raise ImproperlyConfigured("If set, %s must end with a slash" % name)
django.core.exceptions.ImproperlyConfigured: If set, MEDIA_URL must end 
with a slash


svnadmin@NEO-SVN-SVR:/var/www/reviewboard$ sudo rb-site manage 
/var/www/reviewboard set-siteconfig -- --key=site_media_url 
--value=/var/www/reviewboard/htdocs/media/




can't seem to get a list-siteconfig without the same error.


Steve.







On Thursday, 27 June 2019 12:17:49 UTC+1, Christian Hammond wrote:
>
> You can use the set-siteconfig management command, like so:
>
> rb-site manage $sitedir set-siteconfig -- --key=site_media_root 
> --value=...
>
> Note the -- before the first flag. This is currently necessary for 
> ensuring the arguments are passed to set-siteconfig and not rb-site.
>
> Christian
>
>
>

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/b0436597-3995-4349-ad4a-15b8d28615dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Create review request from none-file attachment only), while needs bugs item is the customized bug hyperlink...

2019-06-27 Thread wu tao
Create review request from none-file attachment only), while needs bugs 
item is the customized bug hyperlink...

Is it possbile?

Tao

-- 
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 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/75fafe44-a848-4f34-bc4b-34987a4377c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.