Comments (66)
Im AlivE!
im ready
from lairdubois-opencutlist-sketchup-extension.
Hi,
Can you please open the Ruby console before opening OCL and send us the error that should be displayed there ?
from lairdubois-opencutlist-sketchup-extension.
[clippy.rb:180] : can't load C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/../../../bin/x86/lib/Clippy.dll
Error: #<NoMethodError: undefined method c_get_cpath_area' for Ladb::OpenCutList::Clippy:Module> C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/clippy.rb:91:in
get_rpath_area'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:203:in block (2 levels) in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:202:in
map'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:202:in block in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:180:in
each'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:180:in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/helper/part_drawing_helper.rb:65:in
_compute_part_projection_def'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:268:in block (2 levels) in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:249:in
each'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:249:in block in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:207:in
each'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:207:in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/controller/cutlist_controller.rb:252:in
group_cuttingdiagram1d_advance_command'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/controller/cutlist_controller.rb:72:in block in setup_commands' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/plugin.rb:726:in
execute_command'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/plugin.rb:1070:in `block in create_tabs_dialog'
from lairdubois-opencutlist-sketchup-extension.
Ok, the Clippy.dll can't be loaded.
Can you try to install the last Microsoft Visual C++ Redistributable ?
from lairdubois-opencutlist-sketchup-extension.
Damned, it doesn't solve the problem on your computer :(
What version of Windows do you use ?
Else to bypass the error, Hide Shape of Part in Cutting diagram settings.
![Capture d’écran 2024-02-27 à 16 27 02](https://private-user-images.githubusercontent.com/156056/308263638-60ecad85-32ba-4d79-b074-c2b3c6158eff.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTY0NDE2NzQsIm5iZiI6MTcxNjQ0MTM3NCwicGF0aCI6Ii8xNTYwNTYvMzA4MjYzNjM4LTYwZWNhZDg1LTMyYmEtNGQ3OS1iMDc0LWMyYjNjNjE1OGVmZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUyM1QwNTE2MTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNzgxMjc5MmQwOWJiZjA1MjNkNGQwYThkMTE4MjQ5MTAyN2RlODM2NDgyODk0NjA1YTliMTkxZjM2ZWM2NmMwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Qqe9_YKzBUKkDKDWpywKFFdQDxDUtL7wn0XEgk9FLqc)
But all new export 2D feature will continue to fail on your computer. For some unkonwn reasons the Clippy DLL can't be loaded on you computer ...
from lairdubois-opencutlist-sketchup-extension.
Creating toolbar ...
c:/users/Кирилл/appdata/roaming/sketchup/sketchup 2023/sketchup/plugins/sjf_radiustool/radiustool.rbe:779: warning: found = literal' in conditional, should be == Unable to find AppData directory. c:/users/Кирилл/appdata/roaming/sketchup/sketchup 2023/sketchup/plugins/curic_space/utils.rbe:10: warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open "Add help menu!" "create new" "created" #<Sketchup::Menu:0x000002a7891c7ba8> (eval):23: warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open [clippy.rb:180] : can't load C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/../../../bin/x86/lib/Clippy.dll Error: #<NoMethodError: undefined method
c_get_cpath_area' for Ladb::OpenCutList::Clippy:Module>
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/clippy.rb:91:in get_rpath_area' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:203:in
block (2 levels) in run'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:202:in map' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:202:in
block in run'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:180:in each' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:180:in
run'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/helper/part_drawing_helper.rb:65:in _compute_part_projection_def' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:268:in
block (2 levels) in run'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:249:in each' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:249:in
block in run'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:207:in each' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:207:in
run'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/controller/cutlist_controller.rb:252:in group_cuttingdiagram1d_advance_command' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/controller/cutlist_controller.rb:72:in
block in setup_commands'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/plugin.rb:727:in execute_command' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/plugin.rb:1071:in
block in create_tabs_dialog'
from lairdubois-opencutlist-sketchup-extension.
from lairdubois-opencutlist-sketchup-extension.
Yes, ALL new export features will fail on your computer because they need this DLL.
from lairdubois-opencutlist-sketchup-extension.
what should i do?
from lairdubois-opencutlist-sketchup-extension.
Check my comment 7 minutes ago :)
from lairdubois-opencutlist-sketchup-extension.
oh! sorry. Thx for help.
from lairdubois-opencutlist-sketchup-extension.
Did you restart the computer after installing MS Redistribuable ?
from lairdubois-opencutlist-sketchup-extension.
Yes. Of course.
from lairdubois-opencutlist-sketchup-extension.
Hmm 🤔
Can you type the following piece of code in the Ruby Console and check if it returns true
or false
?
File.exist?("C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/../../../bin/x86/lib/Clippy.dll")
from lairdubois-opencutlist-sketchup-extension.
File.exist?("C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/../../../bin/x86/lib/Clippy.dll")
=> true
from lairdubois-opencutlist-sketchup-extension.
Ok thanks. So it's not the culprit 😕
from lairdubois-opencutlist-sketchup-extension.
all was fine until i get updated on 6 ver
from lairdubois-opencutlist-sketchup-extension.
i can give you an access to my working pc. via AnyDesk
from lairdubois-opencutlist-sketchup-extension.
all was fine until i get updated on 6 ver
Yes this occur on a new feature.
In 6.0, we add a link to an external library written in C++ : Clippy.dll. This library is responsible of computing fast 2D boolean operations. These operations are essential for detecting the shapes of the parts.
The problem on your computer is that this DLL failed to load. And I don't know why.
i can give you an access to my working pc. via AnyDesk
Thank you but I don't know what I can do more.
Clippy.dll
depends in the following system DLLs. Maybe check if these DLL are present on your computer ?
![Capture d’écran 2024-02-27 à 18 23 46](https://private-user-images.githubusercontent.com/156056/308638402-257f1b85-fed1-44cd-ae54-4bad97d02d37.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTY0NDE2NzQsIm5iZiI6MTcxNjQ0MTM3NCwicGF0aCI6Ii8xNTYwNTYvMzA4NjM4NDAyLTI1N2YxYjg1LWZlZDEtNDRjZC1hZTU0LTRiYWQ5N2QwMmQzNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUyM1QwNTE2MTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZmY4NTdkYWFmMzJjZDVhOWVlNzc0YmYyODE4YjQxMzkzOTJmNzdhMzQ1ZjhhMjg3MWYzN2MwZjM3NmIyZDQxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.DRT4YFGYb2rVHbHydC02jVYZ1fWV4Knzeg2lfnfzjJw)
from lairdubois-opencutlist-sketchup-extension.
from lairdubois-opencutlist-sketchup-extension.
Yes, Clippy is our DLL.
Check :
c:\windows\system32\MSVCP140.DLL
c:\windows\system32\VCRUNTIME140.DLL
c:\windows\system32\VCRUNTIME140_1.DLL
c:\windows\system32\KERNEL32.DLL
from lairdubois-opencutlist-sketchup-extension.
i have no CRUNTIME140.DLL
from lairdubois-opencutlist-sketchup-extension.
Sorry it's c:\windows\system32\VCRUNTIME140.DLL
from lairdubois-opencutlist-sketchup-extension.
this one i have
from lairdubois-opencutlist-sketchup-extension.
Ok, then dependencies not the problem too :(
from lairdubois-opencutlist-sketchup-extension.
what does it mean c_get_cpath_area
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/../../../bin/x86/lib/Clippy.dll
Error: #<NoMethodError: undefined method `c_get_cpath_area' for Ladb::OpenCutList::Clippy:Module>
from lairdubois-opencutlist-sketchup-extension.
Clippy.dll contains shared methods written in C that Ruby can call. c_get_cpath_area
is one of them.
But as the DLL is not loaded, this shared method is undefined for Ruby.
from lairdubois-opencutlist-sketchup-extension.
i gues i found it
is russian names are supported?
from lairdubois-opencutlist-sketchup-extension.
Oh, well done ! That's it.
Yesterday I fixed this UTF-8 encoding problem. Can you try to install this 6.1.0 DEV version ?
from lairdubois-opencutlist-sketchup-extension.
It works fine. =)
from lairdubois-opencutlist-sketchup-extension.
Yes !
from lairdubois-opencutlist-sketchup-extension.
NOPE! wait
from lairdubois-opencutlist-sketchup-extension.
OpenCutList 6.1.0-dev (build:202402281832) - ru - SketchUp 23.0.397 - win
#<Fiddle::DLError: can't load C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/bin/x86/lib/Clippy.dll>
C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle/import.rb:89:in rescue in block in dlload' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle/import.rb:86:in
block in dlload'
C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle/import.rb:77:in collect' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle/import.rb:77:in
dlload'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/clippy.rb:159:in _load_lib' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/clippy.rb:14:in
available?'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:29:in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/helper/part_drawing_helper.rb:65:in
_compute_part_projection_def'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:268:in block (2 levels) in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:249:in
each'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:249:in block in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:207:in
each'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:207:in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/controller/cutlist_controller.rb:252:in
group_cuttingdiagram1d_advance_command'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/controller/cutlist_controller.rb:72:in block in setup_commands' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/plugin.rb:727:in
execute_command'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/plugin.rb:1071:in `block in create_tabs_dialog'
from lairdubois-opencutlist-sketchup-extension.
it works. But with an error
from lairdubois-opencutlist-sketchup-extension.
from lairdubois-opencutlist-sketchup-extension.
Yes, the error no longer blocks the execution in 6.1.0. But in fact cutting diagram switch Parts Shape display to hide.
The error is the same Clippy.dll can't be loaded.
from lairdubois-opencutlist-sketchup-extension.
look at path name
from lairdubois-opencutlist-sketchup-extension.
Definitely it's an encoding problem ...
from lairdubois-opencutlist-sketchup-extension.
afk 20min
from lairdubois-opencutlist-sketchup-extension.
Can you try to type in Ruby Console :
Ladb::OpenCutList::PLUGIN_DIR
And after
File.exist?(File.join(Ladb::OpenCutList::PLUGIN_DIR, 'bin/x86/lib/Clippy.dll'))
from lairdubois-opencutlist-sketchup-extension.
Ladb::OpenCutList::PLUGIN_DIR
=> "C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist"
File.exist?(File.join(Ladb::OpenCutList::PLUGIN_DIR, 'bin/x86/lib/Clippy.dll'))
=> true
from lairdubois-opencutlist-sketchup-extension.
Grrr, so no encoding problem there :(
And what respond :
Ladb::OpenCutList::Clippy.available?
from lairdubois-opencutlist-sketchup-extension.
Ladb::OpenCutList::Clippy.available?
Please email the following error to [email protected]
OpenCutList 6.1.0-dev (build:202402281832) - ru - SketchUp 23.0.397 - win
#<Fiddle::DLError: can't load C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/bin/x86/lib/Clippy.dll>
C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle/import.rb:89:in rescue in block in dlload' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle/import.rb:86:in
block in dlload'
C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle/import.rb:77:in collect' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle/import.rb:77:in
dlload'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/clippy.rb:159:in _load_lib' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/clippy.rb:14:in
available?'
from lairdubois-opencutlist-sketchup-extension.
Try
Fiddle.dlopen(File.join(Ladb::OpenCutList::PLUGIN_DIR, 'bin/x86/lib/Clippy.dll'))
from lairdubois-opencutlist-sketchup-extension.
Fiddle.dlopen(File.join(Ladb::OpenCutList::PLUGIN_DIR, 'bin/x86/lib/Clippy.dll'))
Error: #<Fiddle::DLError: No such file or directory>
C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle.rb:47:in initialize' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle.rb:47:in
new'
C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle.rb:47:in `dlopen'
from lairdubois-opencutlist-sketchup-extension.
Arg ... maybe Fiddle don't care about UTF-8 file path ...
Does this line :
Ladb::OpenCutList::PLUGIN_DIR.encoding
Returns ?
=> #Encoding:UTF-8
from lairdubois-opencutlist-sketchup-extension.
Ladb::OpenCutList::PLUGIN_DIR.encoding
=> #Encoding:UTF-8
from lairdubois-opencutlist-sketchup-extension.
Ok, maybe we should try the correct encoding to use russian characters.
from lairdubois-opencutlist-sketchup-extension.
any tests before i go sleep?
from lairdubois-opencutlist-sketchup-extension.
No, sorry, maybe tomorrow 😉
from lairdubois-opencutlist-sketchup-extension.
=) ok
from lairdubois-opencutlist-sketchup-extension.
As far as I can test the DLL loader accept only ASCII path. That's the reason.
I did some tweak on DEV version (6.1.0 build 202402282207).
If you can update and try it, let me know if it solves the problem 😉
from lairdubois-opencutlist-sketchup-extension.
Hi, had the same problem. Installing the DEV Version fixed the problem @bbeaulant
from lairdubois-opencutlist-sketchup-extension.
OpenCutList 6.1.0-dev (build:202402291035) - ru - SketchUp 23.0.397 - win
#<Fiddle::DLError: can't load Clippy.dll>
C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle/import.rb:89:in rescue in block in dlload' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle/import.rb:86:in
block in dlload'
C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle/import.rb:77:in collect' C:/Program Files/SketchUp/SketchUp 2023/Tools/RubyStdLib/fiddle/import.rb:77:in
dlload'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/clippy.rb:175:in _load_lib' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/clippy.rb:18:in
available?'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:29:in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/helper/part_drawing_helper.rb:65:in
_compute_part_projection_def'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:268:in block (2 levels) in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:249:in
each'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:249:in block in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:207:in
each'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:207:in run' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/controller/cutlist_controller.rb:252:in
group_cuttingdiagram1d_advance_command'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/controller/cutlist_controller.rb:72:in block in setup_commands' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/plugin.rb:723:in
execute_command'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/plugin.rb:1067:in `block in create_tabs_dialog'
from lairdubois-opencutlist-sketchup-extension.
- 6.1.0-dev (202402291035)
from lairdubois-opencutlist-sketchup-extension.
Arg, can you retry with last build -> 6.1.0-dev (202402291235) ?
from lairdubois-opencutlist-sketchup-extension.
Nope =)
OpenCutList 6.1.0-dev (build:202402291235) - ru - SketchUp 23.0.397 - win
#<Encoding::CompatibilityError: incompatible character encodings: UTF-8 and Windows-1251>
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/clippy.rb:200:in join' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/clippy.rb:200:in
_load_lib'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/clippy.rb:18:in available?' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/common/common_drawing_projection_worker.rb:29:in
run'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/helper/part_drawing_helper.rb:65:in _compute_part_projection_def' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:268:in
block (2 levels) in run'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:249:in each' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:249:in
block in run'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:207:in each' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/worker/cutlist/cutlist_cuttingdiagram1d_worker.rb:207:in
run'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/controller/cutlist_controller.rb:252:in group_cuttingdiagram1d_advance_command' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/controller/cutlist_controller.rb:72:in
block in setup_commands'
C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/plugin.rb:723:in execute_command' C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/plugin.rb:1067:in
block in create_tabs_dialog'
from lairdubois-opencutlist-sketchup-extension.
#<Encoding::CompatibilityError: incompatible character encodings: UTF-8 and Windows-1251>
from lairdubois-opencutlist-sketchup-extension.
Grrr ...
What's the return of this ?
ENV['Path'].encoding
from lairdubois-opencutlist-sketchup-extension.
ENV['Path'].encoding
=> #Encoding:Windows-1251
from lairdubois-opencutlist-sketchup-extension.
I got very sick. I'm going to bed. If I survive tomorrow, we will test again.
from lairdubois-opencutlist-sketchup-extension.
Ok, I just commit a new buid (202402291643).
If tomorrow you can test. Get well soon!
from lairdubois-opencutlist-sketchup-extension.
Does the last build work for you ?
from lairdubois-opencutlist-sketchup-extension.
Yes it works. Finaly.
Maybe now I deserve to add the cost of cuts to the final estimate?
xD
from lairdubois-opencutlist-sketchup-extension.
Yes it works. Finaly.
Yeah 👍!
Maybe now I deserve to add the cost of cuts to the final estimate?
Best thing would be to open a new issue for that :)
from lairdubois-opencutlist-sketchup-extension.
from lairdubois-opencutlist-sketchup-extension.
Related Issues (20)
- Hardware cost in Material Properties HOT 1
- Mirror cost HOT 1
- Add a way to change edge/veneer material from virtual parts
- 'DimensionUtils' does not correctly read dimension : X' Y" HOT 1
- Open cutlist window does not launch on latest release of Sketchup 2023 after update HOT 5
- Skup HOT 2
- Adding more pages/views to "draw" HOT 2
- Directly drawn dimensions in "Generate draw" HOT 3
- Generate all at once HOT 1
- Names in Titlebar for Components HOT 16
- bug: cannot find support forum HOT 4
- Opencutlist will not open HOT 5
- Dimensional Lumber Estimation HOT 1
- Add the possibility of defining the density of materials in kg/unit on each standard dimension.
- Add an option to set a separator for currency
- Error when cutting HOT 4
- Porting to FreeCAD HOT 3
- Import of materials and attributes HOT 8
- Depth looks reversed when exporting SVG HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lairdubois-opencutlist-sketchup-extension.