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

Not able to record data #64

Open
tgautam03 opened this issue May 16, 2020 · 1 comment
Open

Not able to record data #64

tgautam03 opened this issue May 16, 2020 · 1 comment

Comments

@tgautam03
Copy link

Hi
I am trying to generate training data on another game and when I run record.py I get the following error.

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\Tushar\miniconda3\lib\tkinter\__init__.py", line 1705, in __call__
    return self.func(*args)
  File "record.py", line 162, in on_btn_record
    self.start_recording()
  File "record.py", line 207, in start_recording
    os.mkdir(self.outputDir)
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:/Users/Tushar/Desktop/github/TensorKart/samples/2020-05-16_13:53:22'
@bzier
Copy link
Collaborator

bzier commented May 18, 2020

There are colons in the directory name, which aren't valid on Windows. You'll probably need to track down where the directory name is generated, based on the current date and time, and change the format to accommodate.

FYI, the development of this project was mostly done on Linux, so you may bump into other issues attempting to run this on Windows.

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