@koenschreurs wrote:
Hello,
I have a problem trying to install an extension. I get this error:
Error Loading File C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/main.rb
Error: C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:88: invalid multibyte char (UTF-8)
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:88: syntax error, unexpected tIDENTIFIER, expecting keyword_end
"Bézier (Cubic)"
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:88: syntax error, unexpected tSTRING_BEG, expecting keyword_end
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:89: syntax error, unexpected tIDENTIFIER, expecting keyword_end
when "arc"
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:90: syntax error, unexpected tCONSTANT, expecting keyword_end
"Arc"
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:92: syntax error, unexpected '(', expecting keyword_end
text += " (Right click to change)"
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:92: syntax error, unexpected ')', expecting keyword_end
text += " (Right click to change)"
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:97: syntax error, unexpected tCONSTANT, expecting keyword_end
view.drawing_color = Sketchup::Color.new("Black")
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:102: syntax error, unexpected tCONSTANT, expecting keyword_end
view.drawing_color = Sketchup::Color.new("Red")
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:104: syntax error, unexpected tCONSTANT, expecting keyword_end
@tooltip = "Can't draw an arc. Try Bézier cu...
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:104: invalid multibyte char (UTF-8)
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:104: syntax error, unexpected tIDENTIFIER, expecting keyword_end
... "Can't draw an arc. Try Bézier curve instead"#NOTE: make te...
... ^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:125: syntax error, unexpected tIDENTIFIER, expecting keyword_end
..., 2, Sketchup::Color.new("white")
... ^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:157: syntax error, unexpected tCONSTANT, expecting keyword_end
@t.model.start_operation "Track Position"
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:188: syntax error, unexpected tIDENTIFIER, expecting keyword_end
if picked && picked.attribute_dictionary("ene_railroad")
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:201: syntax error, unexpected tIDENTIFIER, expecting keyword_end
if picked && picked.attribute_dictionary("ene_railroad")
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:206: syntax error, unexpected tCONSTANT, expecting keyword_end
@tooltip = "Connect To Track"
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:283: syntax error, unexpected tIDENTIFIER, expecting keyword_end
...ribute_dictionary("ene_railroad")
... ^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:361: syntax error, unexpected tCONSTANT, expecting keyword_end
menu.add_item("Set Control Points And Vectors.....
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:364: syntax error, unexpected tIDENTIFIER, expecting keyword_end
["hard_corner", "Sharp Corner"],
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:364: syntax error, unexpected tCONSTANT, expecting keyword_end
["hard_corner", "Sharp Corner"],
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:365: syntax error, unexpected tIDENTIFIER, expecting keyword_end
["c_bezier", "Bézier (Cubic)"],
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:365: invalid multibyte char (UTF-8)
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/track_position_tool.rb:365: syntax error, unexpected end-of-input, expecting keyword_end
["c_bezier", "Bézier (Cubic)"],
^
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/main.rb:16:inload'
'
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/main.rb:16:in
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad/main.rb:4:in<top (required)>'
require'
C:/Program Files/SketchUp/SketchUp 2016/Tools/extensions.rb:197:in
C:/Program Files/SketchUp/SketchUp 2016/Tools/extensions.rb:197:inload'
register_extension'
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad.rb:95:in
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad.rb:95:in<module:Ene_Railroad>'
'
C:/Users/admin/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/ene_railroad.rb:86:inCan someone help me solve this? I really don't know how to get it work.
I have Windows 10 and using SketchUp 2016.Hopefully someone can help me with this one!
Regards,
Koen
Posts: 2
Participants: 2