Re: Trouble installing Review Board offline

2013-04-19 Thread James Rice
Thanks for your reply.  That worked out great!

On Thursday, April 18, 2013 10:55:51 AM UTC-4, James Rice wrote:
>
> In order to try out the product I need to set it up in a VM with no 
> external network connectivity (Don't ask.)
>
> Using Ubuntu 12.04.  I installed everything required and recommended on 
> this page 
>
> http://www.reviewboard.org/docs/manual/1.7/admin/installation/linux/
>
> Then downloaded the tarball for 1.7.6.  When I tried to install, it was 
> clear I needed Djblets, so I downloaded the 0.7.10 of that, and get the 
> following errors attempting to install.  I then installed the 
> python-django-pipeline but it didn't make any difference.  Can anyone point 
> me in the right direction?  Thanks!
>
> running install
> Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
> /usr/bin/python -E -c pass
> TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support 
> .pth files
> running bdist_egg
> running egg_info
> running build_media
> Traceback (most recent call last):
>   File "./contrib/internal/build-media.py", line 18, in 
> ret = call_command('collectstatic', interactive=False, verbosity=2)
>   File 
> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 
> 153, in call_command
> klass = load_command_class(app_name, name)
>   File 
> "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 
> 68, in load_command_class
> return module.Command()
>   File 
> "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
>  
> line 41, in __init__
> self.storage = get_storage_class(settings.STATICFILES_STORAGE)()
>   File "/usr/lib/python2.7/dist-packages/django/core/files/storage.py", 
> line 265, in get_storage_class
> raise ImproperlyConfigured('Error importing storage module %s: "%s"' % 
> (module, e))
> django.core.exceptions.ImproperlyConfigured: Error importing storage 
> module pipeline.storage: "cannot import name CachedFilesMixin"
> Traceback (most recent call last):
>   File "./setup.py", line 125, in 
> "Topic :: Software Development :: Libraries :: Python Modules",
>   File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
> dist.run_commands()
>   File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
> self.run_command(cmd)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", 
> line 73, in run
> self.do_egg_install()
>   File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", 
> line 93, in do_egg_install
> self.run_command('bdist_egg')
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "/usr/lib/python2.7/dist-packages/setuptools/command/bdist_egg.py", 
> line 172, in run
> self.run_command("egg_info")
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "./setup.py", line 47, in run
> self.run_command('build_media')
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "./setup.py", line 65, in run
> raise RuntimeError('Failed to build media files')
> RuntimeError: Failed to build media files
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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: Trouble installing Review Board offline

2013-04-19 Thread Stephen Gallagher
On 04/18/2013 01:46 PM, Christian Hammond wrote:
> Hi James,
> 
> Generally speaking, you should never install from a tarball. It requires
> a bunch of additional build dependencies you should not deal with.
> They're really for our usage. Instead, you should get the eggs only.
> 
> There's a lot of dependencies. An offline install is a definite hassle.
> I'd recommend installing it in, say, a VM using the same version of
> Python as the destination system, and then you'll have a good reference
> to each thing you'll need to download and install on the machine.
> 
> If you're just looking to try it out, BitNami offers a couple options
> that may help:
> 
> http://bitnami.com/stack/reviewboard
> 

Another option might be to install it on RHEL/CentOS 6, using the RPM
packages I've provided for EPEL (1.7.6 is currently in the epel-testing
repository[1]). You can then just download the complete set of RPMs to
the machine (or sneakernet them to it via USB key) and install them locally.

[1] http://fedoraproject.org/wiki/EPEL

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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: Trouble installing Review Board offline

2013-04-18 Thread Christian Hammond
Hi James,

Generally speaking, you should never install from a tarball. It requires a 
bunch of additional build dependencies you should not deal with. They're really 
for our usage. Instead, you should get the eggs only.

There's a lot of dependencies. An offline install is a definite hassle. I'd 
recommend installing it in, say, a VM using the same version of Python as the 
destination system, and then you'll have a good reference to each thing you'll 
need to download and install on the machine.

If you're just looking to try it out, BitNami offers a couple options that may 
help:

http://bitnami.com/stack/reviewboard

Christian

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

On Apr 18, 2013, at 7:55 AM, James Rice  wrote:

> In order to try out the product I need to set it up in a VM with no external 
> network connectivity (Don't ask.)
> 
> Using Ubuntu 12.04.  I installed everything required and recommended on this 
> page 
> 
> http://www.reviewboard.org/docs/manual/1.7/admin/installation/linux/
> 
> Then downloaded the tarball for 1.7.6.  When I tried to install, it was clear 
> I needed Djblets, so I downloaded the 0.7.10 of that, and get the following 
> errors attempting to install.  I then installed the python-django-pipeline 
> but it didn't make any difference.  Can anyone point me in the right 
> direction?  Thanks!
> 
> running install
> Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
> /usr/bin/python -E -c pass
> TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth 
> files
> running bdist_egg
> running egg_info
> running build_media
> Traceback (most recent call last):
>   File "./contrib/internal/build-media.py", line 18, in 
> ret = call_command('collectstatic', interactive=False, verbosity=2)
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", 
> line 153, in call_command
> klass = load_command_class(app_name, name)
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", 
> line 68, in load_command_class
> return module.Command()
>   File 
> "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
>  line 41, in __init__
> self.storage = get_storage_class(settings.STATICFILES_STORAGE)()
>   File "/usr/lib/python2.7/dist-packages/django/core/files/storage.py", line 
> 265, in get_storage_class
> raise ImproperlyConfigured('Error importing storage module %s: "%s"' % 
> (module, e))
> django.core.exceptions.ImproperlyConfigured: Error importing storage module 
> pipeline.storage: "cannot import name CachedFilesMixin"
> Traceback (most recent call last):
>   File "./setup.py", line 125, in 
> "Topic :: Software Development :: Libraries :: Python Modules",
>   File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
> dist.run_commands()
>   File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
> self.run_command(cmd)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 
> 73, in run
> self.do_egg_install()
>   File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 
> 93, in do_egg_install
> self.run_command('bdist_egg')
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "/usr/lib/python2.7/dist-packages/setuptools/command/bdist_egg.py", 
> line 172, in run
> self.run_command("egg_info")
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "./setup.py", line 47, in run
> self.run_command('build_media')
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> cmd_obj.run()
>   File "./setup.py", line 65, in run
> raise RuntimeError('Failed to build media files')
> RuntimeError: Failed to build media files
> 
> 
> -- 
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en
> --- 
> 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 

Trouble installing Review Board offline

2013-04-18 Thread James Rice
In order to try out the product I need to set it up in a VM with no 
external network connectivity (Don't ask.)

Using Ubuntu 12.04.  I installed everything required and recommended on 
this page 

http://www.reviewboard.org/docs/manual/1.7/admin/installation/linux/

Then downloaded the tarball for 1.7.6.  When I tried to install, it was 
clear I needed Djblets, so I downloaded the 0.7.10 of that, and get the 
following errors attempting to install.  I then installed the 
python-django-pipeline but it didn't make any difference.  Can anyone point 
me in the right direction?  Thanks!

running install
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support 
.pth files
running bdist_egg
running egg_info
running build_media
Traceback (most recent call last):
  File "./contrib/internal/build-media.py", line 18, in 
ret = call_command('collectstatic', interactive=False, verbosity=2)
  File 
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 
153, in call_command
klass = load_command_class(app_name, name)
  File 
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 
68, in load_command_class
return module.Command()
  File 
"/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
 
line 41, in __init__
self.storage = get_storage_class(settings.STATICFILES_STORAGE)()
  File "/usr/lib/python2.7/dist-packages/django/core/files/storage.py", 
line 265, in get_storage_class
raise ImproperlyConfigured('Error importing storage module %s: "%s"' % 
(module, e))
django.core.exceptions.ImproperlyConfigured: Error importing storage module 
pipeline.storage: "cannot import name CachedFilesMixin"
Traceback (most recent call last):
  File "./setup.py", line 125, in 
"Topic :: Software Development :: Libraries :: Python Modules",
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", 
line 73, in run
self.do_egg_install()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", 
line 93, in do_egg_install
self.run_command('bdist_egg')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/bdist_egg.py", 
line 172, in run
self.run_command("egg_info")
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
  File "./setup.py", line 47, in run
self.run_command('build_media')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
  File "./setup.py", line 65, in run
raise RuntimeError('Failed to build media files')
RuntimeError: Failed to build media files

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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.