Nothing is happening when I upload a collada file #50198

Closed
opened 2016-12-07 23:05:14 +01:00 by Kristen Kelly · 17 comments

Windows 10 Pro version 1607, 64 bit operating system

Blender Version
2.78 a

When I go to file > import > collada, it brings me to the page where I can choose my file. When I select the file and hit "Import COLLADA", nothing happens. It brings me back to the main screen, but the file is not imported. There is seemingly no error.hard_cover.DAE

I have uploaded the file that I am trying to import. Am I doing something wrong?

Thank you

Windows 10 Pro version 1607, 64 bit operating system **Blender Version** 2.78 a When I go to file > import > collada, it brings me to the page where I can choose my file. When I select the file and hit "Import COLLADA", nothing happens. It brings me back to the main screen, but the file is not imported. There is seemingly no error.[hard_cover.DAE](https://archive.blender.org/developer/F415473/hard_cover.DAE) I have uploaded the file that I am trying to import. Am I doing something wrong? Thank you
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @KristenEKelly

Added subscriber: @KristenEKelly

Added subscribers: @GaiaClary, @mont29

Added subscribers: @GaiaClary, @mont29
Gaia Clary was assigned by Bastien Montagne 2016-12-09 10:01:48 +01:00

Sounds like collada file is not valid, in console I’m getting those errors:

IMB_loadifffile: couldn't get mapping /home/i74700deb64/Téléchargements/
Sax FWL Error: Texture with sid "Map #14238-image" not found in effect with id "Material #23-fx".
Couldn't find a material by UID.

@GaiaClary will let you check whether this is indeed invalid file, or bug in collada importer ;)

Sounds like collada file is not valid, in console I’m getting those errors: ``` IMB_loadifffile: couldn't get mapping /home/i74700deb64/Téléchargements/ Sax FWL Error: Texture with sid "Map #14238-image" not found in effect with id "Material #23-fx". Couldn't find a material by UID. ``` @GaiaClary will let you check whether this is indeed invalid file, or bug in collada importer ;)

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

I did some comparison with a file exported from MakeHuman.
The main difference is that like the error message says the texture map definition is missing from the Material #23.

Also, does including the # in the material name is valid as it is used for referencing ?
The texture path was hardcoded into the file itself and not relative.

@KristenEKelly what is the program that created the DAE file? Is it 3D Max maybe?

Also this modified DAE file should import fine (apart from the missing image with path to a location on C: drive).

hard_cover_test.DAE

I did some comparison with a file exported from MakeHuman. The main difference is that like the error message says the texture map definition is missing from the `Material #23.` Also, does including the # in the material name is valid as it is used for referencing ? The texture path was hardcoded into the file itself and not relative. @KristenEKelly what is the program that created the DAE file? Is it 3D Max maybe? Also this modified DAE file should import fine (apart from the missing image with path to a location on C\: drive). [hard_cover_test.DAE](https://archive.blender.org/developer/F416017/hard_cover_test.DAE)
Member

As far as i can see the Collada Importer rejects the import because of the wrong material name syntax.

What we should do in such a case:

  • Make more helpful error messages
  • If possible indicate on which line in the dae file the error shows up
  • Add an extra Import Option "graceful import" which would import as much of the data it can and discard the parts with errors

I am not sure about the graceful import, but i look into that.

As far as i can see the Collada Importer rejects the import because of the wrong material name syntax. What we should do in such a case: * Make more helpful error messages * If possible indicate on which line in the dae file the error shows up * Add an extra Import Option "graceful import" which would import as much of the data it can and discard the parts with errors I am not sure about the graceful import, but i look into that.
Author

Thank you for your reply!

@VukGardasevic I am actually not exactly sure what program the file was created in...The company I work for hired someone on Upwork to create the file for us, but we have to edit the dimensions of the file for our customers. I read that Blender was the best program to work with. I will try to load the modified Dae, thank you!

Thank you for your reply! @VukGardasevic I am actually not exactly sure what program the file was created in...The company I work for hired someone on Upwork to create the file for us, but we have to edit the dimensions of the file for our customers. I read that Blender was the best program to work with. I will try to load the modified Dae, thank you!
Author

@VukGardasevic I was able to import the modified Dae file, thank you! I am getting the same error with this file, which I'm assuming is the same issue{F417524} They were created by the same 3D. Any help you have with this 2nd file would be greatly appreciated!

Thank you again!

@VukGardasevic I was able to import the modified Dae file, thank you! I am getting the same error with this file, which I'm assuming is the same issue{[F417524](https://archive.blender.org/developer/F417524/soft_cover.DAE)} They were created by the same 3D. Any help you have with this 2nd file would be greatly appreciated! Thank you again!
Author

@GaiaClary Can you possibly help with one more collada file? The other developer was able to pinpoint the problem with my file so that I was able to import it into blender. Any assistance would be greatly appreciated so that I can use the blender application for my other collada file.

soft_cover.DAE

Thank you!

@GaiaClary Can you possibly help with one more collada file? The other developer was able to pinpoint the problem with my file so that I was able to import it into blender. Any assistance would be greatly appreciated so that I can use the blender application for my other collada file. [soft_cover.DAE](https://archive.blender.org/developer/F418763/soft_cover.DAE) Thank you!

Added subscriber: @dfelinto

Added subscriber: @dfelinto

It's not up to Blender to open corrupt collada files. @GaiaClary maybe close this as TODO and write up the fallback collada import in the Collada todo page?

It's not up to Blender to open corrupt collada files. @GaiaClary maybe close this as TODO and write up the fallback collada import in the Collada todo page?
Member

I will look into this shortly.

I will look into this shortly.

This issue was referenced by 22faf66c8b

This issue was referenced by 22faf66c8b7ebb79405b87a74edfdc78a7f26fb0
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

This issue was referenced by 4bd72586aa

This issue was referenced by 4bd72586aa2ef6b0f595790ef4d066e9c18d487b
Member

Hi, Kristen;

Thanks for reporting. At the end i found the problem was in the way how the importer handles errors. Your files should now import with warnings about missing images.

Hi, Kristen; Thanks for reporting. At the end i found the problem was in the way how the importer handles errors. Your files should now import with warnings about missing images.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#50198
No description provided.