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

Failure to create lock file #95

Open
BEN00262 opened this issue Jun 19, 2022 · 3 comments
Open

Failure to create lock file #95

BEN00262 opened this issue Jun 19, 2022 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@BEN00262
Copy link
Contributor

vsql>
vsql> create table products (title character varying(100), price float);
msg: Option('CREATE TABLE 1')
1 row (0 ms)

vsql> INSERT INTO products (title, price) VALUES ('Instant Pot', 144.89);
cli execution error: cannot create lock file sample2.vsql.lock
@BEN00262
Copy link
Contributor Author

Happening in windows version 20H2 ( OS Build 19042.1706)
Vlang version: V 0.2.4 e031096

@elliotchance elliotchance added bug Something isn't working help wanted Extra attention is needed labels Jun 19, 2022
@elliotchance elliotchance added this to the v1.0.0 milestone Jun 19, 2022
@elliotchance
Copy link
Owner

The error message is coming from internal V through flock_windows.c.v which is untested other than through CI and CI doesn't even run windows so that's not even valid.

I wonder if it's something obvious like permissions, an invalid path (slashed maybe?) or trying to put the file somewhere it shouldn't? I'm not actually able to conform this without a windows machine...

@BEN00262
Copy link
Contributor Author

will try to locate and fix it ( using a windows machine atm )

@elliotchance elliotchance mentioned this issue Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants