nvbn / django-bower

Easy way to use bower with your django project
https://django-bower.readthedocs.io/
518 stars 75 forks source link

./manage.py bower freeze actually freeze #36

Closed papasax closed 9 years ago

papasax commented 9 years ago

Hi,

I have a dependency conflict in my project, and i need to run ./manage.py bower_install -- --force-latest To get my static.

Then i run ./manage.py bower freeze to get the current version and pin it in my BOWER_INSTALLED_APPS, but the command freezes and i need to interrupt it with Ctrl-C

I have this log: File "./manage.py", line 11, in execute_from_command_line(sys.argv) File "/Users/Exlivris3/.virtualenvs/bibliocratie/lib/python2.7/site-packages/django/core/management/init.py", line 385, in execute_from_command_line utility.execute() File "/Users/Exlivris3/.virtualenvs/bibliocratie/lib/python2.7/site-packages/django/core/management/init.py", line 377, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/Users/Exlivris3/.virtualenvs/bibliocratie/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv self.execute(_args, _options.dict) File "/Users/Exlivris3/.virtualenvs/bibliocratie/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute output = self.handle(_args, _options) File "/Users/Exlivris3/.virtualenvs/bibliocratie/lib/python2.7/site-packages/djangobower/management/commands/bower.py", line 14, in handle self._freeze() File "/Users/Exlivris3/.virtualenvs/bibliocratie/lib/python2.7/site-packages/djangobower/management/base.py", line 24, in _freeze packages = tuple(bower_adapter.freeze()) File "/Users/Exlivris3/.virtualenvs/bibliocratie/lib/python2.7/site-packages/djangobower/bower.py", line 69, in freeze proc.wait() File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1384, in wait pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0) File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call return func(*args) KeyboardInterrupt

blowerfix commented 9 years ago

I have the same problem. I made a pull-request for a fix: #37.

papasax commented 9 years ago

Nice, I close the issue.

blowerfix commented 9 years ago

Why are you closing the issue? My proposed fix is not yet merged.

papasax commented 9 years ago

reopened until merge.

victornovais commented 9 years ago

It's merged already. I think we can close the issue now. =)

papasax commented 9 years ago

Yes we can.