bpy.ops.wm.path_open() does'nt work when the path has spaces #32388

Closed
opened 2012-08-22 23:16:31 +02:00 by Dany Lebel · 3 comments
Member

%%%Steps to reproduce:

  • On a pc system with Windows (vista or 7 64bits) create the folder C:\folder with spaces\
  • Open blender and open the python console window
  • Execute the command >> bpy.ops.wm.path_open(filepath="C:\folder with spaces\")

Result:
A dos window opens instead of the file explorer.

Expected result:
The file explorer should be opened at the location of filepath even if the path has spaces in it.

This has been found on blender 2.64 testbuild 2 but also occurs on blender 2.63 and maybe before.

%%%

%%%Steps to reproduce: - On a pc system with Windows (vista or 7 64bits) create the folder C:\\folder with spaces\\ - Open blender and open the python console window - Execute the command >> bpy.ops.wm.path_open(filepath="C:\\folder with spaces\\") Result: A dos window opens instead of the file explorer. Expected result: The file explorer should be opened at the location of filepath even if the path has spaces in it. This has been found on blender 2.64 testbuild 2 but also occurs on blender 2.63 and maybe before. %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

%%%Fix in svn, thanks for the report.%%%

%%%Fix in svn, thanks for the report.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#32388
No description provided.