Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign updiesel_cli v1.3 print-schema broken on WIN10 #1723
Comments
This comment has been minimized.
|
This sounds like you don't have the needed rights to read from the postgres information schema with your current user. |
This comment has been minimized.
|
Why would it work on the previous version then? I downgraded to 1.2 and it worked fine. I've tracked the error down to https://github.com/diesel-rs/diesel/blob/master/diesel_cli/src/print_schema.rs#L57, but haven't figured out why its failing yet. |
This comment has been minimized.
Fails on my system. Seems like this is an issue with tempfile. |
This comment has been minimized.
|
Is your temp directory writable for your current user? If not this seems more like a system configuration issue. |
This comment has been minimized.
|
|
This comment has been minimized.
|
I actually think diesel is using tempfile incorrectly. https://docs.rs/tempfile/3.0.2/src/tempfile/file/mod.rs.html#371-374 NamedTempFile already creates a |
This comment has been minimized.
KodrAus
commented
May 23, 2018
|
@Deedasmi that's right, |
Deedasmi commentedMay 23, 2018
Setup
With diesel_cli 1.2:
diesel print-schemagives correct output.With diesel_cli 1.3:
diesel print-schemagivesVersions
Feature Flags
Checklist
Doing some troubleshooting, but it's 1 am and I might pass out. Will figure out cause tomorrow at latest.