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

django-scribbler is now not installable from source #89

Open
imposeren opened this issue Aug 3, 2015 · 8 comments · May be fixed by #161
Open

django-scribbler is now not installable from source #89

imposeren opened this issue Aug 3, 2015 · 8 comments · May be fixed by #161

Comments

@imposeren
Copy link
Contributor

side libraries like require.js ans codemirror were removed in f194cd1. This change made it imposible to use djagno-scribbler after installing directly from github: not all js files are available

@mlavin
Copy link
Contributor

mlavin commented Aug 3, 2015

Yes that was a purposeful choice. There are docs on installing an unstable release here http://django-scribbler.readthedocs.org/en/latest/contributing.html#installing-an-unstable-release

@imposeren
Copy link
Contributor Author

Thank you for information

@imposeren
Copy link
Contributor Author

Maybe this should be added to setup.py to make it easier to install with pip install https://github.com/caktus/django-scribbler.git?

It can be implemented like so:
http://stackoverflow.com/a/1763900/952437

@mlavin
Copy link
Contributor

mlavin commented Aug 6, 2015

I'm -0 on the idea. Building the CSS and JS required LESS and RequireJS which would still need to be present before you could run the setup.py.

@imposeren
Copy link
Contributor Author

I'm -0 on the idea. Building the CSS and JS required LESS and RequireJS which would still need to be present before you could run the setup.py.

if someone trying to install django-scribbler from git then it's better to fail install with "lessc: command not found" instead of silently installing without required static files

@mlavin
Copy link
Contributor

mlavin commented Sep 29, 2015

Either way you are going to have to read the docs on how to resolve it. The docs for the current behavior have already been written.

@imposeren
Copy link
Contributor Author

I'm trying to build package locally:

  1. installed lessc, requirejs:
npm install -g requirejs
npm install -g less
  1. running:
git clone git://github.com/caktus/django-scribbler.git
cd django-scribbler
make fetch-static-libs build-css build-js
  1. I get error:
Tracing dependencies for: scribbler
Error: ENOENT, no such file or directory '.../django-scribbler/scribbler/static/scribbler/libs/underscore.js'
In module tree:
    scribbler

Error: Error: ENOENT, no such file or directory '.../django-scribbler/scribbler/static/scribbler/libs/underscore.js'

This happens because underscore url is redirected

@PetrDlouhy
Copy link
Contributor

I fixed this in #161

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

Successfully merging a pull request may close this issue.

3 participants