andlo / zzztheia-ide-skill Goto Github PK
View Code? Open in Web Editor NEWInstalls and setup theia ide localy on your device
License: GNU General Public License v3.0
Installs and setup theia ide localy on your device
License: GNU General Public License v3.0
To fix this for the moment copy .editorconfig from files dolder in skill folder to /opt/mycroft/skills
The .editorconfig is the way to configure the Monaco-editor which is used by THEIA.
The skill is running under mycroft user - that includes the therminal.
I would be more correct that the whole IDE were running under the pi user
warning @theia/cli > @theia/application-manager > less > request > hawk > [email protected]: This version is no longer maintained. Please upgrade to the latest version.
warning @theia/cli > @theia/application-manager > less > request > hawk > [email protected]: This version is no longer maintained. Please upgrade to the latest version.
warning @theia/cli > @theia/application-manager > less > request > hawk > cryptiles > [email protected]: This version is no longer maintained. Please upgrade to the latest version.
warning @theia/cli > @theia/application-manager > less > request > hawk > [email protected]: This version is no longer maintained. Please upgrade to the latest version.
warning @theia/cli > @theia/application-manager > less > request > hawk > boom > [email protected]: This version is no longer maintained. Please upgrade to the latest version.
warning @theia/cli > @theia/application-manager > less > request > hawk > sntp > [email protected]: This version is no longer maintained. Please upgrade to the latest version.
warning @theia/cli > @theia/application-manager > webpack-cli > jscodeshift > [email protected]: Package no longer supported. Contact [email protected] for more info.
warning @theia/cli > @theia/application-manager > webpack-cli > webpack-addons > jscodeshift > [email protected]: Package no longer supported. Contact [email protected] for more info.
~~~~ion-manager > webpack-cli > webpack-addons > jscodeshift > [email protected]: ๐ Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update
~~~~ng @theia/cli > @theia/application-manager > css-loader > cssnano > postcss-merge-rules > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning @theia/cli > @theia/application-manager > css-loader > cssnano > autoprefixer > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
~~~~> @theia/application-manager > css-loader > cssnano > postcss-merge-rules > caniuse-api > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
........
error An unexpected error occurred: "https://registry.yarnpkg.com/@theia/core/-/core-0.3.16.tgz: ESOCKETTIMEDOUT".
........
error Command "theia" not found.
12:20:45.133 - TheiaIde - INFO - THEIA IDE is installed and configured
12:20:45.134 - TheiaIde - INFO - Starting THEIA IDE
12:20:45.175 - mycroft.skills.core:load_skill:145 - INFO - Loaded theia-ide-skill.andlo
12:20:45.182 - mycroft.skills.core:load_skill:149 - INFO - First run of theia-ide-skill.andlo
..........
yarn run v1.12.3
error Command "theia" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
as msm dont cleanup the safe folde under ~/.mycroft/skills/TheiaIde the installer thinks the skill is alreddy installed.
Proprose that skill installer make a better check if older contains old stuf and delet that.
as a workaround remove old skill - delete the folder and installl latest skill
errror about missing https....
I am working on this. To get git working on mark_1 i did compile gil and inglude that into the package. So think this is where I have to look....
I think tehre should be a file exists check after build has finish to make sure the file are in place - check for yarn and studd in node_modules
Traceback (most recent call last):
File "/tmp/pip-install-6j3ipsen/pyls/setup_utils/distribute_setup.py", line 143, in use_setuptools
raise ImportError
ImportError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-6j3ipsen/pyls/setup.py", line 31, in <module>
main()
File "/tmp/pip-install-6j3ipsen/pyls/setup.py", line 11, in main
distribute_setup.use_setuptools()
File "/tmp/pip-install-6j3ipsen/pyls/setup_utils/distribute_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/tmp/pip-install-6j3ipsen/pyls/setup_utils/distribute_setup.py", line 124, in _do_download
to_dir, download_delay)
File "/tmp/pip-install-6j3ipsen/pyls/setup_utils/distribute_setup.py", line 193, in download_setuptools
src = urlopen(url)
File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.5/urllib/request.py", line 472, in open
response = meth(req, response)
File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.5/urllib/request.py", line 510, in error
return self._call_chain(*args)
File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: SSL is required
On a fresh install of the skill on a freshly flashed mark_1 the language service dosnt seem to function.
Right now the skill just starts theia. There is no way to stop or restart.
It seems that the version of python3 is 3.4 and I think python language server needs at least version 3.5
This needs to be investigated.
This issue originate from PR #19
For wich platforms should there be precompiled packages ?
I think picroft and mark_2 and maybe raspbian (arm)
I am not sure a precompiled package o a ubuntu will run on a fedora....Bur maybe this should be tested and if so then we could make packages for 32 and 64 bit linux.
There is need for better erorhandling in the installation.
Right now it just call a installation script, and no matter how that goes the skill thinks it has done the installation. Some sort of error handling is needed.
if self.settings.get('theia installed') is None:
copy_tree(AppPath + '/files/', SafePath)
os.system(SafePath + '/install.sh ' + SafePath +
' >' + SafePath + '/install.log')
# Some error checking would be fine here ;)
self.log.info("THEIA IDE is installed and configured")
self.settings['theia installed'] = 'True'
As Theia is running on a mycroft devie, there is posibility for voice interaction and responses.
But what could be good, fun or helpfull ?
Having Mycroft telling all errors from linting isnt that smat I think.
But maybe stuff like:
"Open volume-skill in IDE" - opens the skilldir as a workspace
"Deactivate skill" makes a skill deactiveted, so we can work on it whitout mycroft keeps saying there is an error in XXX skill.
l
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.