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

[Feature Request] Bypass user input on install #58

Open
jhaydter opened this issue May 4, 2024 · 1 comment
Open

[Feature Request] Bypass user input on install #58

jhaydter opened this issue May 4, 2024 · 1 comment

Comments

@jhaydter
Copy link

jhaydter commented May 4, 2024

Currently install relies on user input to generate configuration for Bambu Lab Printer (SN, Access Code), not allowing automation in cases such as Dockerfile build, silent install, etc.

I'd like the ability to pass all configuration bypassing all input.

One workaround I'm investigating is constructing the configuration files pre-install, to not trigger a new setup.

Stack Trace:
Traceback (most recent call last):
File "/home/ubuntu/octoeverywhere/py_installer/Installer.py", line 23, in Run
self._RunInternal()
File "/home/ubuntu/octoeverywhere/py_installer/Installer.py", line 134, in _RunInternal
configure.Run(context)
File "/home/ubuntu/octoeverywhere/py_installer/Configure.py", line 137, in Run
bc.EnsureBambuConnection(context)
File "/home/ubuntu/octoeverywhere/py_installer/NetworkConnectors/BambuConnector.py", line 37, in EnsureBambuConnection
ipOrHostname, port, accessToken, printerSn = self._SetupNewBambuConnection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/octoeverywhere/py_installer/NetworkConnectors/BambuConnector.py", line 78, in _SetupNewBambuConnection
accessCode = input("Enter your printer's Access Code: ")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
EOFError: EOF when reading a line
@QuinnDamerell
Copy link
Owner

This is a really interesting idea; I will try to add it as I add the docker support. Thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants