Unable to import sqlite3 #41144

Closed
opened 2014-07-22 14:20:57 +02:00 by inactive account · 17 comments

System Information
Windows 8.1 64-bit

Blender Version
I only tested this on 32-bit Blender builds:
Broken: 2.70a VS2013 preview and 2.71
Worked: 2.70a (non-VS2013)

Short description of error
Importing sqlite3 fails with this traceback:

>>> import sqlite3

Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
  File "C:\Users\Sybren\Downloads\blender-2.70a-windows64-vc2013_preview\2.70\python\lib\sqlite3\__init__.py", line 23, in <module>
    from sqlite3.dbapi2 import *
  File "C:\Users\Sybren\Downloads\blender-2.70a-windows64-vc2013_preview\2.70\python\lib\sqlite3\dbapi2.py", line 26, in <module>
    from _sqlite3 import *
ImportError: DLL load failed: The specified module could not be found.

Exact steps for others to reproduce the error
Open Blender, go to the Scripting view, type import sqlite3 in the console. See the error.

**System Information** Windows 8.1 64-bit **Blender Version** I only tested this on 32-bit Blender builds: Broken: 2.70a VS2013 preview and 2.71 Worked: 2.70a (non-VS2013) **Short description of error** Importing sqlite3 fails with this traceback: ``` >>> import sqlite3 Traceback (most recent call last): File "<blender_console>", line 1, in <module> File "C:\Users\Sybren\Downloads\blender-2.70a-windows64-vc2013_preview\2.70\python\lib\sqlite3\__init__.py", line 23, in <module> from sqlite3.dbapi2 import * File "C:\Users\Sybren\Downloads\blender-2.70a-windows64-vc2013_preview\2.70\python\lib\sqlite3\dbapi2.py", line 26, in <module> from _sqlite3 import * ImportError: DLL load failed: The specified module could not be found. ``` **Exact steps for others to reproduce the error** Open Blender, go to the Scripting view, type ```import sqlite3``` in the console. See the error.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @sybrenstuvel

Added subscriber: @sybrenstuvel

PS it also fails on the latest version from build.blender.org: blender-2.71-2e43617-win32

PS it also fails on the latest version from build.blender.org: blender-2.71-2e43617-win32

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2014-07-22 15:00:47 +02:00

Thanks for the report, but this is not a bug. We strip most non-essential modules from our embedded python (for size reasons), so if you need them you have either to copy the module in your own addon dir, or (try to) use system python…

Thanks for the report, but this is not a bug. We strip most non-essential modules from our embedded python (for size reasons), so if you need them you have either to copy the module in your own addon dir, or (try to) use system python…

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'

Talking with @sybrenstuvel over IRC, looks like this was actually unintentional miss when creating VC2013 build environment?

Talking with @sybrenstuvel over IRC, looks like this was actually unintentional miss when creating VC2013 build environment?
Bastien Montagne removed their assignment 2014-07-22 16:11:05 +02:00
Martijn Berger was assigned by Bastien Montagne 2014-07-22 16:11:05 +02:00

Added subscriber: @mont29

Added subscriber: @mont29

Martijn, think this is in your garden. ;)

Martijn, think this is in your garden. ;)

This issue was referenced by cebf728250

This issue was referenced by cebf7282504280140cdc9cbf85c79b03fdc14c10
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Closed by commit cebf728250.

Closed by commit cebf728250.

Added subscriber: @matali23

Added subscriber: @matali23

Changed status from 'Resolved' to: 'Open'

Changed status from 'Resolved' to: 'Open'
matali23 reopened this issue 2016-11-02 13:07:30 +01:00

This bugs reappeared in latest VS2015 builds.

This bugs reappeared in latest VS2015 builds.
Martijn Berger was unassigned by Ray molenkamp 2016-11-02 17:31:53 +01:00
Ray molenkamp self-assigned this 2016-11-02 17:31:53 +01:00
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

fixed in rBL61745

fixed in rBL61745
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#41144
No description provided.