STM32CubeMX project importer failed with exception

Sysprogs forums Forums VisualGDB STM32CubeMX project importer failed with exception

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12164
    jeneena
    Participant

    I’m testing new STM32CubeMX project importer.

    I selected .gpdsc file, then click “Finish”, but import failed with exception (System.ArgumentException – illegal characters in path).

    Did i do anything wrong?

    *Settings:

    -All default options.

    -Checked “Move Visual Studio project to the imported project directory”

    -No blank or special characters in project path.

     

     

    VisualGDB version: 5.3.6.1730
    —————— System.ArgumentException ——————
    System.ArgumentException: 경로에 잘못된 문자가 있습니다. –> “illegal characters in path”
    위치: System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
    위치: System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
    위치: yx1.h(String c, String a, Boolean b)
    위치: nt.b.b(ImportedFile a)
    위치: System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
    위치: System.Linq.Buffer1..ctor(IEnumerable1 source)
    위치: System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
    위치: nt.a(VirtualDirectory b, String a)
    위치: nt.b.c(VirtualDirectory a)
    위치: System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
    위치: System.Linq.Buffer1..ctor(IEnumerable1 source)
    위치: System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
    위치: nt.a(VirtualDirectory b, String a)
    위치: nt.b.c(VirtualDirectory a)
    위치: System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
    위치: System.Linq.Buffer1..ctor(IEnumerable1 source)
    위치: System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
    위치: nt.a(VirtualDirectory b, String a)
    위치: k41.d(String b, ImportedExternalProject a)
    위치: VisualGDB.Wizard.Embedded.EmbeddedProjectWizardImpl.a(EmbeddedWizardState b, IProjectEditContext d, String e, String c, xl a)
    위치: VisualGDB.Wizard.Embedded.EmbeddedProjectWizardImpl.DoRunWizardOrThrowException(xl a, String b, String c)
    위치: oj1`1.Execute(Object d, Int32 e, Object[]& c, Object[]& b, wizardResult& a)

    • This topic was modified 6 years, 8 months ago by jeneena.
    • This topic was modified 6 years, 8 months ago by jeneena.
    Attachments:
    You must be logged in to view attached files.
    #12181
    support
    Keymaster

    Hi,

    Please try using this build: http://sysprogs.com/files/tmp/VisualGDB-5.3.7.1746.msi

    It will display the path that caused the exception.

    #12182
    jeneena
    Participant

    Thank you.
    I tested with build as you mentioned, it failed with exception like this:

    —————— System.Reflection.TargetInvocationException ——————
    System.Reflection.TargetInvocationException: GetRelativePath(‘C:\Users\bryce\Desktop\test\stm32cubemx_test’, ‘C:\Users\bryce\Desktop\test\stm32cubemx_test\Middlewares\Third_Party\LwIP\src\include\*‘) failed –
    illegal characters in path. —> System.ArgumentException: illegal characters in path.

    it looks like the path contains wildcard(‘*’).

    Is this the cause of the problem?

     

    —-

    VisualGDB version: 5.3.7.1746
    —————— System.Reflection.TargetInvocationException ——————
    System.Reflection.TargetInvocationException: GetRelativePath(‘C:\Users\bryce\Desktop\test\stm32cubemx_test’, ‘C:\Users\bryce\Desktop\test\stm32cubemx_test\Middlewares\Third_Party\LwIP\src\include\*’) failed – 경로에 잘못된 문자가 있습니다. —> System.ArgumentException: 경로에 잘못된 문자가 있습니다.
    위치: System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
    위치: System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
    위치: fg1.g(String a, String c, Boolean b)
    — 내부 예외 스택 추적의 끝 —
    위치: fg1.g(String a, String c, Boolean b)
    위치: zl.a.b(ImportedFile a)
    위치: System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
    위치: System.Linq.Buffer1..ctor(IEnumerable1 source)
    위치: System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
    위치: zl.b(VirtualDirectory b, String a)
    위치: zl.a.c(VirtualDirectory a)
    위치: System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
    위치: System.Linq.Buffer1..ctor(IEnumerable1 source)
    위치: System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
    위치: zl.b(VirtualDirectory b, String a)
    위치: zl.a.c(VirtualDirectory a)
    위치: System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
    위치: System.Linq.Buffer1..ctor(IEnumerable1 source)
    위치: System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
    위치: zl.b(VirtualDirectory b, String a)
    위치: e11.c(String b, ImportedExternalProject a)
    위치: VisualGDB.Wizard.Embedded.EmbeddedProjectWizardImpl.g(EmbeddedWizardState b, IProjectEditContext c, String a, String e, s d)
    위치: VisualGDB.Wizard.Embedded.EmbeddedProjectWizardImpl.DoRunWizardOrThrowException(s b, String a, String c)
    위치: lm`1.Execute(Object d, Int32 a, Object[]& e, Object[]& c, wizardResult& b)
    —————— Inner exception ——————
    —————— System.ArgumentException ——————
    System.ArgumentException: 경로에 잘못된 문자가 있습니다.
    위치: System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
    위치: System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
    위치: fg1.g(String a, String c, Boolean b)

    #12187
    support
    Keymaster

    Hi,

    Thanks, we have fixed this in the following build: http://sysprogs.com/files/tmp/VisualGDB-5.3.7.1748.msi

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.