Skip to content

Display-3D error #2380

@APinho1988

Description

@APinho1988

It's been a while that I am using and updating McSTAS all versions and it's not been possible to use the display 3D tool. No matter what I do, I get this error message:

Traceback (most recent call last):
File "C:\mcstas-3.6.5\bin\../lib/tools\Python\mcdisplay\webgl\mcdisplay.py", line 309, in
main(**args)
~~~~^^^^^^^^
File "C:\mcstas-3.6.5\bin\../lib/tools\Python\mcdisplay\webgl\mcdisplay.py", line 280, in main
write_browse(instrument, raybundle, dirname, instr, timeout, **kwds)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\mcstas-3.6.5\bin\../lib/tools\Python\mcdisplay\webgl\mcdisplay.py", line 119, in write_browse
copytree(source.joinpath('dist'), dest)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\mcstas-3.6.5\miniconda3\Lib\shutil.py", line 591, in copytree
with os.scandir(src) as itr:
~~~~~~~~~~^^^^^
FileNotFoundError: [WinError 3] O sistema não pode encontrar o caminho especificado: 'C:\Users\alexa\AppData\mcstas\3.6.5\webgl\dist'

For no reason the mcdisplay always get lost and can not project the instrument geometry so I can double check it before running the code! Is there anyone who can help me on that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions