[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
It would be so cool if someone who actually likes django did a new version of the horizon package ... then it would match expectations from all django users. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
The Ubuntu package for Horizon ships with COMPRESS_OFFLINE = True and all required assets pre-compressed as part of the packages. So python-lesscpy is not required for normal operation, you should not need to re-run compression - hence its only a suggests. Marking Won't Fix. ** Changed in: horizon (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: horizon (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
python-lesscpy is "suggested" in the Horizon package: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1226674 AFAIK there should be no need to run compress as the Ubuntu package includes the compressed resources already. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
Regular users don't run test but need to compress their templates. Isn't that a difference here? It's only this one package needed as dependency? Is this package at least "recommended"? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
Yes exactly. And the same is true for run_tests.sh, where you need various other packages, or you accept, they will be fetched via internet, which might be allowed/disallowed by (firewall policy) or ... -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
But even if COMPRESS_OFFLINE =True, then you still need python-lesscpy to manually execute "python manage.py compress", which is part of Horizon. So in all cases users need this package. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
@Daniel Speichert, it depends; if COMPRESS_OFFLINE is set, python- lesscpy does NOT necessarily need to be installed at all. As other example, you don't install all test requirements on a server machine as well. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
It should depend on python-lesscpy -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
So in fact the bug is in Ubuntu package - it should depend on python- lesscpy. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
I'd like to add, when using COMPRESS_OFFLINE = True, you don't need a compressor at runtime. Especially this was a concern, when we used nodejs and less.js to compress, and nobody wants both permanently on a server for a task to be only run once. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
FWIW, it looks like python-lesscpy isn't a hard dependency of the Ubuntu package, so you probably need to install it explictly if you want to use compression: sudo apt-get install python-lesscpy -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
It looks like a bug in packaging rather than in Horizon itself. I've retargeted it to the Ubuntu Horizon package, so the Ubuntu guys can take a look. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
Could you comment on the reason for why it is not a bug? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242766] Re: python manage.py compress: bin/sh: 1: lesscpy: not found
** Also affects: horizon (Ubuntu) Importance: Undecided Status: New ** Changed in: horizon Status: New => Invalid ** Changed in: horizon Assignee: (unassigned) => Kieran Spear (kspear) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1242766 Title: python manage.py compress: bin/sh: 1: lesscpy: not found To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1242766/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs