--
To reply, visit https://hellosplat.com/s/beanbag/tickets/1575/
--
New update by philip.@gmai* (Google Code)
For Beanbag, Inc. >
I think I see where the problem is. I'm confused as to why I'm not hitting
the same failure case, but I honestly don't have a lot of time to dig into
it right now.
In install_pipeline_deps, try doing:
pipeline_settings.LESS_BINARY = \
os.path.join(node_modules_dir,
Stop in /usr/local/lib/python2.7/dist-packages/pipeline/compilers/less.py:
def compile_file(self, infile, outfile, outdated=False, force=False):
*print 'settings_PIPELINE_LESS_BINARY =
{}'.format(settings.PIPELINE_LESS_BINARY)*
command = "%s %s %s %s" % (
Set in packaging.py:
# Collect and process all static media files.
* print 'PIPELINE_LESS_BINARY1 =
{}'.format(pipeline_settings.LESS_BINARY)*
*print 'PIPELINE_UGLIFYJS_BINARY1 =
{}'.format(pipeline_settings.UGLIFYJS_BINARY)*
call_command('collectstatic',
Set print
in /usr/local/lib/python2.7/dist-packages/pipeline/compressors/uglifyjs.py:
class UglifyJSCompressor(SubProcessCompressor):
def compress_js(self, js):
*print 'PIPELINE_SETTING_UGLIFYJS_BINARY =
{}'.format(settings.PIPELINE_UGLIFYJS_BINARY)*
command = '%s %s' %
Can you also try placing debugging output right before the
"call_command('collectstatic', ...)" command in _build_static_media?
Along with this, try printing `command` in pipeline/compilers/less.py
(pipeline will be another module in site-packages somewhere, perhaps under
a django-pipeline-*
def install_pipeline_deps(self, extension, css_bundles, js_bundles):
...
...
with open(package_file, 'w') as fp:
fp.write(json.dumps(
{
'name': '%s-extension' % os.path.basename(os.getcwd()),
'private': 'true',
I've put some print in packaging.py to help debugging. Here's what I have
changed:
def install_pipeline_deps(self, extension, css_bundles, js_bundles):
...
...
with open(package_file, 'w') as fp:
fp.write(json.dumps(
{
'name':
Hi Kevin,
printing in settings.py won't tell you anything of value. Those are the
correct locations at the time that settings.py loaded, but they're
overridden during the packaging process. The locations mentioned in my
previous e-mail are where that happens. Solving this will require narrowing
Hi Christian,
Thanks for trying out. I also did some debugging to see if I can find any
information. I added some print in the settings.py
PIPELINE_LESS_BINARY = os.path.join(NODE_PATH, 'less', 'bin', 'lessc')
PIPELINE_UGLIFYJS_BINARY = os.path.join(NODE_PATH, 'uglifyjs', 'bin',
For work I've setup a server on Ubuntu 16.04 just for Review Board. I setup
SMTP with Postfix on the same machine so that team members can get email
notifications. On the Admin->E-Mail if I select "Send a test e-mail after
saving" it is successful. However if I send or create reviews no emails
11 matches
Mail list logo