Assign the given path's format is not supported 오류 (path에는 문제 없으나 발생하는 알수 없는 오류 )

기존 pc에서 쓰던 소스코드를 다른 pc로 옮겨와 테스트 하는 중에 알 수 없는 오류가 발생하여 문의 드립니다.

오류 assign

  • 사용한 액티비티, 왼쪽 변수는 string array 형식입니다.

변수값

  • 사용된 함수 및 변수 (path_of_wordfile 변수에는 디렉토리 경로가 들어가있으며 string 형식입니다)

오류메세지출력

  • 실행 시 출력되는 메세지

새로운 시퀀스를 생성하여 같은 assign을 사용하면 정상적으로 실행되나 main프로세스에서만 assign이 제대로 실행되지 않는 오류가 발생합니다
원인이 무엇일까요?
변수에 입력된 경로는 오류 없이 입력하였습니다(새로운 시퀀스파일에서는 오류가 안나는것을 보면 알수 있음)

*path_of_wordfile을 출력해 봣을때는 경로가 정상적으로 출력되고
directory.getfiles함수를 message box로 출력했을 때 오류가 발생합니다

Hi,

Can you share content of path_of_wordFile?
If it’s url style like http://forum.uipath.com for example , it won’t work.

Regards,

contents of word file is

“C:\Users\user\Desktop\워드파일”

it is directory path

HI,

For now, can you check it with hard coding as the following?

image

If it’s no problem , we need to investigate path_of_wordFile variable.

For example, use the following expression in order to checking each character.

String.Join(",",path_of_wordFile.Select(Function(c) Ascw(c).ToString))

Regards,