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

CF Tool panic #124

Open
GoodCoder666 opened this issue Jan 26, 2021 · 5 comments
Open

CF Tool panic #124

GoodCoder666 opened this issue Jan 26, 2021 · 5 comments

Comments

@GoodCoder666
Copy link

The console looks like this:

C:\Users\admin>cf config
panic: regexp: Compile(`E:\C++\CodeForces/contest/((?P<contestID>\d+)/((?P<problemID>\w+)/)?)?`): error parsing regexp: invalid escape sequence: `\C`
@Siddhant-K-code
Copy link

E:\C++\CodeForces/contest/

Try This part to :

E:/C++/CodeForces/contest/

@GoodCoder666
Copy link
Author

Thanks! Now I've removed the configuration file and set the path to E:/C++/CodeForces/contest/.
But I think this is a bug of cf-tool because using backslash as path seperators is valid on Windows.
I'll keep this issue open until the bug is fixed.

@Siddhant-K-code
Copy link

backslash as path seperators

btw I am not sure about it, but VSCode also doesn't accept it!!

@cosenza987
Copy link

Thanks! Now I've removed the configuration file and set the path to E:/C++/CodeForces/contest/.
But I think this is a bug of cf-tool because using backslash as path seperators is valid on Windows.
I'll keep this issue open until the bug is fixed.

where is the configuration file located?

@zdgrgddzg
Copy link

where is the configuration file located?

File:
cf will save some data in some files:

"~/.cf/config" Configuration file, including templates, etc.
"~/.cf/session" Session file, including cookies, handle, password, etc.

"~" is the home directory of current user in your system.

from this

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

4 participants