Home › Forums › Bug Reports and Feature Requests › shutil.SameFileError
- This topic has 7 replies, 4 voices, and was last updated 6 years, 2 months ago by Yuri Kovelenov.
-
AuthorPosts
-
2018-01-25 at 9:33 pm #1831resonanceParticipant
Hi, when I export .gltf I get this error, and sneakpeek or run application I can’t see textures (Textures are’s in same application folder of .blend file, and preview in verge3d engine is ok)
Traceback (most recent call last):
File “E:\verge3d\addons\verge3d\__init__.py”, line 220, in execute
return gltf2_export.save(self, context, export_settings)
File “E:\verge3d\addons\verge3d\gltf2_export.py”, line 82, in save
generate_glTF(operator, context, export_settings, glTF)
File “E:\verge3d\addons\verge3d\gltf2_generate.py”, line 2913, in generate_glTF
generate_images(operator, context, export_settings, glTF)
File “E:\verge3d\addons\verge3d\gltf2_generate.py”, line 2218, in generate_images
shutil.copyfile(old_path, new_path)
File “E:\Blender\blender-2.79.0-git.6f633de-windows64\2.79\python\lib\shutil.py”, line 104, in copyfile
raise SameFileError(“{!r} and {!r} are the same file”.format(src, dst))
shutil.SameFileError: ‘E:\\verge3d\\applications\\panerai-verge3d\\quadrante-diffuse-linee.png’ and ‘E:\\verge3d\\applications\\panerai-verge3d/quadrante-diffuse-linee.png’ are the same file
location: <unknown location>:-12018-01-26 at 8:46 am #1837Yuri KovelenovStaff2018-01-26 at 10:27 am #1846resonanceParticipanthi, here the zipped copy of folder in application;
I started last year with blender, and never used internal obge, only cycles; I hope to learn to recreate beautiful material, or cycles node support in v3d..
A couple of question:
– which engine I have to use when creating mats?
– I attached also a jpg of project I would like trasform for v3d; at the moment, the generated .bin file is about 20mb.. too heavy?2018-01-26 at 11:02 am #1853Mikhail LuzyaninStaffHi, there’s two moments that you need to correct: first you need to chose proper UVMap in each Geometry nodes, second is all you texture are not power of two – if the engine see such texture it scale it to power of two image and if texture with alpha channel it will corrupt it- it’s know issue we will fix it’s in the future but now you need to scale your textures to power of two images (512×512 or 1024×1024 and so on). I’ve corrected your blend file a little so it works fine.
Attachments:
You must be logged in to view attached files.Co-founder and lead graphics specialist at Soft8Soft.
2018-01-31 at 11:40 am #1893resonanceParticipantHi Mikhail,
I’m doing something wrong.. the error isn’t on mats/textures..
In applications folder I duplicated the “cube” folder and renamed “cube-copy”, deleted cube.bin and cube.gltf, keeping the original textures, and original cube.blend renamed cube-copy.blend, when I try to export .gltf it always comes with the shutil error (see attachment).My workflow is:
– open Blender
– launch AppManager
– choose cube-copy App and click Open Blender File
– file->export->.gltfI’ve had port conflicts with xampp when skype is open, but now they’re both closed; I hope to solve technical problems and focus on creating content.. can you help me?
2018-01-31 at 4:48 pm #1896Yuri KovelenovStaff2018-10-09 at 1:43 pm #8028jsteideleParticipantHey Yuri,
I had the same problem as the OP, file in the ZIP didn’t fix it. Apparently it happened for me after I buffer pasted a object from another blend file. Also: suddenly transparency isn’t recognized anymore and the HDRI is missing as well… so frustrating
2018-10-09 at 1:47 pm #8029Yuri KovelenovStaff -
AuthorPosts
- You must be logged in to reply to this topic.