-
Notifications
You must be signed in to change notification settings - Fork 4
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
Mac OS X mode issues #43
Comments
Thank you. |
I doubt that File "/usr/local/lib/python2.7/site-packages/dialog.py", line 485, in _path_to_executable
"can't find the executable for the dialog-like "
dialog.ExecutableNotFound We should probably catch this exception for systems that don't have dialog installed and report a nice error message... |
Another option: create a custom This way, when a user starts |
We should also fix the |
Yes, this would be better, we can then delete the dialog dependency for Mac OS X as it doesn’t work anyway so it’s quite useless to download this dependency. |
You just need |
Thanks, does In the new |
Ok, I didn't knew that such a package existed for Mac OS X and it appears to work. |
@probberechts Thank you for reporting this, I've updated the Mac OSX dependencies. |
The dialog communicator draws a screen with an overview of the different steps of the netlogin process. The implementation keeps track of the current step (to be updated on the next event) via a custom login/logout/forcelogin-specific iterator object. Having the dialog dependency lazy-imported via the Fabriek, allows kotnetcli to be used without having to install dialog (issue #43 ).
@Wouter92 Communicators have undergone major changes lately. Lazy importing of communicator dependencies should work smoothly now. Could you try it out on OS X? Also, could you give the new Qt GUI front-end a try: $ git checkout dev-communicators
$ ./kotnetcli-runner.py # or ./kotnetcli-dummy.py if not on KotNet
$ ./kotnetcli-runner.py --dialog
$ ./kotnetgui-runner.py If no more OS X problems arise, this one can be closed. |
Ok, these are my results: The first one sometimes fails, when it fails I get:
This is partly due to a bug here: the "self" is too much ;). But after fixing that bug I get this:
The dialog doesn't work for some reason, when I try it says The gui version works always (that's because it uses the DummyBrowser). |
Nice thanks!
Good catch! You can open a pull request if you like.
Ok, interesting. I'll open a new bug report for that one.
All right. That's the expected behaviour: failing gracefully. However, I was not expecting an
:-) |
Pull request done. Ok, after doing |
Hmm, the problem here is that a new exception is raised while in the process of displaying additional info on the previous one... The current communicators do not anticipate such a scenario. That's also why the ColoramaCommunicator above ouputs two |
These modes currently don't work on Mac OS X:
The text was updated successfully, but these errors were encountered: