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

What's wrong with -t all option for generating projects? #174

Open
stalker57241 opened this issue Apr 8, 2023 · 2 comments
Open

What's wrong with -t all option for generating projects? #174

stalker57241 opened this issue Apr 8, 2023 · 2 comments

Comments

@stalker57241
Copy link

Traceback (most recent call last):
  File "D:\programs\oxygine\oxygine-framework\tools\gen_template.py", line 383, in <module>
    run(args)
  File "D:\programs\oxygine\oxygine-framework\tools\gen_template.py", line 67, in run
    _run(args)
  File "D:\programs\oxygine\oxygine-framework\tools\gen_template.py", line 362, in _run
    process_folder(top_path, args.dest + "/")
  File "D:\programs\oxygine\oxygine-framework\tools\gen_template.py", line 303, in process_folder
    for src in os.listdir(path):
               ^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 3] Системе не удается найти указанный путь: 'D:\\programs\\oxygine\\oxygine-framework\\tools/templates/proj.all//'

When I finally tried to create all templates for projects, this message appeared. Command: python gen_template.py LearnProject2 --type all -d E:\oxygine\learn_project2 (-t all I tried first, but it won't work)

@stalker57241
Copy link
Author

stalker57241 commented Apr 8, 2023

And what's wrong with generation of projects with python scripts principially?!!! When I created project, this put solution files right into directional folder, not subfolder

@guanka
Copy link

guanka commented Jan 6, 2024

It seems that an error in process_folder(top_path, args.dest + "/"), the windows path separators different from unix system. you'd better try to change the "/" to "\"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants