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

CreateProcess error=206, The filename or extension is too long when running examples #434

Open
skalarproduktraum opened this issue Jan 20, 2022 · 5 comments
Labels
build-system Issue or PR concerns build system, dependencies, etc. has workaround A workaround for the issue is available and contained in the issue description or comments. upstream-issue Issue stems from problem in upstream library windows Concerns only Windows

Comments

@skalarproduktraum
Copy link
Member

skalarproduktraum commented Jan 20, 2022

Description

When running sciview from IntelliJ, the error CreateProcess error=206, The filename or extension is too long might occur. This is a known issue in IntelliJ.

Workaround

The problem can be solved by adding the following in .idea/workspace.xml:

<component name="PropertiesComponent">
...
     <property name="dynamic.classpath" value="true"/>
...
</component>

Should the .idea/workspace.xml file not exist, close and re-open the IntelliJ project. Sometimes IntelliJ does not write out project files right on first import.

Source: https://youtrack.jetbrains.com/issue/IDEA-166929

@skalarproduktraum skalarproduktraum added windows Concerns only Windows upstream-issue Issue stems from problem in upstream library build-system Issue or PR concerns build system, dependencies, etc. has workaround A workaround for the issue is available and contained in the issue description or comments. labels Jan 20, 2022
@skalarproduktraum skalarproduktraum pinned this issue Jan 20, 2022
@smlpt
Copy link
Contributor

smlpt commented Mar 17, 2023

The properties seem to be stored in a JSON format now. What worked for me was to add the property like this:

<component name="PropertiesComponent">{
"keytostring": {
    ...
    "dynamic.classpath": "true"
    ...
    }
}</component>

@kephale
Copy link
Member

kephale commented Jun 9, 2024

What is the situation with this now @skalarproduktraum @smlpt ?

@smlpt
Copy link
Contributor

smlpt commented Jun 11, 2024

@kephale In my latest IDEA install, I didn't need to add this change to the workspace.xml, so maaybe it is solved? Would be good to check if anyone else still needs it. @moreApi maybe?

@skalarproduktraum
Copy link
Member Author

I have also not seen this error in a while, IntelliJ seems to handle it gracefully now. I'd keep it pinned though in case somebody stumbles over it again.

@moreApi
Copy link
Member

moreApi commented Jun 11, 2024

I never had that problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-system Issue or PR concerns build system, dependencies, etc. has workaround A workaround for the issue is available and contained in the issue description or comments. upstream-issue Issue stems from problem in upstream library windows Concerns only Windows
Projects
None yet
Development

No branches or pull requests

4 participants