BIM-Tools / SketchUp-IFC-Manager

IFC data manager and exporter for SketchUp.
GNU General Public License v3.0
63 stars 20 forks source link

Apparent problem with Sketchup 2023 #44

Closed valleyarchitect closed 1 year ago

valleyarchitect commented 1 year ago

Hi Jan, I just installed SU 2023 - and at startup, I get this "Error Loading File C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/loader.rb Error: #<REXML::ParseException: #<NoMethodError: undefined method <<' for #<Sketchup::Set:0x000001e615b8a838>> C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/rexml/parsers/baseparser.rb:558:inparse_attributes' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/rexml/parsers/baseparser.rb:378:in pull_event' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/rexml/parsers/baseparser.rb:183:inpull' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/rexml/parsers/treeparser.rb:23:in parse' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/rexml/document.rb:288:inbuild' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/rexml/document.rb:45:in initialize' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/lib/skc_reader.rb:63:innew' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/lib/skc_reader.rb:63:in block in set_properties' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/lib/rubyzip/zip/file.rb:124:inopen' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/lib/skc_reader.rb:59:in set_properties' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/lib/skc_reader.rb:49:ininitialize' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/settings.rb:262:in new' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/settings.rb:262:inblock in read_classifications' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/settings.rb:260:in each_pair' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/settings.rb:260:inread_classifications' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/settings.rb:171:in load_settings' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/loader.rb:76:in' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/loader.rb:30:in <module:BimTools>' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/loader.rb:29:in<top (required)>' C:/Program Files/SketchUp/SketchUp 2023/Tools/extensions.rb:197:in require' C:/Program Files/SketchUp/SketchUp 2023/Tools/extensions.rb:197:inload' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager.rb:48:in register_extension' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager.rb:48:in' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager.rb:33:in <module:BimTools>' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager.rb:30:in<top (required)>' ... Exception parsing Line: 2 Position: 394 Last 80 unconsumed characters:

C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/rexml/parsers/baseparser.rb:410:in rescue in pull_event' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/rexml/parsers/baseparser.rb:332:inpull_event' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/rexml/parsers/baseparser.rb:183:in pull' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/rexml/parsers/treeparser.rb:23:inparse' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/rexml/document.rb:288:in build' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/rexml/document.rb:45:ininitialize' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/lib/skc_reader.rb:63:in new' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/lib/skc_reader.rb:63:inblock in set_properties' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/lib/rubyzip/zip/file.rb:124:in open' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/lib/skc_reader.rb:59:inset_properties' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/lib/skc_reader.rb:49:in initialize' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/settings.rb:262:innew' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/settings.rb:262:in block in read_classifications' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/settings.rb:260:ineach_pair' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/settings.rb:260:in read_classifications' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/settings.rb:171:inload_settings' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/loader.rb:76:in <module:IfcManager>' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/loader.rb:30:in' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/bt_ifcmanager/loader.rb:29:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2023/Tools/extensions.rb:197:inrequire' ..." I wonder if you have any idea what the issues is ? Best regards, PT

janbrouwer commented 1 year ago

I think as a temporary solution you can install the rexml gem.

ruby console: "gem install rexml"

I don't have the problem myself currently, I will try on another PC...

valleyarchitect commented 1 year ago

Thanks Jan, I'll try that on the offending machine !

All the best, Patrick Thomas architecte dplg T: +33(0)610045410

http://www.vivarchi.f http://www.vivarchi.frr

On Wed, 22 Feb 2023 at 14:36, Jan Brouwer @.***> wrote:

I think as a temporary solution you can install the rexml gem.

ruby console: "gem install rexml"

I don't have the problem myself currently, I will try on another PC...

— Reply to this email directly, view it on GitHub https://github.com/BIM-Tools/SketchUp-IFC-Manager/issues/44#issuecomment-1440029646, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQYBTQU42ECGQKCDT2UQSKDWYYI5PANCNFSM6AAAAAAU7VLNZU . You are receiving this because you authored the thread.Message ID: @.***>

valleyarchitect commented 1 year ago

Jan,

I tried that & got this error message:

gem install rexml Error: #<NameError: undefined local variable or method `rexml' for main:Object>

:in `
' SketchUp:in `eval' => nil what am I doing wrong ? sorry, but it's all a bit gobbledeygook to me thanks, best regards, Patrick Thomas architecte dplg *T: +33(0)610045410* http://www.vivarchi.f r On Wed, 22 Feb 2023 at 17:04, patrick thomas ***@***.***> wrote: > Thanks Jan, I'll try that on the offending machine ! > > All the best, > Patrick Thomas > architecte dplg > *T: +33(0)610045410* > > http://www.vivarchi.f r > > > On Wed, 22 Feb 2023 at 14:36, Jan Brouwer ***@***.***> > wrote: > >> I think as a temporary solution you can install the rexml gem. >> >> ruby console: "gem install rexml" >> >> I don't have the problem myself currently, I will try on another PC... >> >> — >> Reply to this email directly, view it on GitHub >> , >> or unsubscribe >> >> . >> You are receiving this because you authored the thread.Message ID: >> ***@***.***> >> >
valleyarchitect commented 1 year ago

Just to be precise, I downloaded rexml.rb & its rexml folder & they are both in the plugins folder for SU23...

Patrick Thomas architecte dplg T: +33(0)610045410

http://www.vivarchi.f http://www.vivarchi.frr

On Fri, 24 Feb 2023 at 09:59, patrick thomas @.***> wrote:

Jan,

I tried that & got this error message:

gem install rexml Error: #<NameError: undefined local variable or method `rexml' for main:Object>

:in `
' SketchUp:in `eval' => nil what am I doing wrong ? sorry, but it's all a bit gobbledeygook to me thanks, best regards, Patrick Thomas architecte dplg *T: +33(0)610045410* http://www.vivarchi.f r On Wed, 22 Feb 2023 at 17:04, patrick thomas ***@***.***> wrote: > Thanks Jan, I'll try that on the offending machine ! > > All the best, > Patrick Thomas > architecte dplg > *T: +33(0)610045410* > > http://www.vivarchi.f r > > > On Wed, 22 Feb 2023 at 14:36, Jan Brouwer ***@***.***> > wrote: > >> I think as a temporary solution you can install the rexml gem. >> >> ruby console: "gem install rexml" >> >> I don't have the problem myself currently, I will try on another PC... >> >> — >> Reply to this email directly, view it on GitHub >> , >> or unsubscribe >> >> . >> You are receiving this because you authored the thread.Message ID: >> ***@***.***> >> >
janbrouwer commented 1 year ago

I'm sorry @valleyarchitect, I think I sent you in the wrong direction. I thought the issue was a missing REXML library like I had earlier myself, but reading the errors more thoroughly it even shows REXML is present, the next thing that could have issues is rubyzip. I updated the bundled version of rubyzip to the latest version in the hope it will fix something I'm not able to replicate myself.

Can you please give this prerelease version a try? https://github.com/BIM-Tools/SketchUp-IFC-Manager/releases/tag/v4.3.3

janbrouwer commented 1 year ago

Issue was caused by another plugin.