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 · 1 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

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>

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

2 participants