Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ErrorException: Invalid dependency (must be a url, file, or AssetRegistry path): C:\Users\Stephen\.julia\packages\Knockout\3gjS1\src\..\assets\knockout.js #406

Open
Stephen77777 opened this issue Oct 1, 2021 · 5 comments

Comments

@Stephen77777
Copy link

Hi there,

After entering:

using Interact
ui = button()
display(ui)

I receive the following Exception:

ErrorException: Invalid dependency (must be a url, file, or AssetRegistry path): C:\Users\Stephen.julia\packages\Knockout\3gjS1\src..\assets\knockout.js

If I go to that location, I find there a knockout.jl, but no knockout.js!

Can anyone help?

Regards,
Stephen

@twavv
Copy link
Member

twavv commented Oct 1, 2021

Run Pkg.build()

@Stephen77777
Copy link
Author

Thanks for the pkg>build instruction, but now I am getting:

WebIO not detected.

Please read the troubleshooting guide for more information on how to resolve this issue.

https://juliagizmos.github.io/WebIO.jl/latest/troubleshooting/not-detected/

I have been through the troubleshooting guide many times, but alas to no avail!

@twavv
Copy link
Member

twavv commented Oct 1, 2021

Are you using Jupyter? If so, Jupyter notebook or Jupyter lab? What command are you using to launch Jupyter?

@Stephen77777
Copy link
Author

Stephen77777 commented Oct 1, 2021

I am using Visual Studio Code with Jupyter Notebook , I think! But after having gone through https://juliagizmos.github.io/WebIO.jl/latest/troubleshooting/not-detected/

multiple times, I now have NBextension, Jupyter, and Jupyterlab! This was whilst I was trying to work out what was wrong during my original query!

Jupyter starts in VSCode.

Is there anyway that I can start afresh, without having to download Windows again?

@Stephen77777
Copy link
Author

Stephen77777 commented Oct 3, 2021

Apparently it was the:
C:\Users\Stephen.julia\registries\General - folder which was the problem, which I have deleted! (As explained elsewhere on this site)

I can now use Jupyter in my browser, but I obtain many [Info: statements, of which the last one is very long:

[ Info: running setenv('C:\Users\Stephen\.julia\conda\3\Scripts\jupyter.exe' notebook,["PATH=C:\Users\Stephen\.julia\conda\3\Library\bin;C:\Users\Stephen\.julia\conda\3\Scripts;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\libnvvp;;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\Nsight Compute 2021.2.2\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Users\Stephen\AppData\Local\Microsoft\WindowsApps;;C:\Users\Stephen\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Stephen\.dotnet\tools", "USERDOMAIN_ROAMINGPROFILE=DESKTOP-1209GT6", "HOMEPATH=\Users\Stephen", "GKS_ENCODING=utf8", "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC", "SESSIONNAME=Console", "GKS_USE_CAIRO_PNG=true", "APPDATA=C:\Users\Stephen\AppData\Roaming", "PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules", "SYSTEMROOT=C:\WINDOWS", "COMMONPROGRAMW6432=C:\Program Files\Common Files", "PROGRAMDATA=C:\ProgramData", "PUBLIC=C:\Users\Public", "USERDOMAIN=DESKTOP-1209GT6", "OS=Windows_NT", "PROCESSOR_REVISION=4e03", "TMP=C:\Users\Stephen\AppData\Local\Temp", "COMSPEC=C:\WINDOWS\system32\cmd.exe", "NVTOOLSEXT_PATH=C:\Program Files\NVIDIA Corporation\NvToolsExt\", "JULIA_EDITOR=code", "ALLUSERSPROFILE=C:\ProgramData", "COMPUTERNAME=DESKTOP-1209GT6", "USERNAME=Stephen", "CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4", "USERPROFILE=C:\Users\Stephen", "CONDARC=C:\Users\Stephen\.julia\conda\3\condarc-julia.yml", "NVCUDASAMPLES11_4_ROOT=C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.4", "PROCESSOR_LEVEL=6", "=C:=C:\Users\Stephen\.julia\packages\SciMLTutorials\WrJhL", "PROGRAMW6432=C:\Program Files", "TEMP=C:\Users\Stephen\AppData\Local\Temp", "HOMEDRIVE=C:", "COLORTERM=truecolor", "PYTHONIOENCODING=UTF-8", "WINDIR=C:\WINDOWS", "ZES_ENABLE_SYSMAN=1", "LOCALAPPDATA=C:\Users\Stephen\AppData\Local", "GKSWSTYPE=svg", "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 78 Stepping 3, GenuineIntel", "NUMBER_OF_PROCESSORS=4", "CUDA_PATH_V11_4=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4", "LANG=en_GB.UTF-8", "FONTCONFIG_FILE=C:\Users\Stephen\.julia\artifacts\c916a560fa109a4db3d6938a8ab1a6a8b4a09731\etc\fonts\fonts.conf", "COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files", "GKS_FILEPATH=C:\Users\Stephen\AppData\Local\Temp\jl_IVm8DgmQQq.png", "TERM_PROGRAM_VERSION=1.60.2", "COMMONPROGRAMFILES=C:\Program Files\Common Files",
"JULIA_NUM_THREADS=", "ONEDRIVE=C:\Users\Stephen\OneDrive", "GRDIR=C:\Users\Stephen\.julia\artifacts\5ce66af8188c33bae0818fdd3ec61df9e74cc6d1\bin\..", "TERM_PROGRAM=vscode", "PROGRAMFILES(X86)=C:\Program Files (x86)", "PROGRAMFILES=C:\Program Files", "GKS_FONTPATH=C:\Users\Stephen\.julia\artifacts\5ce66af8188c33bae0818fdd3ec61df9e74cc6d1\bin\..", "CHROME_CRASHPAD_PIPE_NAME=\\.\pipe\crashpad_6420_AVWGHXTBKYBOIHPS", "LOGONSERVER=\\DESKTOP-1209GT6", "DRIVERDATA=C:\Windows\System32\Drivers\DriverData", "ORIGINAL_XDG_CURRENT_DESKTOP=undefined", "FONTCONFIG_PATH=C:\Users\Stephen\.julia\artifacts\c916a560fa109a4db3d6938a8ab1a6a8b4a09731\etc\fonts", "CONDA_PREFIX=C:\Users\Stephen\.julia\conda\3", "FPS_BROWSER_USER_PROFILE_STRING=Default", "ASL.LOG=Destination=file", "SYSTEMDRIVE=C:", "FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer", "NVCUDASAMPLES_ROOT=C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.4", "PROCESSOR_ARCHITECTURE=AMD64", "OPENBLAS_MAIN_FREE=1"])
^C
Process(setenv('C:\Users\Stephen\.julia\conda\3\Scripts\jupyter.exe' notebook,["PATH=C:\Users\Stephen\.julia\conda\3\Library\bin;C:\Users\Stephen\.julia\conda\3\Scripts;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\libnvvp;;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\Nsight
Compute 2021.2.2\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Users\Stephen\AppData\Local\Microsoft\WindowsApps;;C:\Users\Stephen\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Stephen\.dotnet\tools", "USERDOMAIN_ROAMINGPROFILE=DESKTOP-1209GT6", "HOMEPATH=\Users\Stephen", "GKS_ENCODING=utf8", "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC", "SESSIONNAME=Console", "GKS_USE_CAIRO_PNG=true", "APPDATA=C:\Users\Stephen\AppData\Roaming", "PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules", "SYSTEMROOT=C:\WINDOWS" … "ORIGINAL_XDG_CURRENT_DESKTOP=undefined", "FONTCONFIG_PATH=C:\Users\Stephen\.julia\artifacts\c916a560fa109a4db3d6938a8ab1a6a8b4a09731\etc\fonts", "CONDA_PREFIX=C:\Users\Stephen\.julia\conda\3", "FPS_BROWSER_USER_PROFILE_STRING=Default", "ASL.LOG=Destination=file", "SYSTEMDRIVE=C:", "FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer", "NVCUDASAMPLES_ROOT=C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.4", "PROCESSOR_ARCHITECTURE=AMD64", "OPENBLAS_MAIN_FREE=1"]; dir="C:\Users\Stephen\.julia\packages\SciMLTutorials\WrJhL\src\..\notebook"), ProcessRunning)

Is this normal, or is there something which needs remedied?

Could it be the following statements, which should go somewhere, but are flagged as errors if I try putting them at the top of Project.toml, or Manifest.toml? (Using VSCode!)

cd(@DIR)
using Pkg; Pkg.activate("."); Pkg.instantiate()

Regards,
Stephen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants