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

problem running Octoprint #604

Closed
RFranta opened this issue Oct 7, 2014 · 5 comments
Closed

problem running Octoprint #604

RFranta opened this issue Oct 7, 2014 · 5 comments

Comments

@RFranta
Copy link

RFranta commented Oct 7, 2014

I used manual https://github.com/foosel/OctoPrint/wiki/Setup-on-a-Raspberry-Pi-running-Raspbian
and I sucefully installed Octoprint on Olinuxino (device similar to Raspberry), but now I tryed the same setup on my virtual box Debian, when I try command Octoprint or ./run, output is:

roman@roman:~/OctoPrint$ octoprint
Traceback (most recent call last):
File "/usr/local/bin/octoprint", line 9, in
load_entry_point('OctoPrint==1.1.0-7-g62a51bb', 'console_scripts', 'octoprint')()
File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.1.0_7_g62a51bb-py2.7.egg/octoprint/init.py", line 78, in main
octoprint.run()
File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.1.0_7_g62a51bb-py2.7.egg/octoprint/server/init.py", line 128, in run
self._initSettings(self._configfile, self._basedir)
File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.1.0_7_g62a51bb-py2.7.egg/octoprint/server/init.py", line 226, in _initSettings
settings(init=True, basedir=basedir, configfile=configfile)
File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.1.0_7_g62a51bb-py2.7.egg/octoprint/settings.py", line 20, in settings
instance = Settings(configfile, basedir)
File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.1.0_7_g62a51bb-py2.7.egg/octoprint/settings.py", line 176, in init
self.save(force=True)
File "/usr/local/lib/python2.7/dist-packages/OctoPrint-1.1.0_7_g62a51bb-py2.7.egg/octoprint/settings.py", line 295, in save
with open(self._configfile, "wb") as configFile:
IOError: [Errno 2] No such file or directory: '/home/roman/.octoprint/config.yaml'

I love cookies

@GitIssueBot
Copy link

Hi @RFranta,

It looks like there is some information missing from your ticket that will be needed in order to process it properly. Please take a look at the Contribution Guidelines and the page How to file a bug report on the project wiki, which will tell you exactly what your ticket has to contain in order to be processable.

If you did not intend to report a bug, please take special note of the title format to use as described in the Contribution Guidelines.

I'm marking this one now as needing some more information. Please understand that if you do not provide that information within the next two weeks (until 2014-10-21 08:20) I'll close this ticket so it doesn't clutter the bug tracker.

Best regards,
~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

@AndrewBCN
Copy link

@RFranta
You have not provided enough information about your setup... but in any case, the error is right there:
No such file or directory: '/home/roman/.octoprint/config.yaml'
Do you have that path and file and is it accessible by the user OctoPrint is running as or not?
From the message itself it seems you should have Octoprint running as the user roman, is that the case or not? Check the OctoPrint settings in /etc/default or wherever they are...

@foosel
Copy link
Member

foosel commented Oct 16, 2014

It should actually be created automatically. I'll have to take a look at
that.

@foosel foosel closed this as completed in a332b71 Oct 16, 2014
@foosel
Copy link
Member

foosel commented Oct 16, 2014

Yep, that indeed was completely and utterly my fault, side effect of a quick change I did to solve something else entirely. Should be fixed now.

@RFranta
Copy link
Author

RFranta commented Oct 17, 2014

Great, thank you very much!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants