Closed andre-msousa closed 5 years ago
Thanks for the great solution! The same trouble here: when my desktop is password locked, the script returns error. Is there any workaround for this?
I guess this is because pywinauto cannot accuire GUI context when not logged in or when desktop is locked. Here are some workarounds but I didn't try them yet. Let us know if you find a solution.
@AlexeyPrishchepo & @andre-msousa
Hey Guys, I have the same issue. Did you guys find a way around it? Thank you
Hey, I finally gave up looking for workarounds and installed and configured on-premises data gateway in personal mode and it worked. Had some troubles with date columns and so on but successfully resolved them with ms support.
I have added steps how to schedule it in Task scheduler into readme https://github.com/dubravcik/pbixrefresher-python/blob/master/README.md btw user has to be logged in, it doesn't work without it as it needs active GUI in Windows.
Hey man, first of all, congratulations for this solution.
I'm trying to used it on a server, with the Task Scheduler of Windows. Works pretty well when I'm logged on, but every time it running trough the Task Scheduller, without a user logged, I get an error.
How was the solution you found to automate this process?
Thanks in advance.