You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for taking the time to build this great tool. When attempting to install on windows I get errors regarding boxcars-py. I then downloaded v.0.6.10 and when I attempt to run the py init.py, I get the following error:
traceback (most recent call last):
File ".\init.py", line 17, in
Initialize_project()
File ".\init.py", line 12, in initialize_project
create_proto_files()
File "C:\Users<User>\Projects\carball-0.6.10\utils\create_proto.py", line 77, in create_proto_files
file_list = get_file_list(top_level_dir='api', file_extension='.proto')
File "C:\Users<User>\Projects\carball-0.6.10\utils\create_proto.py", line 63, in get_file_list
deepness = get_deepness(top_level_dir, path_list)
File "C:\Users<User>\Projects\carball-0.6.10\utils\create_proto.py", line 50, in get_deepness
return len(path_list) - path_list.index(top_level_dir)
ValueError: 'api' is not in list
A similar error occurs on Windows subsytem.
pip install worked on linux machine (Ubuntu 20.04)
The text was updated successfully, but these errors were encountered:
Making this switch got it working for me on windows, in utils/create_proto.py
old line: proto_dir = [x[0] for x in os.walk(current_dir) if top_level_dir in x[0] and 'pycache' not in x[0]]
new line: proto_dir = [x[0] for x in os.walk(os.getcwd()) if top_level_dir in x[0] and 'pycache' not in x[0]]
Hello,
Thanks for taking the time to build this great tool. When attempting to install on windows I get errors regarding boxcars-py. I then downloaded v.0.6.10 and when I attempt to run the py init.py, I get the following error:
traceback (most recent call last):
File ".\init.py", line 17, in
Initialize_project()
File ".\init.py", line 12, in initialize_project
create_proto_files()
File "C:\Users<User>\Projects\carball-0.6.10\utils\create_proto.py", line 77, in create_proto_files
file_list = get_file_list(top_level_dir='api', file_extension='.proto')
File "C:\Users<User>\Projects\carball-0.6.10\utils\create_proto.py", line 63, in get_file_list
deepness = get_deepness(top_level_dir, path_list)
File "C:\Users<User>\Projects\carball-0.6.10\utils\create_proto.py", line 50, in get_deepness
return len(path_list) - path_list.index(top_level_dir)
ValueError: 'api' is not in list
A similar error occurs on Windows subsytem.
pip install worked on linux machine (Ubuntu 20.04)
The text was updated successfully, but these errors were encountered: