facebook

How to install Codemix so it does not run from the user folder

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #601428 Reply

    Richard
    Participant

    Eclipse creates a folder for CodeMix in my local Users folder. CodeMix can’t start because I don’t have permissions to run a program from that folder. I can run from say a network folder. Is there a way to tell CodeMix to put that folder on say V:\CodeMix\.codemix instead of in the User profile folder? If I could do that, then CodeMix would work. Is there a config file where I can specify that?

    #601429 Reply

    Aaron Lara
    Member

    Richard, thanks for reaching out! This is a very good request. Right now we don’t provide a way to tell CodeMix to be executed in a different location but we will work on a solution for it and let you know.

    For now you can override the user.home variable by editing the eclipse.ini file and adding -Duser.home=V:\alternate\home after -vmargs.
    It should be enough to make it work but this might impact other things like default git directory.

    Cheers!
    Aaron Lara

    #601563 Reply

    Richard
    Participant

    I got further doing this but CodeMix still creates another .codemix folder under my windows user folder for the extensions and then that dies because of trying to run something there and does not complete downloading the extensions. I can work for a while until I run into an error: An internal error occurred during: “Requesting installed extensions”.
    java.net.UnknownHostException: walther.labs.local

    #601567 Reply

    Aaron Lara
    Member

    Richard, we are actively working on a solution for this. When we get a fix (most likely later today) can you help us verifying it works at your end? We can export a couple of plugins that you can replace in your installation.

    Thanks!
    Aaron Lara

    #601578 Reply

    Aaron Lara
    Member

    Richard, we have come up with a fix for this issue and we will include it in our next release. It would be really helpful if you are able to test our fix.

    1. Shut down eclipse
    2. Download and extract the attached plugins.zip file.
    3. Replace the plugins in your eclipse install location by the downloaded ones.
    4. Edit the file <eclipse install location>\configuration\.settings\com.genuitec.eclipse.code.core.prefs by adding:
    codemix.data.location=V:\\alternate\\location
    5. Execute eclipse and make sure it works.

    Note: in our final fix we will also include a preference page to edit this value from the UI.

    Hopefully this gets you up and going. Let us know the result.

    Cheers!
    Aaron Lara

    • This reply was modified 6 years ago by Aaron Lara.
    • This reply was modified 6 years ago by Aaron Lara.
    • This reply was modified 6 years ago by Aaron Lara.
    Attachments:
    You must be logged in to view attached files.
    #601582 Reply

    Richard
    Participant

    I can test it tomorrow when I get back in the office since it is that network where the issue exists. Will get back to you with the results then.

    #601584 Reply

    Aaron Lara
    Member

    Thanks Richard, I appreciate!

    #601649 Reply

    Richard
    Participant

    It worked. The only other issue I am having is when it tries to update the Extensions, it gets an Unknown Host error: walther.labs.local
    Is your code using a Port for this URL? Most of our ports are blocked if they are NON-standard. I could possibly get this port in-blocked if I knew what it was.

    #601652 Reply

    Aaron Lara
    Member

    Hey Richard!, It’s good to know CodeMix is at least starting up now. Regarding the UnknownHostException, we download extensions by directly connecting to http://downloads.genuitec.com.

    It would help if you can share your workspace log file with us. Additionally, do you see the engine connected? (bottom left of the IDE). A ScreenShot might help as well.

    #601654 Reply

    Aaron Lara
    Member

    Richard, additional to what I already requested. Here are some steps you can perform so we can have a better understanding of what’s happening at your system:

    1. Shut down eclipse
    2. Edit eclipse.ini and the following lines after -vmargs
    -Dcom.genuitec.eclipse.engine.log=true
    -Dcom.genuitec.eclipse.engine.log.verbose=true
    3. Launch Eclipse and wait until you get the error.
    4. Share this file to us: <codemix data location>/.codemix/codemix-<timestamp>

    Thanks in advance!

    #601656 Reply

    Richard
    Participant

    CodeMix Engine starts up fine. I just get the error when I try to download the Angular and Web extensions. I have attached the logs as requested.

    Attachments:
    You must be logged in to view attached files.
    #601659 Reply

    Aaron Lara
    Member

    Richard. That error is weird since we don’t use walther.labs.local as host anywhere. If you are behind a proxy it’s possible that it’s blocking access to http://downloads.genuitec.com … Can you try to access this URL in your browser?

    #601692 Reply

    Richard
    Participant

    I found the walther.labs.local entry. It was a setting for an old proxy server. I found the new one and that fixed it. So we are good to go. Everything is working great.

    #601715 Reply

    Aaron Lara
    Member

    Those are awesome news! Thank you very much! You can now remove the log arguments added to the eclipse.ini if you want.

    This fix will land in our next CodeMix release thanks to you.

    Cheers!
    Aaron Lara

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: How to install Codemix so it does not run from the user folder

You must be logged in to post in the forum log in