Use of unitinitialized value in subroutine entry at ...OptionsGroup.pm line 234 #2003

Closed
joshwilsdon opened this Issue May 2, 2014 · 3 comments

Projects

None yet

2 participants

@joshwilsdon

Every time I try to load the config that I've saved from Slic3r (I'm on OS X Mavericks, using the official 1.1.2 build currently) I get an error. This is the same loading any of my config files with versions 1.0.0, 1.0.1, 1.1.1 and 1.1.2. The error is:

Error
I was unable to load the selected config file: Use of uninitialized value in subroutine entry at /Applications/Slic3r-1.1.2.app/Contents/Resources/lib/std/Slic3r/GUI/OptionsGroup.pm line 234.

I'm also unable to look at the code here as the file in the error message does not exist.

The config mostly loads and the only setting I've seen that I need to re-add every time after I get the above message is my Start GCode which after loading the config and skipping the error has gone back to the default.

My latest saved config is:

# generated by Slic3r 1.1.1 on Tue Apr 29 08:44:12 2014
avoid_crossing_perimeters = 0
bed_size = 170,180
bed_temperature = 70
bottom_solid_layers = 3
bridge_acceleration = 0
bridge_fan_speed = 100
bridge_flow_ratio = 1
bridge_speed = 60
brim_width = 1.5
complete_objects = 0
cooling = 1
default_acceleration = 0
disable_fan_first_layers = 1
duplicate_distance = 6
end_gcode = M106 S255 ; turn fan on full blast\nG1 Z70 F100 ; move up to 70mm\nG1 X165 F1000 ; move over to 165mm\nM104 S0 ; turn off hot end\nM140 S0 ; turn off bed\nM84 ; disable motors
external_perimeter_speed = 70%
external_perimeters_first = 0
extra_perimeters = 1
extruder_clearance_height = 20
extruder_clearance_radius = 20
extruder_offset = 0x0
extrusion_axis = E
extrusion_multiplier = 1
extrusion_width = 0.5
fan_always_on = 1
fan_below_layer_time = 60
filament_diameter = 2.81
fill_angle = 45
fill_density = 80%
fill_pattern = honeycomb
first_layer_acceleration = 0
first_layer_bed_temperature = 75
first_layer_extrusion_width = 0.5
first_layer_height = 200%
first_layer_speed = 30%
first_layer_temperature = 185
g0 = 0
gap_fill_speed = 20
gcode_arcs = 0
gcode_comments = 0
gcode_flavor = reprap
infill_acceleration = 0
infill_every_layers = 1
infill_extruder = 1
infill_extrusion_width = 0.5
infill_first = 0
infill_only_where_needed = 0
infill_speed = 60
interface_shells = 0
layer_gcode = 
layer_height = 0.2
max_fan_speed = 100
min_fan_speed = 60
min_print_speed = 10
min_skirt_length = 0
notes = 
nozzle_diameter = 0.5
only_retract_when_crossing_perimeters = 1
ooze_prevention = 0
output_filename_format = [input_filename_base].gco
overhangs = 1
perimeter_acceleration = 0
perimeter_extruder = 1
perimeter_extrusion_width = 0.5
perimeter_speed = 30
perimeters = 2
post_process = 
print_center = 85,90
raft_layers = 0
randomize_start = 0
resolution = 0
retract_before_travel = 2
retract_layer_change = 1
retract_length = 0.5
retract_length_toolchange = 0
retract_lift = 0
retract_restart_extra = 0
retract_restart_extra_toolchange = 
retract_speed = 10
skirt_distance = 6
skirt_height = 1
skirts = 0
slowdown_below_layer_time = 30
small_perimeter_speed = 30
solid_fill_pattern = rectilinear
solid_infill_below_area = 70
solid_infill_every_layers = 0
solid_infill_extrusion_width = 0.5
solid_infill_speed = 60
spiral_vase = 0
standby_temperature_delta = -5
start_gcode = M104 S185 ; set temperature\nG28 ; home all axes\nM109 S185 ; wait for temperature to be reached\nG1 F200 E0.5 ; shoot out some plastic (0.5mm)
start_perimeters_at_concave_points = 0
start_perimeters_at_non_overhang = 0
support_material = 0
support_material_angle = 0
support_material_enforce_layers = 0
support_material_extruder = 1
support_material_extrusion_width = 0.5
support_material_interface_extruder = 1
support_material_interface_layers = 0
support_material_interface_spacing = 0
support_material_pattern = rectilinear
support_material_spacing = 2.5
support_material_speed = 60
support_material_threshold = 0
temperature = 185
thin_walls = 1
threads = 2
toolchange_gcode = 
top_infill_extrusion_width = 0.5
top_solid_infill_speed = 50
top_solid_layers = 4
travel_speed = 130
use_firmware_retraction = 0
use_relative_e_distances = 0
vibration_limit = 0
wipe = 
z_offset = 0
@alexrj
Owner
alexrj commented May 3, 2014

Hm, thanks for reporting this, I'll fix it.
Workaround is to add a 0 (zero) after the retract_restart_extra_toolchange and wipe options.

@joshwilsdon

That work around worked for me. And now even when I save a new config, I can load it.

Thanks!

@alexrj alexrj added this to the 1.1.3 milestone May 7, 2014
@alexrj alexrj added a commit that referenced this issue May 21, 2014
@alexrj Gracefully handle loading config files having empty strings for multi…
…-value options (like wipe). #2003
a8b6e32
@alexrj
Owner
alexrj commented May 21, 2014

Fixed, thank you

@alexrj alexrj closed this May 21, 2014
@alexrj alexrj added the Fixed label May 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment