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

Unexpected end of JSON input while parsing near '...,"coffeescript":"^1.1' #255

Open
SamuelMarks opened this issue Sep 30, 2020 · 4 comments
Labels

Comments

@SamuelMarks
Copy link

Expected Behavior

Success

Actual Behavior

On 847f8fd, with an empty Docker cache and:

$ make info
.:: OPENEDX-DOCKER ::.

== Active configuration ==

* EDX_RELEASE                : eucalyptus.3
* FLAVOR                     : bare
* FLAVORED_EDX_RELEASE_PATH  : releases/eucalyptus/3/bare
* EDX_RELEASE_REF            : open-release/eucalyptus.3
* EDX_ARCHIVE_URL            : https://github.com/edx/edx-platform/archive/open-release/eucalyptus.3.tar.gz
* EDX_DEMO_RELEASE_REF       : open-release/eucalyptus.3
* EDX_DEMO_ARCHIVE_URL       : https://github.com/edx/edx-demo-course/archive/open-release/eucalyptus.3.tar.gz
* REDIS_SERVICE              : redis
* EDXAPP_IMAGE_NAME          : edxapp
* EDXAPP_IMAGE_TAG           : eucalyptus.3-bare
* EDXAPP_NGINX_IMAGE_NAME    : edxapp-nginx
$ docker --version ; docker-compose --version
Docker version 19.03.13, build 4484c46d9d
docker-compose version 1.27.3, build 4092ae5d
Step 43/80 : RUN npm install
 ---> Running in 9d9a12a108e9
npm WARN deprecated coffee-script@1.6.1: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated pa11y-reporter-1.0-json@1.0.2: This reporter is now deprecated and will no longer be supported by the Pa11y team. Please refer to the Pa11y migration guide or README to update your project.
npm WARN deprecated istanbul@0.4.5: This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated mkdirp@0.3.5: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated graceful-fs@1.1.14: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated formatio@1.1.1: This package is unmaintained. Use @sinonjs/formatio instead
npm WARN deprecated samsam@1.1.2: This package has been deprecated in favour of @sinonjs/samsam
npm WARN deprecated samsam@1.1.3: This package has been deprecated in favour of @sinonjs/samsam
npm ERR! Unexpected end of JSON input while parsing near '...,"coffeescript":"^1.1'

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-09-30T03_48_24_981Z-debug.log
ERROR: Service 'lms' failed to build : The command '/bin/sh -c npm install' returned a non-zero code: 1
Makefile:143: recipe for target 'build' failed
make: *** [build] Error 1
@jmaupetit jmaupetit added the bug label Sep 30, 2020
@jmaupetit
Copy link
Contributor

Hi @SamuelMarks 👋 Thanks for the report. As eucalyptus is rather old, it's hard to deal with front-end dependencies. Questions:

  1. Have you set your environment to build eucalyptus specifically or is it the default behavior on your system?
  2. Are you sure you need to build this release? Have you tried our latest official build [1]?

[1] https://hub.docker.com/layers/fundocker/edxapp/eucalyptus.3-1.2.0/images/sha256-f23fc4863af209b52c0916d4a51df72d275625b69dff0f274d77f741951a2568?context=explore

@SamuelMarks
Copy link
Author

@jmaupetit - I'm not interested in running it at all [really]. My goal is to restore my old Eucalyptus backups, restore to the next version, and continue along this path all the way to Juniper.

I've got 4 backups from various Open edX versions; and want to upgrade everything to Juniper

Once this is done, I want to merge all versions of the course into one, and then I'll upgrade my Jupyter Notebook that does the post-hoc statistical analysis (I'll open-source this once it's generic enough 🤖)

Thanks for getting back to me so quickly

PS: No custom XBlocks or ORAs; just vanilla Open edX install.

@jmaupetit
Copy link
Contributor

I see. Unfortunately in this repo some release are missing along the path from eucalyptus to juniper...

@SamuelMarks
Copy link
Author

SamuelMarks commented Oct 1, 2020

@jmaupetit Yeah I was worried about that, so I rewrote it for a native install: https://github.com/offscale/offregister-openedx/blob/master/offregister_openedx/ubuntu/fun_bare.py

Can you send through the settings file(s) it expects?

The last time I gave it a shot I got stuck with:

ImportError: No module named proj.settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants