Picture of Simon Ray
Authoring Tool v0.1.1
by Simon Ray - Tuesday, 14 July 2015, 5:47 AM
 

Hi there

I've installed v0.1.1 of the Authoring tool, which has gone smoothly, but when I open it and go to edit one of my courses, all I get is the Loading circle (of death)...

I can navigate back to the dashboard and edit course settings, but I can't edit the course itself.

Screenshots below:

Also all my assets seem to have vanished, or are these only visible when in course editing?

Simon

Picture of Simon Ray
Re: Authoring Tool v0.1.1
by Simon Ray - Tuesday, 14 July 2015, 6:15 AM
 

Adding to this, I tried to create a new course, but cannot upload assets...

If I ignore the asset upload and go into adding a page or section, nothing happens. No page, no section.

Am I looking at a complete uninstall/re-install?

Picture of Brian Quinn
Re: Authoring Tool v0.1.1
by Brian Quinn - Tuesday, 14 July 2015, 8:32 AM
 

Hi Simon,

You shouldn't need a complete uninstall.

Can you please confirm you've done the following?

  1. Run git pull to get the latest code
  2. Run npm install
  3. Run node upgrade, selecting Y
  4. Run grunt build:dev or grunt build:prod
  5. Run node server

Can you also confirm that you're on Node.JS version 0.10.33?

It would be helpful if you could access your browser's (F12) developer tools and let me know if you see any errors.

Thanks,

Brian

Picture of Brian Quinn
Re: Authoring Tool v0.1.1
by Brian Quinn - Tuesday, 14 July 2015, 8:42 AM
 

Actually, from looking at your MongoDB output, is this the first time you've restarted it?

There is some information on the error it's reporting here:

http://stackoverflow.com/questions/29316482/mongo-error-on-i-control-hotfix

Which points to a patch for Windows Server 2008 here:

https://support.microsoft.com/en-us/kb/2731284

Brian

Picture of Simon Ray
Re: Authoring Tool v0.1.1
by Simon Ray - Wednesday, 15 July 2015, 12:01 AM
 

Brian

The hotfix sorted it, however I still get the Localhost error when I try to Preview my course:

 

The 'Grunt not recognised' is what I also get if I try to run the Framework.  It doesn't however have a problem if I run the PC as an Administrator.  Any thoughts as to why this might be?

Sorry to be a pain.

SImon

Picture of Simon Ray
Re: Authoring Tool v0.1.1
by Simon Ray - Wednesday, 15 July 2015, 12:12 AM
 

Final one for the day... :)

What I log in as an Admin on my PC, a different error comes up when I try to preview:

 

I tried to change themes and got the following result:

 

 

 

I hope you have a solution, because as it stands, I can't use the Tool if I can't preview my work.

 

Cheers

Simon

Picture of Brian Quinn
Re: Authoring Tool v0.1.1
by Brian Quinn - Wednesday, 15 July 2015, 8:29 AM
 

Hi Simon,

Thanks for the screenshots, they're a good help.  I'm sure we can resolve this.

Firstly, the fact that you're getting different output depending on who you log in as, and the fact that in your previous post Grunt could not be found, indicates a permissions issue.  From the looks of it you're missing the dependencies from here:

https://github.com/adaptlearning/adapt_authoring#grunt-and-adapt-command-line-tools 

Try running the following command as an Administrator to remove the Grunt package:

npm uninstall -g grunt-cli

Then run the following commands again on the server (as a non-administrator) to re-install them:

npm install -g grunt-cli
npm install -g adapt-cli

OK, the second thing to do is to work out why publish and preview is not working, although with the second them it looks to have built ok(?).  Quite often a project will fail to build if there is a problem wit the theme, e.g. an issue with LESS variables.

Fortunately you can do this re-selecting your theme, hitting preview or publish and watching the console output.  You should copy the entire command in the output window which starts:

grunt server-build --outputdir=...

Copy this and paste the command in a new prompt from the location where the framework is installed in your temp folder.  From the looks of the output in your case this would be k:\adapt_authoring\temp\{tenantId}\adapt_framework.  Substitute in the tenantId for the actual value from your output.

This should give the full output from the framework build task and allow you to debug whatever is wrong with the theme.

Hope this helps.

Brian

 

Picture of Simon Ray
Re: Authoring Tool v0.1.1
by Simon Ray - Thursday, 16 July 2015, 3:53 AM
 

Hi Brian

I ran the cmd's as you instructed, first the uninstall which seemed to work.  I then logged back in as me (not admin) and ran the install.  Ignore the first attempt, I forgot the npm bit, but this the result of the install cmd's.

 

I ran the install of adapt-cli in GitBash:

 

I opened the tool, and the same preview error came up, so I tried the next instruction and got the result of 

 

Is there is anything in that that can help work out why it won't preview?

 

Picture of Brian Quinn
Re: Authoring Tool v0.1.1
by Brian Quinn - Monday, 20 July 2015, 11:10 AM
 

Simon,

It looks like either Grunt is not installed or it is not installed globally.  Run the following command:

npm install -g grunt-cli

Regards,

Brian

Picture of Simon Ray
Re: Authoring Tool v0.1.1
by Simon Ray - Tuesday, 14 July 2015, 10:58 PM
 

Hi Brian

Thanks for the response.  I didn't do line 4 as it wasn't in the instructions.

I am running Node 0.10.33

F12 gave this result:

I'll have a look at your other comments below and let you know what's what.

Simon