Stuck "Processing New File" on boot

I turned on the Onefinity controller and it starts up with two dialog boxes (one homing dialog atop a simulating dialog box). Pressing the “OK” on the Home Machine dialog causes the dialog to disappear with no homing action. The dialog underneath seems to be stuck on
pnf
The rest of the UI is inaccessible.

Rebooting the controller box sometimes works and sometimes does. At one point the UI gave a traceback:

debug	Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/tornado/web.py", line 1511, in _execute
    result = yield result
  File "/usr/local/lib/python3.5/dist-packages/tornado/gen.py", line 1055, in run
    value = future.result()
  File "/usr/local/lib/python3.5/dist-packages/tornado/concurrent.py", line 238, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 4, in raise_exc_info
  File "/usr/local/lib/python3.5/dist-packages/tornado/gen.py", line 1063, in run
    yielded = self.gen.throw(*exc_info)
  File "/usr/local/lib/python3.5/dist-packages/bbctrl-1.0.8-py3.5.egg/bbctrl/Web.py", line 297, in get
    data = yield gen.with_timeout(delta, future)
  File "/usr/local/lib/python3.5/dist-packages/tornado/gen.py", line 1055, in run
    value = future.result()
  File "/usr/local/lib/python3.5/dist-packages/tornado/concurrent.py", line 238, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 4, in raise_exc_info
  File "/usr/local/lib/python3.5/dist-packages/tornado/gen.py", line 1069, in run
    yielded = self.gen.send(value)
  File "/usr/local/lib/python3.5/dist-packages/bbctrl-1.0.8-py3.5.egg/bbctrl/Preplanner.py", line 262, in get_plan
    plan = Plan(self, self.ctrl, filename)
  File "/usr/local/lib/python3.5/dist-packages/bbctrl-1.0.8-py3.5.egg/bbctrl/Preplanner.py", line 70, in __init__
    self.state = ctrl.state.snapshot()
  File "/usr/local/lib/python3.5/dist-packages/bbctrl-1.0.8-py3.5.egg/bbctrl/State.py", line 263, in snapshot
    if name[0] in '0123':
IndexError: string index out of range
error	string index out of range
debug	Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/tornado/web.py", line 1511, in _execute
    result = yield result
  File "/usr/local/lib/python3.5/dist-packages/tornado/gen.py", line 1055, in run
    value = future.result()
  File "/usr/local/lib/python3.5/dist-packages/tornado/concurrent.py", line 238, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 4, in raise_exc_info
  File "/usr/local/lib/python3.5/dist-packages/tornado/gen.py", line 1063, in run
    yielded = self.gen.throw(*exc_info)
  File "/usr/local/lib/python3.5/dist-packages/bbctrl-1.0.8-py3.5.egg/bbctrl/Web.py", line 297, in get
    data = yield gen.with_timeout(delta, future)
  File "/usr/local/lib/python3.5/dist-packages/tornado/gen.py", line 1055, in run
    value = future.result()
  File "/usr/local/lib/python3.5/dist-packages/tornado/concurrent.py", line 238, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 4, in raise_exc_info
  File "/usr/local/lib/python3.5/dist-packages/tornado/gen.py", line 1069, in run
    yielded = self.gen.send(value)
  File "/usr/local/lib/python3.5/dist-packages/bbctrl-1.0.8-py3.5.egg/bbctrl/Preplanner.py", line 262, in get_plan
    plan = Plan(self, self.ctrl, filename)
  File "/usr/local/lib/python3.5/dist-packages/bbctrl-1.0.8-py3.5.egg/bbctrl/Preplanner.py", line 70, in __init__
    self.state = ctrl.state.snapshot()
  File "/usr/local/lib/python3.5/dist-packages/bbctrl-1.0.8-py3.5.egg/bbctrl/State.py", line 263, in snapshot
    if name[0] in '0123':
IndexError: string index out of range

This happened the first time after starting up with both a WiFi and a wired connection. I’ve since disabled WiFi but still have this issue.

The file that’s loaded is still the Team Onefinity.ngc file that comes by default.

Thanks!

Seems like disconnecting the camera from the controller box allows the controller box to boot normally.

1 Like

I am in this same boat right now hopelessly stuck for hours. How did this get resolved?

For me it seems as though my attached 1080p webcam was causing problems. After disconnecting it, I no longer have this problem.

Do you have a camera hooked up?

You could try ssh’ing to the controller and poke around to see what files you have downloaded to the machine.

I don’t really think this is the problem in this case. My machine is just set up and it hasn’t actually cut anything or been loaded with another file. It’s still the default team onefinity file. Since removing the camera, I’ve not encountered any problems with starting up the machine. I can even air cut the default file with no problems. I do have another exception trace that seems to indicate an issue writing to i2c (or maybe it was i2s… Can’t remember right now).

I can ssh to the machine fine… If I see the issue again without the camera then I will try to grab a few logs and dmesg output.

Definitely the camera, I couldn’t get it to boot without this issue for anything until I unplugged the camera. I’m running 1.0.8 so that may be the issue. I’m a little scared to make the update while I’ve got orders to fulfill, but I’ll try to make a note on this post if 1.0.9 resolves the issue when I have a chance.

Hey Kyle.

I was browsing the forums for issues similar to yours and discovered a couple, one related to random disconnects associated with the camera and another related to random disconnects associated with the usb-cabled joystick controller (both of which boiling down to a usb-related issue).

On the positive, both of these occurrences happened under firmware 1.0.8. Although I’m not seeing anything relevant in the 1.0.9 update log, I’m also not finding anything relating to camera / usb issues after the update became available. That update may, indeed, be your resolution.

FYI. I don’t have a camera, but I did unplug the joystick and that fixed it for me.

I am having the same problem. i never had a camera or wifi. reloading the firm where worked for a couple carves but the problem came back. I have tried new thumb drive but that didnt help

Reflash the SD card. Somehow, non gcode has been injected into the controller.