-
Notifications
You must be signed in to change notification settings - Fork 166
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
No longer runs on 2.0.20256 x86_64? #83
Comments
Text Commands window shows: SCRIPT ERROR Traceback (most recent call last): |
Perhaps the distutils copy_tree import needs to be swapped for the one in shutil? |
index 10f6b1a..925b833 100644
--- a/URDF_Exporter/utils/utils.py
+++ b/URDF_Exporter/utils/utils.py
@@ -9,7 +9,7 @@ import adsk, adsk.core, adsk.fusion
import os.path, re
from xml.etree import ElementTree
from xml.dom import minidom
-from distutils.dir_util import copy_tree
+from shutil import copytree
import fileinput
import sys
@@ -149,7 +149,7 @@ def copy_package(save_dir, package_dir):
except: pass
try: os.mkdir(save_dir + '/urdf')
except: pass
- copy_tree(package_dir, save_dir)
+ copytree(package_dir, save_dir, dirs_exist_ok=True)
def update_cmakelists(save_dir, package_name):
file_name = save_dir + '/CMakeLists.txt'``` |
Note: This modification is cited from issue syuntoku14#83, created by kadakadak. I do not claim ownership of the idea for this modification.
it seems the URDF_Exporter_ros2 fork is also not working, nothing happens |
Solution & Fix: Worked for meTo fix the issue with the URDF_Exporter script, you'll need to update the code to replace the deprecated Steps:
|
Dear, I've followed these steps but I'm now getting "SCRIPT ERROR" in the text command, and nothing pops up. Kind regards. |
Hi this still isnt working for me. nothing shows up, no dialog box |
I Did the above changes for ros 1 and it worked but it's not working for ros 2 Failed: i am facing the above error can someone help |
to fix this error you just have to simply check your design to crosscheck design delete errors |
You mean errors from Fusion360? |
Doesn't sound like this is maintained anymore, but on the off chance someone is watching, I believe I've followed the instructions for creating a simple model to export, but when I run the script, nothing happens. No dialogs. No warnings. Not sure how to debug further. If my google translated Japanese is correct, the other person seems to be having a similar problem.
(sorry for the duplicate issue, I some how fat-fingered my return key and created an empty issue)
The text was updated successfully, but these errors were encountered: