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
Hi!
First of all thanks for making this lib open, learned a bunch from your code and your blog posts.
I was having an issue with opening/writing pins.
Looks like the bridge is reading files from 'DefaultAccount', but I was running an app with my 'administrator' account (note lowercase a at the start), so it is writing to administrator/Packages
Line 29 in GPioController is doing the replacement for 'Administrator'. Maybe lowercase comparation is needed here
(Running a Pi 2 B with Win 10.0.15063.0)
Thanks!
Regards,
Diego
The text was updated successfully, but these errors were encountered:
I think this is down to your setup most ppl don't create a standard user account called "administrator" but as for your case sensitivity you can use Regex to be case sensitive so change line 29 to
Hey - thank you @dicosta and @barkermn01 for the discussion! Sorry I haven't been as active on this as usual, new baby in the house and things are a bit hectic....
You are right @dicosta - having this hardcoded is probably (well definitely) not the best way to manage the user account. I hope that the workaround from @barkermn01 helps - I'll have a think how best to refactor this code to make it independent of the username, or at least parameterise it.
Hi!
First of all thanks for making this lib open, learned a bunch from your code and your blog posts.
I was having an issue with opening/writing pins.
Looks like the bridge is reading files from 'DefaultAccount', but I was running an app with my 'administrator' account (note lowercase a at the start), so it is writing to administrator/Packages
Line 29 in GPioController is doing the replacement for 'Administrator'. Maybe lowercase comparation is needed here
(Running a Pi 2 B with Win 10.0.15063.0)
Thanks!
Regards,
Diego
The text was updated successfully, but these errors were encountered: