Exception in exportDXF: AttributeError on time.clock #76610
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#76610
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: ArchLinux
Graphics card: GeForce GTX 1050
Python version: 3.8
Blender Version
Broken: 2.82a
Short description of error
When exporting to the DXF format, there is an exception because the module
time
has no attributeclock
in Python 3.8Exact steps for others to reproduce the error
The problem is that the
clock
attribute has been deprecated since Python 3.3, and has been removed in Python 3.8.(https://docs.python.org/3/whatsnew/3.8.html#api-and-feature-removals)
Proposed patch:
Added subscriber: @madprog
Added subscriber: @ankitm
Changed status from 'Needs Triage' to: 'Confirmed'
Please submit a patch on https://developer.blender.org/differential/diff/create/
Also, it's helpful to read the guidelines listed on the top.
Isn't
time.time()
usable though.This issue was referenced by
b4f07c45de
Added subscriber: @brecht
I committed the fix now, but no need for backwards compatibility for older Python versions.
Changed status from 'Confirmed' to: 'Resolved'