Picture of Martin Garnett
Unable to upload assets, and problems previewing the course
by Martin Garnett - Thursday, 21 January 2016, 2:17 PM
 

Hello everyone,

I've been trying to setup the Adapt Authoring Tool on a local machine at work, as we're wanting to start using it, however I seem to be coming across some problems when trying to upload content, or even preview the course.

When I try to upload the content, it says 100% complete, and then does nothing.

 

Unable to Upload Asset

When I try to preview my course, sometimes I just get a white "Loading" page, and just now when I tested it, it loaded the course, but the back arrow didn't work? 

I'm using default everything here (theme and plugins etc.) so I haven't actually touched any code yet.

Any help is much appreciated.

- Martin

Picture of Martin Garnett
Re: Unable to upload assets, and problems previewing the course
by Martin Garnett - Tuesday, 2 February 2016, 10:40 AM
 

Bump. Any clues here? :)

Picture of Paul Steven
Re: Unable to upload assets, and problems previewing the course
by Paul Steven - Tuesday, 2 February 2016, 11:53 AM
 

Hi Martin

I recall having this issue when I first installed the authoring tool and the fix was to update one of the elements.

Can you try running the following in case the issue is the framework being an old one

node upgrade.js

If that doesn't do the job just shout.

You will probably get some errors in your command window when you are trying to preview or upload assets that may give some clues.

Paul

 

Picture of Martin Garnett
Re: Unable to upload assets, and problems previewing the course
by Martin Garnett - Tuesday, 2 February 2016, 4:48 PM
 

Hi Paul, thanks for getting back to me. I tried the update and I got a  message saying no new updates available. However you're right with the errors when trying to save an asset - though I have no idea what it means. Perhaps you might have an idea?


error: [02 Feb 2016 16:43:00 +00:00] Failed to create image thumbnail: could not
determine height of source video, aborting execution
Error: spawn ffprobe ENOENT
at exports._errnoException (util.js:856:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at doNTCallback2 (node.js:452:9)
at process._tickDomainCallback (node.js:407:17)
TypeError: Cannot read property '0' of null
at C:\Users\Martingarnett\Documents\Adapt\adapt_authoring\plugins\filestorag
e\localfs\index.js:405:37
at ChildProcess.<anonymous> (C:\Users\Martingarnett\Documents\Adapt\adapt_au
thoring\node_modules\node-ffprobe\lib\ffprobe.js:110:4)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:818:16)
at Socket.<anonymous> (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)

Picture of Paul Steven
Re: Unable to upload assets, and problems previewing the course
by Paul Steven - Thursday, 4 February 2016, 10:54 AM
 

Hi Martin

Sounds like something is not quite right in your set up. 

Can you check if you have node v 2.4.2 installed?

Type node --version in the command window to check.

If it is not this version then install this version using the following:

 npm install nodejs -version 4.2.4

After doing this give it a whirl. You may need to reinstall the authoring tool after doing this just to be sure everything is all set up correctly.

Note I am no expert in all of this so could be a case of the blind leading the blind:)

Picture of Sébastien Bonte
Re: Unable to upload assets, and problems previewing the course
by Sébastien Bonte - Sunday, 26 June 2016, 8:35 PM
 

Hello,

 

with the same problem, I've tried this solution but no result. I should have done something wrong.

1- I've downgraded node to 4.2.4

2- I've reinstalled the authoring tool

 but after reinstalling the authoring tool, I've a node upgrade 4.4.5.

 

So how can i install the AT without upgrade node ?

 

Any ideia ?

Thanks

Picture of Tom Taylor
Re: Unable to upload assets, and problems previewing the course
by Tom Taylor - Monday, 8 February 2016, 10:14 AM
 

Hi Martin,

It looks as if the AT is falling over while trying to generate the metadata for your asset.

A few things:

  1. Did you enable FFMPEG during install?
  2. What type of file are you trying to upload?
  3. Can you try uploading the asset again using the 'Asset Management' page (found in the collapsed menu in the top left).