You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if upload_type == 'gdrive_relative':
if not drive_path.endswith('/'):
drive_path += '/'
!cp -r '/drive/My Drive/{drive_path}.' 'render/'
elif uploaded_filename.lower().endswith('.zip'):
!unzip -o $uploaded_filename -d 'render/'
elif uploaded_filename.lower().endswith('.blend'):
shutil.copy(uploaded_filename, 'render/')
blend_file_path = uploaded_filename
else:
raise SystemExit("Invalid file extension, only .blend and .zip can be uploaded.")
I GET THIS FOR A SINGLE CUBE BLEND FILE
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4.3.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
The text was updated successfully, but these errors were encountered:
This comment is for the developer of this Script @ynshung:
You can solve this error by replacing os.environ["LD_PRELOAD"] = "/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4.3.0" with os.environ["LD_PRELOAD"] = "/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4.5.9"
The updated version of libtcmalloc_minimal i.e., 4.5.9 works without an error.
After this;
!rm -r render
!mkdir render
if upload_type == 'gdrive_relative':
if not drive_path.endswith('/'):
drive_path += '/'
!cp -r '/drive/My Drive/{drive_path}.' 'render/'
elif uploaded_filename.lower().endswith('.zip'):
!unzip -o $uploaded_filename -d 'render/'
elif uploaded_filename.lower().endswith('.blend'):
shutil.copy(uploaded_filename, 'render/')
blend_file_path = uploaded_filename
else:
raise SystemExit("Invalid file extension, only .blend and .zip can be uploaded.")
I GET THIS FOR A SINGLE CUBE BLEND FILE
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4.3.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
The text was updated successfully, but these errors were encountered: