Picture of Rodrigo Bolaños
Error generating preview, please contact Administrator :)
by Rodrigo Bolaños - Thursday, 9 February 2017, 5:14 PM
 

Hi all,

We are experimenting an error message when previewing courses:

Error generating preview, please contact Administrator.

We have installed Authoring Tool v0.3.0 and framework v2.0.16. When the error is displayed our console shows the follow message: "Error: EPERM: operation not permitted, unlink [and the path to the asset]"

[See screenshots attached]

How can we solve this?

Rodrigo



Picture of Tom Taylor
Re: Error generating preview, please contact Administrator :)
by Tom Taylor - Friday, 10 February 2017, 11:40 AM
 

Hi Rodrigo,

It seems you don't have write access to the file in question:

"C:\Users\Administrator\Documents\Adapt Authoring Tool\Gamma 5002\temp ..."

First thing to do is check that your user has the correct permissions to the relevant directories.

Picture of Rodrigo Bolaños
Re: Error generating preview, please contact Administrator :)
by Rodrigo Bolaños - Friday, 10 February 2017, 3:37 PM
 

Thanks Tom, the directories have the correct permissions.

We get this error from time to time, it is not constant. For example, after clicking preview we get the error message, then wait 3-4 seconds and the build works without errors.

The user is Administrator and has the permissions, and the node terminal is running from a open terminal as administrator.

We will continue monitoring the issue and let you know if we found the cause,

Rodrigo