django-scribbler icon indicating copy to clipboard operation
django-scribbler copied to clipboard

django-scribbler is now not installable from source

Open imposeren opened this issue 9 years ago • 8 comments

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

imposeren avatar Aug 03 '15 22:08 imposeren

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

mlavin avatar Aug 03 '15 23:08 mlavin

Thank you for information

imposeren avatar Aug 04 '15 07:08 imposeren

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

imposeren avatar Aug 06 '15 11:08 imposeren

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.

mlavin avatar Aug 06 '15 12:08 mlavin

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

imposeren avatar Sep 29 '15 19:09 imposeren

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.

mlavin avatar Sep 29 '15 19:09 mlavin

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

imposeren avatar Sep 29 '15 20:09 imposeren

I fixed this in #161

PetrDlouhy avatar Mar 11 '21 16:03 PetrDlouhy