The line #234 tr! error is because it's trying to do something to the 'project_name' and it's set to be 'nil'
If the project is not saved it should warn you then exit.
If the project was saved but it has never had 'Octane' values added then it uses the model.title [with illegal characters made into _] as the dialog's 'project_name' value.
If the project was saved
and has 'Octane' values then the 'project_name' is set to be what it was last saved as.
Let's see what we have...
In an existing project please copy/paste this into the Ruby Console and report
Sketchup.active_model.titlethen
Sketchup.active_model.title.tr(" ","_")then
Sketchup.active_model.title.tr(" ","_").gsub(/[^A-Za-z0-9_\-]/,'_')I suspect that your 'Octane' model's attribute_dictionary could be corrupted and returning odd values.
In an existing project, copy/paste this line into the Ruby Console [without having tried the Exporter tool beforehand]
Sketchup.active_model.attribute_dictionary("Octane").each{|k,v|puts "'"+k+"'='"+v.to_s+"'"}and see what values you get listed - post them...
You can also try using the following line of code to clear the dictionaries values...
ad=Sketchup.active_model.attribute_dictionary("Octane");ad.each{|k,v|ad.delete_key(k)}Repeat the code
Sketchup.active_model.attribute_dictionary("Octane").each{|k,v|puts "'"+k+"'='"+v.to_s+"'"}and you should get 'nil'
Then try the Exporter - what happens ?
Now repeat the code
Sketchup.active_model.attribute_dictionary("Octane").each{|k,v|puts "'"+k+"'='"+v.to_s+"'"}What happens now ?
The other message about 'invalid dialog' only occurs because the process aborts early due to the preceding 'tr' issue and there is no dialog to tidy at the 'deactivate' stage...