Vidispine

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Troubleshooting, because nothing ever works perfectly. This is the companion-guide to the the tutorial How to Build Media Applications With Vidispine Development Toolkit posted on the Vidispine blog.


Git issues

If you experience issues with SSH authentication and permissions, check here for solutions and steps to solve these issues. If you have two-factor authentication turned on you might need to change the protocol used in setup.sh. 

Part 1

Stuck on downloading/has errors when running vue-init

To remedy the issue follow the steps below:

Clone repo manually ( while in the VDT directory). The django template and your project should be on the same directory

$ git clone git@github.com:vidispine/vdt-vue-django-template.git ./vdt-vue-django-template

and point the vue-init to the project.

$ vue-init ./vdt-vue-django-template my-project

Accidentally gave incorrect url or credentials

You can change that in the following file

/my-project/app/settings/local.py

Entered incorrect git password

If you entered incorrect git password when it was prompted and git did not clone the repository, simply repeat that step and continue from there. Do not forget to edit the Vidispine URL in “/home/USER/VDT/my-project/poi.dev.config.js” as well.

Node.js version is incorrect

For Ubuntu this method has worked for us at Vidispine to get the latest:

$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
$ sudo apt-get install -y nodejs

vue-init: command not found

This is due to yarn global $PATH is broken/not set and can be solved by solutions found in this git issuehttps://github.com/yarnpkg/yarn/issues/1321

A workaround is installing global packages with npm:

$ npm install -g vue-cli

Part 2

ESLint complains about import dependencies

Add the comment “// eslint-disable-next-line import/no-extraneous-dependencies” before VdtList import, if the vdt-components were cloned and linked manually. 

Still not working properly?

If you are getting errors and Django does not start successfully, make sure you have all the required packages installed and your SSH key set up properly. Clear your working directory to start fresh, then try going through the steps again.

Unable to render {children}. Page not found: Vidispine Development Toolkit (VDT).
  • No labels