Giter Site home page Giter Site logo

Comments (66)

Kirirru avatar Kirirru commented on August 17, 2024 1

Im AlivE!
im ready

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

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.

Kirirru avatar Kirirru commented on August 17, 2024

[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.

bbeaulant avatar bbeaulant commented on August 17, 2024

Ok, the Clippy.dll can't be loaded.

Can you try to install the last Microsoft Visual C++ Redistributable ?

https://learn.microsoft.com/fr-fr/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

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

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.

Kirirru avatar Kirirru commented on August 17, 2024

2024-02-27_19-41-39

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.

Kirirru avatar Kirirru commented on August 17, 2024

2024-02-27_19-52-13

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Yes, ALL new export features will fail on your computer because they need this DLL.

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

what should i do?

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Check my comment 7 minutes ago :)

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

oh! sorry. Thx for help.

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Did you restart the computer after installing MS Redistribuable ?

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

Yes. Of course.

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

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.

Kirirru avatar Kirirru commented on August 17, 2024

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.

bbeaulant avatar bbeaulant commented on August 17, 2024

Ok thanks. So it's not the culprit 😕

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

all was fine until i get updated on 6 ver

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

i can give you an access to my working pc. via AnyDesk

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

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

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

2024-02-28_19-45-04

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

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.

Kirirru avatar Kirirru commented on August 17, 2024

i have no CRUNTIME140.DLL

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Sorry it's c:\windows\system32\VCRUNTIME140.DLL

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

this one i have

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Ok, then dependencies not the problem too :(

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

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.

bbeaulant avatar bbeaulant commented on August 17, 2024

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.

Kirirru avatar Kirirru commented on August 17, 2024

i gues i found it
Снимок экрана 2024-02-28 212718
is russian names are supported?

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

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.

Kirirru avatar Kirirru commented on August 17, 2024

It works fine. =)

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Yes !

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

NOPE! wait

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

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.

Kirirru avatar Kirirru commented on August 17, 2024

it works. But with an error

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

Снимок экрана 2024-02-28 215012
same thing

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

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.

Kirirru avatar Kirirru commented on August 17, 2024

look at path name

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Definitely it's an encoding problem ...

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

afk 20min

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

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.

Kirirru avatar Kirirru commented on August 17, 2024

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.

bbeaulant avatar bbeaulant commented on August 17, 2024

Grrr, so no encoding problem there :(

And what respond :

Ladb::OpenCutList::Clippy.available?

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

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?'

:in `' SketchUp:in `eval' To resolve this issue, try installing the Microsoft Visual C++ Redistributable available here : https://aka.ms/vs/17/release/vc_redist.x64.exe => false

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Try

Fiddle.dlopen(File.join(Ladb::OpenCutList::PLUGIN_DIR, 'bin/x86/lib/Clippy.dll'))

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

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'

:in `' SketchUp:in `eval' => nil

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

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.

Kirirru avatar Kirirru commented on August 17, 2024

Ladb::OpenCutList::PLUGIN_DIR.encoding
=> #Encoding:UTF-8

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Ok, maybe we should try the correct encoding to use russian characters.

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

any tests before i go sleep?

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

No, sorry, maybe tomorrow 😉

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

=) ok

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

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.

unknownexpert avatar unknownexpert commented on August 17, 2024

Hi, had the same problem. Installing the DEV Version fixed the problem @bbeaulant

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

Снимок экрана 2024-02-29 142550

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.

Kirirru avatar Kirirru commented on August 17, 2024
  • 6.1.0-dev (202402291035)

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Arg, can you retry with last build -> 6.1.0-dev (202402291235) ?

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

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.

Kirirru avatar Kirirru commented on August 17, 2024

#<Encoding::CompatibilityError: incompatible character encodings: UTF-8 and Windows-1251>

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Grrr ...

What's the return of this ?

ENV['Path'].encoding

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

ENV['Path'].encoding
=> #Encoding:Windows-1251

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

I got very sick. I'm going to bed. If I survive tomorrow, we will test again.

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Ok, I just commit a new buid (202402291643).
If tomorrow you can test. Get well soon!

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

Does the last build work for you ?

from lairdubois-opencutlist-sketchup-extension.

Kirirru avatar Kirirru commented on August 17, 2024

Yes it works. Finaly.
Maybe now I deserve to add the cost of cuts to the final estimate?
xD

from lairdubois-opencutlist-sketchup-extension.

bbeaulant avatar bbeaulant commented on August 17, 2024

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.

Kirirru avatar Kirirru commented on August 17, 2024

it was here

from lairdubois-opencutlist-sketchup-extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.