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

Uploading a .gcode - error #580

Closed
GeekyTim opened this issue Sep 13, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@GeekyTim
Copy link

commented Sep 13, 2014

What were you doing?
Uploading a .gcode file to the printer

What did you expect to happen?
The file was uploaded to the SD card

What happened instead?
The attached error occurred. And I love cookies. I'm the cookie monster.

Branch & Commit or Version:
1.1.0 (master branch)

Printer model & used firmware incl. version
Nophead Mendle90

Link to octoprint.log on gist.github.com or pastebin.com:
2014-09-13 18:38:10,575 - octoprint.util.comm - ERROR - Something crashed inside the serial connection loop, please report this in OctoPrint's bug tracker:
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.1.0-py2.7.egg/octoprint/util/comm.py", line 902, in _monitor
self._sendNext()
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.1.0-py2.7.egg/octoprint/util/comm.py", line 1015, in _sendNext
self._callback.mcFileTransferDone(filename)
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.1.0-py2.7.egg/octoprint/printer.py", line 537, in mcFileTransferDone
self._setJobData(None, None, None)
File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.1.0-py2.7.egg/octoprint/printer.py", line 410, in _setJobData
"name": os.path.basename(filename),
File "/home/pi/oprint/lib/python2.7/posixpath.py", line 121, in basename
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'

Link to contents of terminal tab on gist.github.com or pastebin.com:

Recv: ok
Send: N15850 G1 X3.36 Y-1.64 E0 F1800_50
Recv: ok
Send: N15851 G1 X3.44 Y-1.42 E0_93
Recv: ok
Send: N15852 G1 X3.04 Y-1.2 E0_110
Recv: ok
Send: N15853 G1 X2.76 Y-1.32 E0_88
Recv: ok
Send: N15854 G1 X2.36 Y-1.57 E0_88
Recv: ok
Send: N15855 G1 X2.24 Y-1.96 E0_87
Recv: ok
Send: N15856 G1 X2.23 Y-2.12 E0_92
Recv: ok
Send: N15857 G1 X2.5 Y-2.46 E0_104
Recv: ok
Send: N15858 G1 X2.82 Y-2.59 E0_86
Recv: ok
Send: N15859 G1 X3.19 Y-2.55 E0_88
Recv: ok
Send: N15860 G1 X3.36 Y-2.48 E0_83
Recv: ok
Send: N15861 G1 X3.57 Y-2.08 E0_81
Recv: ok
Send: N15862 G1 X3.53 Y-1.54 E0_92
Recv: ok
Send: N15863 G1 X3.44 Y-1.42 E0_92
Recv: ok
Send: N15864 G1 X3.22 Y-1.51 E0_89
Recv: ok
Send: N15865 G1 X3.13 Y2.57 E0 F12000_39
Recv: ok
Send: N15866 G1 E2 F6000_19
Recv: ok
Send: N15867 G1 X3.2 Y2.8 E0.0028 F1200_59
Recv: ok
Send: N15868 G1 X2.93 Y2.89 E0.0032_90
Recv: ok
Send: N15869 G1 X2.66 Y2.82 E0.0031_89
Recv: ok
Send: N15870 G1 X2.48 Y2.58 E0.0034_95
Recv: ok
Send: N15871 G1 X2.54 Y2.29 E0.0033_82
Recv: ok
Send: N15872 G1 X2.95 Y1.94 E0.0061_94
Recv: ok
Send: N15873 G1 X3.08 Y1.95 E0.0015_88
Recv: ok
Send: N15874 G1 X3.34 Y2.06 E0.0032_92
Recv: ok
Send: N15875 G1 X3.34 Y2.6 E0.006_90
Recv: ok
Send: N15876 G1 X3.2 Y2.8 E0.0029_95
Recv: ok
Send: N15877 G1 X2.98 Y2.69 E0.0027_85
Recv: ok
Send: N15878 G1 E-2 F6000_49
Recv: ok
Send: N15879 G1 X3.13 Y2.57 E0 F1800_16
Recv: ok
Send: N15880 G1 X3.2 Y2.8 E0_115
Recv: ok
Send: N15881 G1 X2.93 Y2.89 E0_114
Recv: ok
Send: N15882 G1 X2.66 Y2.82 E0_112
Recv: ok
Send: N15883 G1 X2.48 Y2.58 E0_122
Recv: ok
Send: N15884 G1 X2.54 Y2.29 E0_118
Recv: ok
Send: N15885 G1 X2.95 Y1.94 E0_127
Recv: ok
Send: N15886 G1 X3.08 Y1.95 E0_120
Recv: ok
Send: N15887 G1 X3.34 Y2.06 E0_127
Recv: ok
Send: N15888 G1 X3.34 Y2.6 E0_64
Recv: ok
Send: N15889 G1 X3.2 Y2.8 E0_122
Recv: ok
Send: N15890 G1 X2.98 Y2.69 E0_119
Recv: ok
Send: N15891 G1 X2.98 Y2.69 Z20 E0 F240_94
Recv: ok
Send: N15892 G1 X3.2 Y-1.76 Z20 E0 F12000_74
Recv: ok
Send: N15893 G1 E2 F6000_25
Recv: ok
Send: N15894 G1 X3.31 Y-1.54 E0.0027 F1200_31
Recv: ok
Send: N15895 G1 X2.91 Y-1.39 E0.0048_114
Recv: ok
Send: N15896 G1 X2.42 Y-1.7 E0.0066_78
Recv: ok
Send: N15897 G1 X2.3 Y-2.1 E0.0047_124
Recv: ok
Send: N15898 G1 X2.49 Y-2.37 E0.0038_112
Recv: ok
Send: N15899 G1 X2.81 Y-2.51 E0.0039_116
Recv: ok
Send: N15900 G1 X3.2 Y-2.44 E0.0045_64
Recv: ok
Send: N15901 G1 X3.42 Y-2.09 E0.0048_113
Recv: ok
Send: N15902 G1 X3.38 Y-1.67 E0.0047_123
Recv: ok
Send: N15903 G1 X3.31 Y-1.54 E0.0017_118
Recv: ok
Send: N15904 G1 X3.07 Y-1.62 E0.0027_114
Recv: ok
Send: N15905 G1 E-2 F6000_58
Recv: ok
Send: N15906 G1 X3.2 Y-1.76 E0 F1800_4
Recv: ok
Send: N15907 G1 X3.31 Y-1.54 E0_90
Recv: ok
Send: N15908 G1 X2.91 Y-1.39 E0_85
Recv: ok
Send: N15909 G1 X2.42 Y-1.7 E0_103
Recv: ok
Send: N15910 G1 X2.3 Y-2.1 E0_95
Recv: ok
Send: N15911 G1 X2.49 Y-2.37 E0_85
Recv: ok
Send: N15912 G1 X2.81 Y-2.51 E0_82
Recv: ok
Send: N15913 G1 X3.2 Y-2.44 E0_109
Recv: ok
Send: N15914 G1 X3.42 Y-2.09 E0_87
Recv: ok
Send: N15915 G1 X3.38 Y-1.67 E0_80
Recv: ok
Send: N15916 G1 X3.31 Y-1.54 E0_90
Recv: ok
Send: N15917 G1 X3.07 Y-1.62 E0_91
Recv: ok
Send: N15918 G1 X3.02 Y2.52 E0 F12000_41
Recv: ok
Send: N15919 G1 E2 F6000_26
Recv: ok
Send: N15920 G1 X3.07 Y2.76 E0.0027 F1200_58
Recv: ok
Send: N15921 G1 X2.8 Y2.83 E0.0031_109
Recv: ok
Send: N15922 G1 X2.62 Y2.72 E0.0024_88
Recv: ok
Send: N15923 G1 X2.58 Y2.57 E0.0018_88
Recv: ok
Send: N15924 G1 X2.67 Y2.4 E0.0021_111
Recv: ok
Send: N15925 G1 X2.95 Y2.18 E0.0041_88
Recv: ok
Send: N15926 G1 X3.13 Y2.3 E0.0025_108
Recv: ok
Send: N15927 G1 X3.17 Y2.59 E0.0033_81
Recv: ok
Send: N15928 G1 X3.07 Y2.76 E0.0023_83
Recv: ok
Send: N15929 G1 X2.86 Y2.63 E0.0027_90
Recv: ok
Send: N15930 G1 E-2 F6000_60
Recv: ok
Send: N15931 G1 X3.02 Y2.52 E0 F1800_24
Recv: ok
Send: N15932 G1 X3.07 Y2.76 E0_119
Recv: ok
Send: N15933 G1 X2.8 Y2.83 E0_66
Recv: ok
Send: N15934 G1 X2.62 Y2.72 E0_119
Recv: ok
Send: N15935 G1 X2.58 Y2.57 E0_120
Recv: ok
Send: N15936 G1 X2.67 Y2.4 E0_65
Recv: ok
Send: N15937 G1 X2.95 Y2.18 E0_112
Recv: ok
Send: N15938 G1 X3.13 Y2.3 E0_74
Recv: ok
Send: N15939 G1 X3.17 Y2.59 E0_112
Recv: ok
Send: N15940 G1 X3.07 Y2.76 E0_114
Recv: ok
Send: N15941 G1 X2.86 Y2.63 E0_127
Recv: ok
Send: N15942 G1 X2.86 Y2.63 Z20.2 E0 F240_72
Recv: ok
Send: N15943 G1 X3.07 Y-1.95 Z20.2 E0 F12000_99
Recv: ok
Send: N15944 G1 E2 F6000_18
Recv: ok
Send: N15945 G1 X3.18 Y-1.73 E0.0028 F1200_19
Recv: ok
Send: N15946 G1 X2.91 Y-1.59 E0.0033_119
Recv: ok
Send: N15947 G1 X2.77 Y-1.62 E0.0017_112
Recv: ok
Send: N15948 G1 X2.5 Y-1.8 E0.0036_117
Recv: ok
Send: N15949 G1 X2.38 Y-2.1 E0.0037_65
Recv: ok
Send: N15950 G1 X2.52 Y-2.3 E0.0028_73
Recv: ok
Send: N15951 G1 X2.79 Y-2.43 E0.0034_120
Recv: ok
Send: N15952 G1 X3.07 Y-2.38 E0.0032_121
Recv: ok
Send: N15953 G1 X3.25 Y-2.08 E0.0039_112
Recv: ok
Send: N15954 G1 X3.18 Y-1.73 E0.004_72
Recv: ok
Send: N15955 G1 X2.94 Y-1.8 E0.0028_78
Recv: ok
Send: N15956 G1 X2.94 Y-1.8 Z20.4 E0 F240_91
Recv: ok
Send: N15957 G1 X2.87 Y-2.06 Z20.4 E0 F12000_96
Recv: ok
Send: N15958 G1 X2.91 Y-1.82 E0.0027 F1200_30
Recv: ok
Send: N15959 G1 X2.77 Y-1.76 E0.0018_117
Recv: ok
Send: N15960 G1 X2.53 Y-1.96 E0.0036_123
Recv: ok
Send: N15961 G1 X2.45 Y-2.11 E0.0019_124
Recv: ok
Send: N15962 G1 X2.65 Y-2.31 E0.0032_118
Recv: ok
Send: N15963 G1 X2.93 Y-2.31 E0.0031_125
Recv: ok
Send: N15964 G1 X3.07 Y-2.09 E0.0029_116
Recv: ok
Send: N15965 G1 X3.04 Y-1.95 E0.0017_125
Recv: ok
Send: N15966 G1 X2.91 Y-1.82 E0.002_65
Recv: ok
Send: N15967 G1 E-2 F6000_62
Recv: ok
Send: N15968 G1 X2.87 Y-2.06 E0 F1800_52
Recv: ok
Send: N15969 G1 X2.91 Y-1.82 E0_82
Recv: ok
Send: N15970 G1 X2.77 Y-1.76 E0_89
Recv: ok
Send: N15971 G1 X2.53 Y-1.96 E0_80
Recv: ok
Send: N15972 G1 X2.45 Y-2.11 E0_88
Recv: ok
Send: N15973 G1 X2.65 Y-2.31 E0_89
Recv: ok
Send: N15974 G1 X2.93 Y-2.31 E0_87
Recv: ok
Send: N15975 G1 X3.07 Y-2.09 E0_81
Recv: ok
Send: N15976 G1 X3.04 Y-1.95 E0_87
Recv: ok
Send: N15977 G1 X2.91 Y-1.82 E0_93
Recv: ok
Send: N15978 G1 X2.91 Y-1.82 Z20.8 E0 F240_108
Recv: ok
Send: N15979 G1 E-1 F1200_55
Recv: ok
Send: N15980 M104 S0_96
Recv: ok
Send: N15981 M107_33
Recv: ok
Send: N15982 M140 S0_98
Recv: ok
Send: N15983 G28_21
Recv: ok
Send: N15984 M107_36
Recv: ok
Send: N15985 M84_31
Recv: ok
Send: N15986 M0*32
Recv: ok
Send: M29
Changing monitoring state from 'Printing' to 'Operational'
See octoprint.log for details
Changing monitoring state from 'Operational' to 'Error: See octoprint.log fo...'
Recv: ok
Recv: Done saving file.
Changing monitoring state from 'Error: See octoprint.log fo...' to 'Closed'
Changing monitoring state from 'Offline' to 'Opening serial port'
Connecting to: /dev/ttyUSB0
Connected to: Serial(port='/dev/ttyUSB0', baudrate=250000, bytesize=8, parity='N', stopbits=1, timeout=30.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from 'Opening serial port' to 'Connecting'
Connection closed, closing down monitor
Send: M105
Recv: ok T:21.5 /0.0 B:21.4 /0.0 @:0%
Changing monitoring state from 'Connecting' to 'Operational'
Send: M21
Recv: echo:SD card ok
Send: M20
Recv: ok
Recv: Begin file list
Recv: RIOLU~1.GCO
Recv: End file list
Recv: ok
Send: M105
Recv: ok T:21.8 /0.0 B:21.6 /0.0 @:0%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.