context icon indicating copy to clipboard operation
context copied to clipboard

Cannot start Context on Linux

Open unoduetre opened this issue 10 years ago • 0 comments

$ git clone 'https://github.com/ccrraaiigg/context.git' $ context/context.app/Contents/RUNME/linux/context.sh context/context.app/Contents/RUNME/linux/context.sh: line 3: ../Contents/Resources/Spoon 3 beta 5 processor.app/Contents/Linux/lib/spoon/4.4.7-2357/spoonvm: No such file or directory

OK, so there is a problem in the line 3 of context.sh. Here it is:

../Contents/Resources/Spoon\ 3\ beta\ 5\ processor.app/Contents/Linux/lib/spoon/4.4.7-2357/spoonvm ../Contents/Resources/Spoon\ 3\ beta\ 5\ processor.app/Contents/Resources/946BE974-48B7-4D11-B209-6355B3E49722.image &

Oh, it's wrong. The reason for that is, that you should be able to start the script from whichever directory you are now currently. Another reason is, that the path is wrong. And here is the corrected version:

"$(dirname "$0")/../../../Contents/Resources/context processor.app/Contents/Linux/lib/spoon/4.4.7-2357/spoonvm" "$(dirname "$0")/../../../Contents/Resources/context processor.app/Contents/Resources/context/memories/946BE974-48B7-4D11-B209-6355B3E49722.image" &

Now move the image: $ mv "context/context.app/Contents/Resources/context processor.app/Contents/Resources/context/memories/946BE974-48B7-4D11-B209-6355B3E49722/946BE974-48B7-4D11-B209-6355B3E49722" "context/context.app/Contents/Resources/context processor.app/Contents/Resources/context/memories/946BE974-48B7-4D11-B209-6355B3E49722.image"

Let's try again: $ context/context.app/Contents/RUNME/linux/context.sh

Hooray, at least the the VM starts correctly now. But why the window contents is all white. It opens the browser tab, but it only shows the message, that it cannot connect. And that's all.

unoduetre avatar Feb 26 '15 18:02 unoduetre