-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BuG - gets stuck during cutting calculation #630
Comments
Hi, |
[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 |
Ok, the Clippy.dll can't be loaded. Can you try to install the last Microsoft Visual C++ Redistributable ? |
Creating toolbar ... |
Yes, ALL new export features will fail on your computer because they need this DLL. |
what should i do? |
Check my comment 7 minutes ago :) |
oh! sorry. Thx for help. |
Did you restart the computer after installing MS Redistribuable ? |
Yes. Of course. |
Hmm 🤔 Can you type the following piece of code in the Ruby Console and check if it returns
|
File.exist?("C:/Users/Кирилл/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/ladb_opencutlist/ruby/lib/clippy/../../../bin/x86/lib/Clippy.dll") |
Ok thanks. So it's not the culprit 😕 |
all was fine until i get updated on 6 ver |
i can give you an access to my working pc. via AnyDesk |
Yes, Clippy is our DLL. Check :
|
i have no CRUNTIME140.DLL |
Sorry it's |
this one i have |
Ok, then dependencies not the problem too :( |
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 |
Clippy.dll contains shared methods written in C that Ruby can call. |
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 ? |
It works fine. =) |
Definitely it's an encoding problem ... |
afk 20min |
Can you try to type in Ruby Console :
And after
|
Ladb::OpenCutList::PLUGIN_DIR |
Grrr, so no encoding problem there :( And what respond :
|
Ladb::OpenCutList::Clippy.available? |
Try
|
Fiddle.dlopen(File.join(Ladb::OpenCutList::PLUGIN_DIR, 'bin/x86/lib/Clippy.dll')) |
Arg ... maybe Fiddle don't care about UTF-8 file path ... Does this line :
Returns ? => #Encoding:UTF-8 |
Ladb::OpenCutList::PLUGIN_DIR.encoding |
Ok, maybe we should try the correct encoding to use russian characters. |
any tests before i go sleep? |
No, sorry, maybe tomorrow 😉 |
=) ok |
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). |
Hi, had the same problem. Installing the DEV Version fixed the problem @bbeaulant |
OpenCutList 6.1.0-dev (build:202402291035) - ru - SketchUp 23.0.397 - win |
|
Arg, can you retry with last build -> 6.1.0-dev (202402291235) ? |
Nope =) OpenCutList 6.1.0-dev (build:202402291235) - ru - SketchUp 23.0.397 - win |
#<Encoding::CompatibilityError: incompatible character encodings: UTF-8 and Windows-1251> |
Grrr ... What's the return of this ?
|
ENV['Path'].encoding |
I got very sick. I'm going to bed. If I survive tomorrow, we will test again. |
Ok, I just commit a new buid (202402291643). |
Im AlivE! |
Does the last build work for you ? |
Yes it works. Finaly. |
Yeah 👍!
Best thing would be to open a new issue for that :) |
gets stuck during cutting calculation

Bug.zip
The text was updated successfully, but these errors were encountered: