Skip to content

OSError: [WinError 123] 文件名、目录名或卷标语法不正确。 #33

@showlibia

Description

@showlibia

Description of the Issue:

在full-dependecies分支下

OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: '\\?\e:\mofa\python\examples\hello_world\.'
examples/hello_world在Windows11下运行报错

Steps to Reproduce:

  1. conda create -n full python=3.10
  2. pipx install poetry && pipx ensurepath
  3. poetry install
  4. dora up && dora build .\hello_world_dataflow.yml
  5. dora start .\hello_world_dataflow.yml

Environment Information:

  • Operating System: Windows 11
  • Python Version: 3.10.16
  • Dora-rs Version: dora-cli 0.3.9

Additional Information:

dora.exe start .\hello_world_dataflow.yml
attaching to dataflow (use `--detach` to run in background)
ERROR agent: exited with code 1 with stderr output:
---------------------------------------------------------------------------------
[...]        File "D:\Scoop\apps\miniconda3\current\envs\full\lib\site-packages\pkg_resources\__init__.py", line 2333, in find_on_path
          entries = (os.path.join(path_item, child) for child in safe_listdir(path_item))
        File "D:\Scoop\apps\miniconda3\current\envs\full\lib\site-packages\pkg_resources\__init__.py", line 2382, in safe_listdir
          return os.listdir(path)

      OSError: [WinError 123] �ļ�����Ŀ¼�������������ȷ��: '\\\\?\\e:\\mofa\\python\\examples\\hello_world\\.'

Location:
    binaries\runtime\src\operator\python.rs:28:9
---------------------------------------------------------------------------------

Metadata

Metadata

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions