{"issue":{"user":{"id":164214,"login":"sethvincent","url":"https://api.github.com/users/sethvincent","avatar_url":"https://secure.gravatar.com/avatar/652e02cbd134e0e92f3f81fe14bda3d1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"652e02cbd134e0e92f3f81fe14bda3d1"},"title":"issue with custom themes / localwiki-manage collectstatic / python manage.py collectstatic","milestone":null,"created_at":"2011-12-11T07:36:28Z","labels":[],"state":"open","updated_at":"2011-12-16T02:16:07Z","id":2515069,"html_url":"https://github.com/localwiki/localwiki/issues/146","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":146,"body":"Hi. I'm trying to set up an alternate theme for the localwiki instance I just installed (olywiki.org).\r\n\r\nWhen I run:\r\npython manage.py collectstatic\r\n\r\nI get the following traceback:\r\n\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 17, in <module>\r\n    from utils.management.commands import init_data_dir, init_db, init_settings\r\nImportError: No module named utils.management.commands\r\n\r\nI've tried to ensure that utils/management/commands is on the PYTHONPATH, but it just won't work.\r\n\r\nI activitated the virtualenv environment for the site.\r\n\r\nUsing ubuntu 10.04. Installed localwiki using the apt-get package.\r\n\r\nI feel like there might be something easy I'm missing. I'm still somewhat new to python/django.\r\n\r\nLet me know what I should try next.","url":"https://api.github.com/repos/localwiki/localwiki/issues/146","comments":10,"assignee":null},"comment":{"user":{"id":96469,"login":"philipn","url":"https://api.github.com/users/philipn","avatar_url":"https://secure.gravatar.com/avatar/ded2591459b6ef2c4a63b464e51c6ff4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ded2591459b6ef2c4a63b464e51c6ff4"},"created_at":"2011-12-16T02:16:07Z","updated_at":"2011-12-16T02:16:07Z","id":3172409,"body":"I learned something new -- we've got code installed in /usr/share/pyshared *and* /usr/lib/pymodules/python2.6! For this, you'll want to edit the files in /usr/lib/pymodules/python2.6 -- that's where the active code lives.  Investigating this as part of ticket #149.\r\n\r\nTry putting it in that pymodules directory and see if it works.\r\n\r\nThen do:\r\n\r\nmkdir /usr/share/localwiki/themes\r\n\r\nThen move the theme into /usr/share/localwiki/themes/\r\n\r\nThat's the real spot for it, which I'll write up in the themes docs tomorrow, hopefully.","url":"https://api.github.com/repos/localwiki/localwiki/issues/comments/3172409"},"action":"created"}