blender error with addons "import images as planes" #66033

Closed
opened 2019-06-23 03:10:05 +02:00 by Viktor · 13 comments

System Information
Operating system: Linux Ubuntu 19.04
Graphics card: Radeon Graphics

Blender Version
Broken: 2.79
Worked: -

Short description of error
File /.../addons/io_scene_obj/int.py, line 148, in execute return import_obj.load(context, **keywords)
File /.../addons/io_scene_obj/import_object.py, line 1024, in load float_func = get_float_func(filepath)
File /.../addons/io_scene_obj/import_object.py, line 944, in get_float_func file = open(filepath, 'rb')
location : 1

Exact steps for others to reproduce the error
try to import images as planes

**System Information** Operating system: Linux Ubuntu 19.04 Graphics card: Radeon Graphics **Blender Version** Broken: 2.79 Worked: - **Short description of error** File /.../addons/io_scene_obj/_int_.py, line 148, in execute return import_obj.load(context, **keywords) File /.../addons/io_scene_obj/import_object.py, line 1024, in load float_func = get_float_func(filepath) File /.../addons/io_scene_obj/import_object.py, line 944, in get_float_func file = open(filepath, 'rb') location <unknown location>: 1 **Exact steps for others to reproduce the error** try to import images as planes
Author

Added subscriber: @Forgoten_Soul

Added subscriber: @Forgoten_Soul

Added subscriber: @StephenSwaney

Added subscriber: @StephenSwaney

From the error message, it looks like you are running the OBJ (Wavefront) importer.

Make sure you are running Import Images From Planes

From the error message, it looks like you are running the OBJ (Wavefront) importer. Make sure you are running Import Images From Planes
Author

sorry... i mixed up with the old screenshot :/

that must be right... i... just load that screen with error...
123.png

sorry... i mixed up with the old screenshot :/ that must be right... i... just load that screen with error... ![123.png](https://archive.blender.org/developer/F7542342/123.png)

Added subscriber: @ideasman42

Added subscriber: @ideasman42

The issue is caused by the filename of the path being imported.

Please include a zip-file with the files that fail to import.

The issue is caused by the filename of the path being imported. Please include a zip-file with the files that fail to import.
Author

the fail with all files that i try to import

the fail with all files that i try to import

The error looks to be an encoding issue with the path your loading.

If you import a file, eg /tmp/test.png does this work?

It looks likely there is a character in the path that is causing the error.

The error looks to be an encoding issue with the path your loading. If you import a file, eg `/tmp/test.png` does this work? It looks likely there is a character in the path that is causing the error.
Author

hm....
An error always appears when i trying to load an image, for example, from here /home/user/images/any_file(.jpg / .png / .xcf)
(this folder is computer generated) and an error is still generated.

I tried to import the image from different places, but from wherever it was taken... error.

hm.... An error always appears when i trying to load an image, for example, from here `/home/user/images/any_file(.jpg / .png / .xcf)` (this folder is computer generated) and an error is still generated. I tried to import the image from different places, but from wherever it was taken... error.

The error looks to be an encoding issue with the path your loading.
If you import a file, eg /tmp/test.png does this work?

Please try this exact test:

  1. copy a PNG file to /tmp/test.png
  2. try to load it using Import Images From Planes

Also, it would be interesting to see the output of the locale command

> The error looks to be an encoding issue with the path your loading. > If you import a file, eg /tmp/test.png does this work? Please try this exact test: 1. copy a PNG file to /tmp/test.png 2. try to load it using Import Images From Planes Also, it would be interesting to see the output of the **locale** command

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2019-07-23 17:37:43 +02:00

More than a week without reply or activity. Due to the policy of the tracker archiving for until required info/data are provided.

More than a week without reply or activity. Due to the policy of the tracker archiving for until required info/data are provided.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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-addons#66033
No description provided.