thomthom / bezier-surface

Bezier Surface Editor for SketchUp
https://extensions.sketchup.com/en/content/bezier-surface
MIT License
10 stars 1 forks source link

Encoding::CompatibilityError LoadError #52

Closed thomthom closed 9 years ago

thomthom commented 9 years ago

Original report by me.


http://sketchucation.com/forums/viewtopic.php?f=323&t=32810&p=551896#p551733

Error Loading File C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb
Error: #<Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8>
C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:109:in `end_with?'
C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:109:in `rescue in require'
C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:35:in `require'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb:117:in `block in <module:BezierSurfaceTools>'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb:115:in `each'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb:115:in `<module:BezierSurfaceTools>'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb:33:in `<top (required)>'
C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:in `require'
C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:in `load'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:42:in `register_extension'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:42:in `<module:BezierSurfaceTools>'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:15:in `<module:Plugins>'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:14:in `<module:TT>'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:13:in `<top (required)>'
thomthom commented 9 years ago

Workaround for Ruby filesystem encoding bug. Fixes #52.