On Aug 6, 2012, at 19:16, Stephen Gallagher <step...@gallagherhome.com> wrote:

> On Mon, 2012-08-06 at 22:07 -0400, Stephen Gallagher wrote:
>> On Mon, 2012-08-06 at 22:00 -0400, Stephen Gallagher wrote:
>>> On Mon, 2012-08-06 at 18:48 -0700, Christian Hammond wrote:
>>>> 
>>>> 
>>>> 
>>>> Sorry man :( That's my life-lesson. I had thought our servers and
>>>> nightly builds upgraded to django-pipeline along with the release, but
>>>> no, apparently not.
>>>> 
>>>> I'll keep poking at this and talk to the developer. He's a good guy
>>>> and has helped with these regressions before, so we'll get it figured
>>>> out.
>>>> 
>>>> Thanks for all your help on this. Really sorry for the trouble.
>>> 
>>> 
>>> Actually, in a lucky comedy of errors, an unrelated glitch in the Fedora
>>> servers meant that my 1.2.14 package never actually made it out to any
>>> of the Fedora mirrors. So I got lucky and was able to just yank it out
>>> of the queue and I'll be able to avoid the version-mangling for now.
>>> 
>>> So all's well that ends well, I suppose. If you and the pipeline
>>> upstream do sort things out though, I'd be appreciative of a heads-up so
>>> I can rev the version back up.
>>> 
>> 
>> 
>> 
>> One more problem :(
>> 
>> Now I'm seeing this traceback (failure to import jsmin.py). I assume
>> there's another package I need, but Google is failing me here.
>> 
>> Traceback (most recent call last):
>>  File "./contrib/internal/build-media.py", line 19, in <module>
>>    ret = call_command('collectstatic', interactive=False, verbosity=2)
>>  File
>> "/usr/lib/python2.7/site-packages/django/core/management/__init__.py",
>> line 150, in call_command
>>    return klass.execute(*args, **defaults)
>>  File
>> "/usr/lib/python2.7/site-packages/django/core/management/base.py", line
>> 232, in execute
>>    output = self.handle(*args, **options)
>>  File
>> "/usr/lib/python2.7/site-packages/django/core/management/base.py", line
>> 371, in handle
>>    return self.handle_noargs(**options)
>>  File
>> "/usr/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
>>  line 163, in handle_noargs
>>    collected = self.collect()
>>  File
>> "/usr/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
>>  line 119, in collect
>>    dry_run=self.dry_run)
>>  File "/usr/lib/python2.7/site-packages/pipeline/storage.py", line 30,
>> in post_process
>>    output_file = packager.pack_javascripts(package)
>>  File "/usr/lib/python2.7/site-packages/pipeline/packager.py", line
>> 106, in pack_javascripts
>>    return self.pack(package, self.compressor.compress_js,
>> js_compressed, templates=package.templates, **kwargs)
>>  File "/usr/lib/python2.7/site-packages/pipeline/packager.py", line
>> 100, in pack
>>    content = compress(paths, **kwargs)
>>  File
>> "/usr/lib/python2.7/site-packages/pipeline/compressors/__init__.py",
>> line 65, in compress_js
>>    js = getattr(compressor(verbose=self.verbose), 'compress_js')(js)
>>  File
>> "/usr/lib/python2.7/site-packages/pipeline/compressors/jsmin/__init__.py", 
>> line 10, in compress_js
>>    from jsmin import jsmin
>> ImportError: No module named jsmin
>> Traceback (most recent call last):
>>  File "setup.py", line 182, in <module>
>>    "Topic :: Software Development :: Quality Assurance",
>>  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
>>    dist.run_commands()
>>  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in
>> run_commands
>>    self.run_command(cmd)
>>  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in
>> run_command
>>    cmd_obj.run()
>>  File "/usr/lib/python2.7/site-packages/setuptools/command/install.py",
>> line 53, in run
>>    return _install.run(self)
>>  File "/usr/lib64/python2.7/distutils/command/install.py", line 575, in
>> run
>>    self.run_command(cmd_name)
>>  File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
>>    self.distribution.run_command(command)
>>  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in
>> run_command
>>    cmd_obj.run()
>>  File
>> "/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.py", 
>> line 29, in run
>>    self.run_command('egg_info')
>>  File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
>>    self.distribution.run_command(command)
>>  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in
>> run_command
>>    cmd_obj.run()
>>  File "setup.py", line 63, in run
>>    self.run_command('build_media')
>>  File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command
>>    self.distribution.run_command(command)
>>  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in
>> run_command
>>    cmd_obj.run()
>>  File "setup.py", line 81, in run
>>    raise RuntimeError('Failed to build media files')
>> RuntimeError: Failed to build media files
>> error: Bad exit status from /var/tmp/rpm-tmp.tnVeed (%install)
>> 
>> 
> 
> 
> *sigh* Okay, apparently django_pipeline has an undeclared runtime
> dependency on http://pypi.python.org/pypi/jsmin/
> 
> Looks like I'll have to try to package that in the morning. Review Board
> is probably not going to make it into the Fedora Alpha release.
> Hopefully they'll let me sneak it in for Beta (since 1.6.x is FTBFS with
> Django 1.4)

It's an optional dependency for pipeline. Maybe it could be bundled with 
djblets/RB? It's only needed at package time.

Christian


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

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

Reply via email to