Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unused django package put in kalite/packages/dist #5419
After upgrading from ka-lite-bundle_0.16.9-0ubuntu3_all.deb to ka-lite-bundle_0.17.0-0ubuntu1_all.deb, a previously occurring bug reappears.
Traceback or relevant snippet from server.log
Occurs when running kalite commands, for example:
How to reproduce
Honestly, this issue doesn't affect the deployment. It is just a duplicate warning that only is noticed in logs and terminal. I don't believe that affects KA Lite performance.
Thanks for reporting this @spatiald
It makes me wonder if during the 0.17.0 cleanup, we've removed code like this:
Because certainly the
As you rightly say, it's harmless, but shouldn't be there.
Can you also reproduce this without even upgrading?
Just looked at your traceback:
I notice the path
Could you try running this in Python?
Was on the road...thanks for your patience.
I guess the nature of the warning is this: Django is already imported, yet a directory containing Django is being imported.
I think we can solve this by ensuring that django isn't installed to
It looks like the underlying cause is a change in pip. Before, it would just install
I'm trying to disable it by passing