Welcome! Log In Create A New Profile

Advanced

Generated G-Code Not Found

Posted by kentmcn 
Generated G-Code Not Found
June 23, 2014 12:55PM
After an upgrade from RepetierHost 85c to 95f, I can't get past a "Generated G-Code Not Found" error. Repetier 85c had been working just fine over many prints. The Slic3r version on the first failure was 0.9.9.

Following repetier's suggestion (below) , I downloaded Slic3r 1.0.1 Stable. I get the same error. Runnig the RepetierHost script
"installDependenciesDebian," I get the output found at the bottom of this post, showing failed tests of "t/..."

There had been "System Program Failure[s]" of /bin/perl. For these I purged perl and reinstalled it.

I'm running Ubuntu 12.04 on a Sandy Bridge laptop.

During a slicing attempt, the Slic3r progress bar shows some progress, but then crashes with the popup "Generated G-Code Not Found.

I tried running on another machine and get the same error. Could be I've done something dumb on both (or a bug in a new perl version?). Anyway ...

The repetier.log file from runs of both Slic3r 0.9.9 and 1.0.1 shows this.

==============================================
< 15:51:56.654 : OpenGL version:3.0 Mesa 8.0.4
< 15:51:56.654 : OpenGL extensions:GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax
...

Snip

...
GL_ARB_shader_texture_lod GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_ARB_robustness GL_EXT_transform_feedback
< 15:51:56.654 : OpenGL renderer:Mesa DRI Intel(R) Sandybridge Mobile
< 15:51:56.655 : Using fast VBOs for rendering is possible
< 15:52:10.713 : Starting object analyser ...
< 15:52:10.721 : Points:760
< 15:52:10.721 : Edges:2274
< 15:52:10.721 : Faces:1516
< 15:52:10.721 : Shells:1
< 15:52:10.721 : Object is manifold.
< 15:52:10.722 : Analysing finished.
< 15:52:24.145 : Slic3r command:/home/kent/RepRap/RepetierHost/Slic3r/slic3r.pl --load "/home/kent/RepRap/RepetierHost/slic3r.ini" --print-center 55,55 -o "/home/kent/RepRap/RepetierHost/composition.gcode" "/home/kent/RepRap/RepetierHost/composition.obj"
< 15:52:24.422 : => Processing triangulated mesh
< 15:52:24.471 : => Generating perimeters
< 15:52:24.828 : => Detecting solid surfaces
< 15:52:24.886 : => Preparing infill surfaces
< 15:52:24.889 : => Detect bridges
< 15:52:24.897 : => Generating horizontal shells
< 15:52:24.920 : => Combining infill
< 15:52:24.921 : => Infilling layers
< 15:52:25.112 : Thread 3 terminated abnormally: Use of uninitialized value in pattern match (m//) at /home/kent/RepRap/RepetierHost/Slic3r/lib/Slic3r/Flow.pm line 18.
< 15:52:25.224 : Thread 4 terminated abnormally: Use of uninitialized value in pattern match (m//) at /home/kent/RepRap/RepetierHost/Slic3r/lib/Slic3r/Flow.pm line 18.
======================================================

Line 18 of .../Slic3r/lib/Slic3r/Flow.pm is the 'if' statement, below.
=====================================================================

sub BUILD {
my $self = shift;

if ($self->width =~ /^(\d+(?:\.\d+)?)%$/) {
$self->_set_width($self->layer_height * $1 / 100);
}
$self->_set_width($self->_build_width) if $self->width == 0; # auto
}
=========================

I've tried setting the configuration to factory defaults. No go. Tried a reboot. Same. Tried replacing Slic3r with a new copy from Slic3r.org. Ditto.

I even tried loading RepetierHost 90D and then 85c again. 90D worked for awhile. I changed the working directory, then changed it back again and it stopped working too.

Help would be greatly appreciated.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

repetier responded:

the reason no gcode was found is a crash of Slic3r. As I'm not the
author of Slic3r I don't know what exactly happens there. I would
suggest downloading the latest 1.0 Slic3r binary release from Slic3r and
use that for slicing. Building your own slic3r as done in the host
config is a hard process that largely depends on the right versions of
30 libraries.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

New information:

Thank you, repetier.

I tried downloading and using the latest stable version--1.01. It had the same results: a slic3r crash at the same place.
At the same time, I got a 'System Program Failure notice. It was perl. So I purged perl (and those programs that depended on it) and reinstalled it.
I tried running the Slic3r app from a different location. Same results.
Tried using the installDebianDependencies and got this (clipped to where the failures start)


Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version.

....
snip
....

Time::HiRes is up to date. (1.9726)
XML:confused smileyAX::ExpatXS is up to date. (1.33)
--> Working on SMUELLER/ExtUtils-ParseXS-3.18_04.tar.gz
Fetching [www.cpan.org] ... FAIL
Cleaning up build files
Cleaning up configuration files
--> Working on ./xs
Configuring /home/kent/RepRap/RepetierHost/Slic3r/xs ... OK
Building and testing Slic3r-XS-0.01 ... OK
Successfully installed Slic3r-XS-0.01
1 distribution installed
t/angles.t ........... ok
t/arcs.t ............. skipped: arcs are currently disabled
t/clean_polylines.t .. ok
t/clipper.t .......... ok
t/collinear.t ........ ok
t/combineinfill.t .... ok
t/cooling.t ..........
Failed 3/11 subtests
t/custom_gcode.t ..... ok
t/dynamic.t .......... skipped: variable-width paths are currently disabled
t/fill.t .............
Failed 3/34 subtests
t/gcode.t ............
Failed 5/6 subtests
t/geometry.t ......... ok
t/layers.t ...........
Failed 4/4 subtests
t/loops.t ............ skipped: temporarily disabled
t/multi.t ............
Failed 1/1 subtests
t/perimeters.t ....... ok
t/polyclip.t ......... ok
t/print.t ............ ok
t/retraction.t .......
Failed 16/16 subtests
t/shells.t ...........
Failed 12/12 subtests
t/skirt_brim.t .......
Failed 2/2 subtests
t/slice.t ............ skipped: temporarily disabled
t/support.t ..........
Failed 2/14 subtests
t/svg.t .............. ok
t/threads.t ..........
Failed 1/2 subtests
t/vibrationlimit.t ... ok

Test Summary Report
-------------------
t/cooling.t (Wstat: 139 Tests: 8 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 11 tests but ran 8.
t/fill.t (Wstat: 139 Tests: 31 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 34 tests but ran 31.
t/gcode.t (Wstat: 139 Tests: 1 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 6 tests but ran 1.
t/layers.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/multi.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/retraction.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 16 tests but ran 0.
t/shells.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 12 tests but ran 0.
t/skirt_brim.t (Wstat: 139 Tests: 0 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 2 tests but ran 0.
t/support.t (Wstat: 139 Tests: 12 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 14 tests but ran 12.
t/threads.t (Wstat: 139 Tests: 1 Failed: 0)
Non-zero wait status: 139
Parse errors: Bad plan. You planned 2 tests but ran 1.
Files=26, Tests=175, 19 wallclock secs ( 0.14 usr 0.05 sys + 20.62 cusr 0.67 csys = 21.48 CPU)
Result: FAIL
Some tests failed. Please report the failure to the author!
App::cpanminus is up to date. (1.7004)
OpenGL is up to date. (0.6703)
Wx is up to date. (0.9923)
Wx::GLCanvas is up to date. (0.09)
Re: Generated G-Code Not Found
June 23, 2014 08:47PM
I'm not absolutely certain about this, but the message where thread 3 and 4 are abnormally terminating indicates to me that there is an issue with your slicer settings. Make sure you don't have any non-numeric values for fields that should be numeric.
Re: Generated G-Code Not Found
July 24, 2014 01:30PM
Hi,

exactly the same problem.
My solution:
Download Slicer software here: [slic3r.org]
Dependencies may be correct because of the first install of RepetierHost.
Start Slic3r from a console
it works for me.

Greetz
Sorry, only registered users may post in this forum.

Click here to login