Jump to content
3DCoat Forums

[Fixed] Blender 4.2 - 4.3 | Applink not working


swifty
 Share

Go to solution Solved by Andrew Shpagin,

Recommended Posts

  • New Member
Carlosan
This post was recognized by Carlosan!

daglask was awarded the badge 'Helpful' and 1 points.

Hi all newbie here to 3dcoat

I have blender 4.3 portable . So the  python popo-up menu warning about  data.json not found was logical. All my config and extensions are in portable folder.

What i did is this workaround . I created a symbolic link to where the program wanted the data.json file to be. ie C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\blender_org\coat_applink\data.json. Of course i didn't make the symbolic link only for the data.json file but the whole folder

coat_applink .  I tested a couple of times and is working .  

On the other hand i may test only silly things ..

Please let me know 

 

  • Thanks 1
Link to comment
Share on other sites

  • Advanced Member
23 hours ago, Carlosan said:

performig any operation ?

I tested v.30 and Blender 4.3.0 and found it working as expected

My version (attached) is located into

C:\Users\<username>\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\user_default\io_coat3D

any reference on scripts/addons folder was deleted

io_coat3D.rar 92.39 kB · 1 download

Ok . Dont let Blender copy Config files from previous Blender. It appears to corrupts the 3dcoat app at least for me. Fresh install and everything works.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • Member

I'm pretty sure applink has a recent bug in the code. It's doubling some of the \'s. I'm getting errors like this when I try to export:
 

RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 4.3\4.3\scripts\addons_core\io_coat3D\__init__.py", line 567, in execute
    foundExchangeFolder, global_exchange_folder = folders.InitFolders()
                                                  ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.3\4.3\scripts\addons_core\io_coat3D\folders.py", line 23, in InitFolders
    os.mkdir(DC2Folder)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\Liz\\Documents\\3DC2Blender'
Location: C:\Program Files\Blender Foundation\Blender 4.3\4.3\scripts\modules\bpy\ops.py:109

I do have a 3DC2Blender file in my Documents folder. The only thing I can see it not being able to find it is because of the \\'s

Link to comment
Share on other sites

  • Advanced Member
1 hour ago, tincancrab said:

I'm pretty sure applink has a recent bug in the code. It's doubling some of the \'s. I'm getting errors like this when I try to export:
 

RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 4.3\4.3\scripts\addons_core\io_coat3D\__init__.py", line 567, in execute
    foundExchangeFolder, global_exchange_folder = folders.InitFolders()
                                                  ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.3\4.3\scripts\addons_core\io_coat3D\folders.py", line 23, in InitFolders
    os.mkdir(DC2Folder)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\Liz\\Documents\\3DC2Blender'
Location: C:\Program Files\Blender Foundation\Blender 4.3\4.3\scripts\modules\bpy\ops.py:109

I do have a 3DC2Blender file in my Documents folder. The only thing I can see it not being able to find it is because of the \\'s

Im Using Blender 4.3, 3dcoat 2024 30 and the 3dcoat app supplied by Carlos and the export works as expected. Do a fresh Blender install and dont allow Blender to copy Configuration from a previous Blender. For me this works.

 

io_coat3D.rar

Link to comment
Share on other sites

  • Member
Quote

Im Using Blender 4.3, 3dcoat 2024 30 and the 3dcoat app supplied by Carlos and the export works as expected. Do a fresh Blender install and dont allow Blender to copy Configuration from a previous Blender. For me this works.

When I made sure to download 4.3, I also noted not to copy configuration. So I set up all my configuration again. But to problem solve this, I went to Windows, Uninstalled 4.3, went to appdata\roaming, deleted 4.3 folder, and went to program files and deleted 4.3 folder from there too. I then reinstalled 4.3 from a hopefully clean start.

 

Still getting errors.

 

Python: Traceback (most recent call last):
  File "C:\Users\Liz\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\user_default\io_coat3D\__init__.py", line 544, in invoke
    bpy.ops.export_applink.pilgway_3d_coat()
  File "C:\Program Files\Blender Foundation\Blender 4.3\4.3\scripts\modules\bpy\ops.py", line 109, in __call__
    ret = _op_call(self.idname_py(), kw)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\Liz\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\user_default\io_coat3D\__init__.py", line 555, in execute
    foundExchangeFolder, global_exchange_folder = folders.InitFolders()
                                                  ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Liz\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\user_default\io_coat3D\folders.py", line 23, in InitFolders
    os.mkdir(DC2Folder)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\Liz\\Documents\\3DC2Blender'
Location: C:\Program Files\Blender Foundation\Blender 4.3\4.3\scripts\modules\bpy\ops.py:109

 

Link to comment
Share on other sites

  • Member
Quote

I guess that you need to setup the exchange folder

Unfortunately, that's set up too.

image.png.ae4716e7773d394b839efca1e6c57328.png

 

The only other issue I see is that I upgraded from Textura to 3DCoat. I uninstalled Textura, but maybe it's just stuck on that and I need to use a special uninstaller to remove everything from the registry and do re installation of Blender and 3DCoat? Would that make a difference?

Link to comment
Share on other sites

  • Advanced Member
On 12/12/2024 at 2:44 PM, Carlosan said:

I guess that you need to setup the exchange folder

 

I took a fresh install of Blender 4.3, added the 3dcoat app and everything was automatically set up. FYI 

Link to comment
Share on other sites

  • Member
On 12/14/2024 at 7:58 PM, Britain said:

I took a fresh install of Blender 4.3, added the 3dcoat app and everything was automatically set up. FYI 

Ok, so I figured part of the problem. Since my Documents are stored on a separate HDD, I had to create Applink files on the "other" Documents folder, that I do not have my PC default to. I am no longer getting errors, but I am not getting any option to place an object in my 3DCoat 2024 modeling mode, so I'm a bit stumped. (I am using 3DCoat. i UPGRADED from Textura) I've done all of the bottom after uninstalling Blender 4.3 again, and using an Uninstallr to clean up 3DCoat and reinstall it from scratch. I did NOT import any settings from older versions of Blender, and I deleted old 4.3 folders from appdata and Program Files to make sure no old residual settings remained.

What I've done (maybe I'm getting lost somewhere, there's things that have changed based on the guide):

  1. Copied what is in \Program Files\3DCoat-2024\data\ToolsPresets\InstallAppLinks\Blender4x\files to \Program Files\Blender Foundation\Blender 4.3\4.3\scripts\addons_core\io_coat3D
  2. Created User\AppLinks\3D-Coat\Exchange\, an import.txt, and a Blender folder in the folder
  3. Created a User\3DC2Blender and an exchange_folder.txt that points to User\AppLinks\3D-Coat\Exchange.
  4. Enabled 3D Coat in Blender, set exchange folder under Scene settings to User\AppLinks\3D-Coat\Exchange\ and saved new exchange folder.

 

Not sure what I'm missing here?

Link to comment
Share on other sites

  • Advanced Member
22 hours ago, tincancrab said:

Ok, so I figured part of the problem. Since my Documents are stored on a separate HDD, I had to create Applink files on the "other" Documents folder, that I do not have my PC default to. I am no longer getting errors, but I am not getting any option to place an object in my 3DCoat 2024 modeling mode, so I'm a bit stumped. (I am using 3DCoat. i UPGRADED from Textura) I've done all of the bottom after uninstalling Blender 4.3 again, and using an Uninstallr to clean up 3DCoat and reinstall it from scratch. I did NOT import any settings from older versions of Blender, and I deleted old 4.3 folders from appdata and Program Files to make sure no old residual settings remained.

What I've done (maybe I'm getting lost somewhere, there's things that have changed based on the guide):

  1. Copied what is in \Program Files\3DCoat-2024\data\ToolsPresets\InstallAppLinks\Blender4x\files to \Program Files\Blender Foundation\Blender 4.3\4.3\scripts\addons_core\io_coat3D
  2. Created User\AppLinks\3D-Coat\Exchange\, an import.txt, and a Blender folder in the folder
  3. Created a User\3DC2Blender and an exchange_folder.txt that points to User\AppLinks\3D-Coat\Exchange.
  4. Enabled 3D Coat in Blender, set exchange folder under Scene settings to User\AppLinks\3D-Coat\Exchange\ and saved new exchange folder.

 

Not sure what I'm missing here?

Sorry cant help you there. All of my programs are on the main drive, I only use the secondary for file storage.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...