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

FileNotFoundError python continuum_snake.py #323

Closed
dvogureckiy99 opened this issue Jan 14, 2024 · 1 comment
Closed

FileNotFoundError python continuum_snake.py #323

dvogureckiy99 opened this issue Jan 14, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dvogureckiy99
Copy link

Describe the bug
I tried to run continuum_snake_render.py example

To Reproduce
First script goes well.

python continuum_snake.py        
Total steps 220199
100%|█████████████████████████████████████████████████████████████████████| 220199/220199 [01:26<00:00, 2549.20it/s]
Final time of simulation is :  11.009999999978538
Datafile Created

But next bad:

python continuum_snake_render.py 
Scripting: 100%|█████████████████████████████████████████████████████████████████| 220/220 [00:00<00:00, 561.22it/s]
Rendering:   0%|                                                                            | 0/440 [00:00<?, ?it/sm 
ultiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "C:\Users\dvogureckiy99\miniconda3\envs\PyElastica\lib\multiprocessing\pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "C:\dvogureckiy99\2_Education\ITMO\DMS\elastica\PyElastica\examples\Visualization\_povmacros.py", line 126, in render
    process = subprocess.Popen(
  File "C:\Users\dvogureckiy99\miniconda3\envs\PyElastica\lib\subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\dvogureckiy99\miniconda3\envs\PyElastica\lib\subprocess.py", line 1327, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Не удается найти указанный файл
"""
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "continuum_snake_render.py", line 164, in <module>
    for message in p.imap_unordered(func, batch):
  File "C:\Users\dvogureckiy99\miniconda3\envs\PyElastica\lib\multiprocessing\pool.py", line 868, in next
    raise value
FileNotFoundError: [WinError 2] Не удается найти указанный файл
Rendering:   0%|                                                                            | 0/440 [00:02<?, ?it/s]

Environment

  • Python 3.8
  • Numpy as in dependencies
  • PyElastica last
  • OS Windows 10, Device Lenovo IdeaPad 310-ISK
@dvogureckiy99 dvogureckiy99 added the bug Something isn't working label Jan 14, 2024
@bhosale2
Copy link
Collaborator

bhosale2 commented Feb 1, 2024

hi @dvogureckiy99 the ContinuumSnakeCase has no file called continuum_snake_render.py. Hence you get the FileNotFoundError. Please re check the names of existing scripts before running them. @armantekinalp feel free to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants