Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import error #10

Open
PhilipGarnero opened this issue May 25, 2014 · 3 comments
Open

Import error #10

PhilipGarnero opened this issue May 25, 2014 · 3 comments

Comments

@PhilipGarnero
Copy link

Hello there !

I'm currently having an issue in a prod environment with pipeline-compass.
Whenever I try to launch my app in debug or collectstatic, pipeline raises an import error:
no module named compiler

Any idea on how to fix this ?
Thanks

@vbabiy
Copy link
Owner

vbabiy commented May 29, 2014

Do you have a stack trace?

@PhilipGarnero
Copy link
Author

Here's the traceback I get :

Traceback (most recent call last):
  File "manage.py", line 9, in <module>
    execute_from_command_line(sys.argv)
  File "/application/ovh-var/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/application/ovh-var/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/application/ovh-var/python/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/application/ovh-var/python/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
    output = self.handle(*args, **options)
  File "/application/ovh-var/python/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
    return self.handle_noargs(**options)
  File "/application/ovh-var/python/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 173, in handle_noargs
    collected = self.collect()
  File "/application/ovh-var/python/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 118, in collect
    for original_path, processed_path, processed in processor:
  File "/application/ovh-var/python/lib/python2.7/site-packages/pipeline/storage.py", line 32, in post_process
    packager.pack_stylesheets(package)
  File "/application/ovh-var/python/lib/python2.7/site-packages/pipeline/packager.py", line 94, in pack_stylesheets
    variant=package.variant, **kwargs)
  File "/application/ovh-var/python/lib/python2.7/site-packages/pipeline/packager.py", line 103, in pack
    paths = self.compile(package.paths, force=True)
  File "/application/ovh-var/python/lib/python2.7/site-packages/pipeline/packager.py", line 97, in compile
    return self.compiler.compile(paths, force=force)
  File "/application/ovh-var/python/lib/python2.7/site-packages/pipeline/compilers/__init__.py", line 49, in compile
    return list(executor.map(_compile, paths))
  File "/application/ovh-var/python/lib/python2.7/site-packages/concurrent/futures/_base.py", line 549, in map
    yield future.result()
  File "/application/ovh-var/python/lib/python2.7/site-packages/concurrent/futures/_base.py", line 397, in result
    return self.__get_result()
  File "/application/ovh-var/python/lib/python2.7/site-packages/concurrent/futures/_base.py", line 356, in __get_result
    raise self._exception
ImportError: No module named compiler

@bbarr
Copy link

bbarr commented Jan 15, 2015

I am having a similar issue with the React/JSX compiler.. Did this have an outcome?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants