Re: RB 2.0.11 ImportError: No module named apps && RuntimeError: Failed to build media files

2016-06-20 Thread David Trowbridge
If you're installing from the egg, it shouldn't be trying to build media
files. What command did you run to get that output?

-David

On Tue, Jun 14, 2016 at 7:17 AM Mátyás Papp <koczka...@gmail.com> wrote:

> Hey there!
>
> I wanna installing rb 2.0.11 but I get these errors:
>
> Traceback (most recent call last):
>   File "contrib/internal/build-media.py", line 29, in 
> ret = call_command('collectstatic', interactive=False, verbosity=2)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/core/management/__init__
>   .py", line 159, in call_command
> return klass.execute(*args, **defaults)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/core/management/base.py"
>   , line 285, in execute
> output = self.handle(*args, **options)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/core/management/base.py"
>   , line 415, in handle
> return self.handle_noargs(**options)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/mana
>   gement/commands/collectstatic.py", line 173, in handle_noargs
> collected = self.collect()
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/mana
>   gement/commands/collectstatic.py", line 102, in collect
> for finder in finders.get_finders():
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/find
>   ers.py", line 253, in get_finders
> yield get_finder(finder_path)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/utils/functional.py"
> , li   ne 32, in wrapper
> result = func(*args)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/find
>   ers.py", line 265, in _get_finder
> return Finder()
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/find
>   ers.py", line 125, in __init__
> app_storage = self.storage_class(app)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/stor
>   age.py", line 303, in __init__
> mod = import_module(app)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/utils/importlib.py"
> , lin   e 40, in import_module
> __import__(name)
>   File 
> "/usr/local/lib/python2.7/dist-packages/django_haystack-2.5.dev1-py2.7.egg/haystack/__init__.py
>   ", line 10, in 
> from haystack.utils import loading
>   File 
> "/usr/local/lib/python2.7/dist-packages/django_haystack-2.5.dev1-py2.7.egg/haystack/utils/loadi
>   ng.py", line 18, in 
> from haystack.utils.app_loading import haystack_get_app_modules
>   File 
> "/usr/local/lib/python2.7/dist-packages/django_haystack-2.5.dev1-py2.7.egg/haystack/utils/app_l
>   oading.py", line 4, in 
> from django.apps import apps
> ImportError: No module named apps
> Traceback (most recent call last):
>   File "setup.py", line 233, in 
> "Topic :: Software Development :: Quality Assurance",
>   File "/usr/lib/python2.7/distutils/core.py", line 151, 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/bdist_egg.py",
> line 152, 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 80, 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 100, in run
> raise RuntimeError('Failed to build media files')
> RuntimeError: Failed to build media files
>
> I installed ReviewBoard-2.0.11 egg with easy_install and dependencies.
> What should I do?
> Thanks for the help!
>
> Best regards,
> Matyas
>
> --
> Supercharge your Review Board with Power Pack:
>

RuntimeError: Failed to build media files

2014-01-20 Thread naveen
i'm trying to install reviewboard from 
github-repohttps://github.com/reviewboard/reviewboardon ubuntu system under 
*virtual 
environment*. , i have installed all the required dependencies but when i'm 
issuing command like
*python setup.py install*

getting following exception:
RuntimeError: Failed to build media files 
Traceback (most recent call last):
  File contrib/internal/build-media.py, line 19, in module
ret = call_command('collectstatic', interactive=False, verbosity=2)
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/Django-1.5.5-py2.7.egg/django/core/management/__init__.py,
 
line 161, in call_command
return klass.execute(*args, **defaults)
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/Django-1.5.5-py2.7.egg/django/core/management/base.py,
 
line 255, in execute
output = self.handle(*args, **options)
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/Django-1.5.5-py2.7.egg/django/core/management/base.py,
 
line 385, in handle
return self.handle_noargs(**options)
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/Django-1.5.5-py2.7.egg/django/contrib/staticfiles/management/commands/collectstatic.py,
 
line 164, in handle_noargs
collected = self.collect()
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/Django-1.5.5-py2.7.egg/django/contrib/staticfiles/management/commands/collectstatic.py,
 
line 121, in collect
for original_path, processed_path, processed in processor:
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/pipeline/storage.py, 
line 32, in post_process
packager.pack_stylesheets(package)
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/pipeline/packager.py, 
line 94, in pack_stylesheets
variant=package.variant, **kwargs)
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/pipeline/packager.py, 
line 103, in pack
paths = self.compile(package.paths, force=True)
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/pipeline/packager.py, 
line 97, in compile
return self.compiler.compile(paths, force=force)
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/pipeline/compilers/__init__.py,
 
line 49, in compile
return list(executor.map(_compile, paths))
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/concurrent/futures/_base.py,
 
line 549, in map
yield future.result()
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/concurrent/futures/_base.py,
 
line 404, in result
return self.__get_result()
  File 
/home/naveen/env3/local/lib/python2.7/site-packages/concurrent/futures/_base.py,
 
line 356, in __get_result
raise self._exception
*pipeline.exceptions.CompilerError: /usr/bin/env: lessc: No such file or 
directory*

Traceback (most recent call last):
  File setup.py, line 229, in module
Topic :: Software Development :: Quality Assurance,
  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 
/home/naveen/env3/local/lib/python2.7/site-packages/setuptools/command/install.py,
 
line 73, in run
self.do_egg_install()
  File 
/home/naveen/env3/local/lib/python2.7/site-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 
/home/naveen/env3/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py,
 
line 177, 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 80, 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 100, in run
raise RuntimeError('Failed to build media files')
*RuntimeError: Failed to build media files*

Can anyone help me out on this

-- 
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: RuntimeError: Failed to build media files

2014-01-20 Thread Christian Hammond
Hi,

Building Review Board requires a number of development tools, including
node.js, lessc, and uglifyjs.

Are you planning to do development with this, or just install it?

Christian

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


On Mon, Jan 20, 2014 at 1:16 AM, nav...@launchyard.com wrote:

 i'm trying to install reviewboard from 
 github-repohttps://github.com/reviewboard/reviewboardon ubuntu system under 
 *virtual
 environment*. , i have installed all the required dependencies but when
 i'm issuing command like
 *python setup.py install*

 getting following exception:
 RuntimeError: Failed to build media files
 Traceback (most recent call last):
   File contrib/internal/build-media.py, line 19, in module
 ret = call_command('collectstatic', interactive=False, verbosity=2)
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/Django-1.5.5-py2.7.egg/django/core/management/__init__.py,
 line 161, in call_command
 return klass.execute(*args, **defaults)
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/Django-1.5.5-py2.7.egg/django/core/management/base.py,
 line 255, in execute
 output = self.handle(*args, **options)
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/Django-1.5.5-py2.7.egg/django/core/management/base.py,
 line 385, in handle
 return self.handle_noargs(**options)
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/Django-1.5.5-py2.7.egg/django/contrib/staticfiles/management/commands/collectstatic.py,
 line 164, in handle_noargs
 collected = self.collect()
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/Django-1.5.5-py2.7.egg/django/contrib/staticfiles/management/commands/collectstatic.py,
 line 121, in collect
 for original_path, processed_path, processed in processor:
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/pipeline/storage.py,
 line 32, in post_process
 packager.pack_stylesheets(package)
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/pipeline/packager.py,
 line 94, in pack_stylesheets
 variant=package.variant, **kwargs)
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/pipeline/packager.py,
 line 103, in pack
 paths = self.compile(package.paths, force=True)
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/pipeline/packager.py,
 line 97, in compile
 return self.compiler.compile(paths, force=force)
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/pipeline/compilers/__init__.py,
 line 49, in compile
 return list(executor.map(_compile, paths))
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/concurrent/futures/_base.py,
 line 549, in map
 yield future.result()
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/concurrent/futures/_base.py,
 line 404, in result
 return self.__get_result()
   File
 /home/naveen/env3/local/lib/python2.7/site-packages/concurrent/futures/_base.py,
 line 356, in __get_result
 raise self._exception
 *pipeline.exceptions.CompilerError: /usr/bin/env: lessc: No such file or
 directory*

 Traceback (most recent call last):
   File setup.py, line 229, in module
 Topic :: Software Development :: Quality Assurance,
   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
 /home/naveen/env3/local/lib/python2.7/site-packages/setuptools/command/install.py,
 line 73, in run
 self.do_egg_install()
   File
 /home/naveen/env3/local/lib/python2.7/site-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
 /home/naveen/env3/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py,
 line 177, 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 80, 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 100, in run
 raise RuntimeError('Failed to build media files')
 *RuntimeError: Failed to build media files*

 Can anyone help me out on this

  --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https

Re: RuntimeError: Failed to build media files

2014-01-20 Thread naveen


 I'm just trying to install it


-- 
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: RuntimeError: Failed to build media files

2014-01-20 Thread Christian Hammond
I don't recommend installing from Git then. We provide a guide to
installing Review Board with our pre-built packages.

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

Christian

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


On Mon, Jan 20, 2014 at 1:24 AM, nav...@launchyard.com wrote:


 I'm just trying to install it

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


-- 
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: RuntimeError: Failed to build media files

2014-01-20 Thread naveen


 i did tried that to install but got the 
 errorhttp://stackoverflow.com/questions/21044615/pkg-resources-distributionnotfound-pilfor
  PIL module (I do not think PIL nodule is compatible with 2.7, is it?)

 

-- 
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: RuntimeError: Failed to build media files

2014-01-20 Thread Christian Hammond
You're going to have that problem either way.

PIL should be compatible with 2.7. We use it. Most likely, your Linux
distro provides a package for it, usually under the name python-imaging
or similar.

Make sure you do not use pip for anything Review Board-related. Use
easy_install only. pip, while popular, does not support many of the
packaging features we require.

Christian

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


On Mon, Jan 20, 2014 at 1:30 AM, nav...@launchyard.com wrote:

 i did tried that to install but got the 
 errorhttp://stackoverflow.com/questions/21044615/pkg-resources-distributionnotfound-pilfor
  PIL module (I do not think PIL nodule is compatible with 2.7, is it?)



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


-- 
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: RuntimeError: Failed to build media files

2014-01-20 Thread naveen


 ok, I'll try to install again from scratch from 
 http://www.reviewboard.org/docs/manual/1.6/admin/installation/linux/


And will let you know , if any problem occurs.

Thanks for quick response. 

-- 
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: RuntimeError: Failed to build media files

2014-01-20 Thread Christian Hammond
That link is for the old, unsupported 1.6 release. You want the 1.7 manual.

Christian

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


On Mon, Jan 20, 2014 at 1:37 AM, nav...@launchyard.com wrote:

 ok, I'll try to install again from scratch from
 http://www.reviewboard.org/docs/manual/1.6/admin/installation/linux/


 And will let you know , if any problem occurs.

 Thanks for quick response.

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


-- 
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: RuntimeError: Failed to build media files

2014-01-20 Thread naveen


 HI Christian,


I have followed installation process for reviewboard 
herehttp://www.reviewboard.org/docs/manual/1.7/admin/installation/linux/. 
step by step While review-board installing dependencies, for *PIL* it says 
like:

Best match: PIL 1.1.7
Downloading http://effbot.org/media/downloads/PIL-1.1.7.tar.gz
Processing PIL-1.1.7.tar.gz
Writing /tmp/easy_install-Ej6TvT/PIL-1.1.7/setup.cfg
Running PIL-1.1.7/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-Ej6TvT/PIL-1.1.7/egg-dist-tmp-mU2avT
WARNING: '' not a valid package name; please use only.-separated package 
names in setup.py
_imaging.c:3017:5: warning: initialization from incompatible pointer type 
[enabled by default]
 (inquiry) image_length, /*sq_length*/
 ^
_imaging.c:3017:5: warning: (near initialization for 
‘image_as_sequence.sq_length’) [enabled by default]
_imaging.c:3077:5: warning: initialization from incompatible pointer type 
[enabled by default]
 (inquiry) NULL, /*mp_length*/
 ^
_imaging.c:3077:5: warning: (near initialization for 
‘pixel_access_as_mapping.mp_length’) [enabled by default]
libImaging/Quant.c: In function ‘rehash_collide’:
libImaging/Quant.c:154:10: warning: cast to pointer from integer of 
different size [-Wint-to-pointer-cast]
*valp=(void *)((*(int *)valp)+(*(int *)newval));
  ^

PIL 1.1.7 SETUP SUMMARY

version   1.1.7
platform  linux2 2.7.5+ (default, Sep 19 2013, 13:48:49)
  [GCC 4.8.1]

*** TKINTER support not available (Tcl/Tk 8.5 libraries needed)
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
*** LITTLECMS support not available

To add a missing option, make sure you have the required
library, and set the corresponding ROOT variable in the
setup.py script.

To check the build, run the selftest.py script.
zip_safe flag not set; analyzing archive contents...
Image: module references __file__
Adding PIL 1.1.7 to easy-install.pth file
Installing pilprint.py script to /home/naveen/env-review72/bin
Installing pilconvert.py script to /home/naveen/env-review72/bin
Installing pilfont.py script to /home/naveen/env-review72/bin
Installing pilfile.py script to /home/naveen/env-review72/bin
Installing pildriver.py script to /home/naveen/env-review72/bin


I'm assuming that , it is not going to install PIL properly and while 
creating a site ...it throws *pkg_resources.DistributionNotFound: PIL.*


i did installed *python-imaging* library using apt-get, but that error 
still haunting me. 

Please show the path for enlightenment :) 

-- 
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: RuntimeError: Failed to build media files

2014-01-20 Thread naveen


 Ome more thing i would like to add

*sudo rb-site install /var/www/reviewboard*
Traceback (most recent call last):
  File /usr/local/bin/rb-site, line 5, in module
from pkg_resources import load_entry_point
  File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 2805, in 
module
working_set.require(__requires__)
  File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 696, in 
require
needed = self.resolve(parse_requirements(requirements))
  File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 594, in 
resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: PIL 

PIL is being looked in the* /usr/lib/python2.7/dist-packages/*
whereas i have installed it inside virtual environment at 
*/home/naveen/env-review72/lib/python2.7/site-packages/PIL-1.1.7-py2.7-linux-x86_64.egg*

Is that could be the issue ?

-- 
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: RuntimeError: Failed to build media files

2014-01-11 Thread David Trowbridge
If you install from the .tar.gz file or from git, there are additional 
dependencies (including less, uglifyjs, and gettext). If you install our 
pre-built eggs, you can avoid these additional dependencies.

-David

 On Jan 11, 2014, at 3:59 AM, nav...@launchyard.com wrote:
 
 i using the github repo https://github.com/reviewboard/reviewboard to install 
 reviewboard , 
 
  python setup.py install
 running install
 running bdist_egg
 running egg_info
 running build_media
 but getting following error :
 Traceback (most recent call last):
   File setup.py, line 228, in module
 Topic :: Software Development :: Quality Assurance,
   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 
 /home/naveen/env2/local/lib/python2.7/site-packages/setuptools/command/install.py,
  line 73, in run
 self.do_egg_install()
   File 
 /home/naveen/env2/local/lib/python2.7/site-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 
 /home/naveen/env2/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py,
  line 177, 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 80, 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 100, in run
 raise RuntimeError('Failed to build media files')
 RuntimeError: Failed to build media files
 
 
 What is the reason for this error and how it can be resolved ?
 
 -- 
 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.

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