Sqlite 3 ImportError #46526
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
8 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#46526
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 and graphics card
Windows 10
Blender Version
Broken: 2.75a from 2015-07-07
With some files the DLL load failed error appears.
Short description of error
Exact steps for others to reproduce the error
Start the bug_test.blend and read the console text.bug.zip
Changed status to: 'Open'
Added subscriber: @laurenz
Added subscriber: @mont29
First of all, please check against latest release (2.76). ;)
Also, please attach here the log text of the error in the console.
Hi, sry I didnt even notice the new release, but, i just tried it and it didnt work either.
and here is the console log:
Added subscriber: @MartijnBerger
Find those
.../2.76/2.76/...
very suspicious… Does importing any other py module (os
,sys
, etc.) works?@MartijnBerger I think that kind of path is not expected for embedded python?
Yeah, I dont have any problems with os or bge or pickle...just sqlite3 doesnt work always, but in a repeateable way. I have some files where it works without a problem, and then there are others where it doesnt work at all. like the one in the bug zip.
Added subscriber: @ideasman42
Likely Blender is installed in
C:\Blender\2.76
,Could you attach the system-info output?
https://www.blender.org/manual/troubleshooting/general_help.html#system-info
system-info.txt
Here is the system-info.txt
and no, blender is installed on D: in the matching release-directory
I now found out that the problem doesn't appear when I open the blend file with the open command instead of the shortcut or the file. Also the os command chdir(Blenderdirectory) solves the problem, but i still think that this is a bug, which should be fixed ;)
Added subscriber: @Sergey
Does it still happen with 2.76? And does this happen with other modules (os, sys, etc)?
Yes it still happens with 2.76 and no, at least I didnt notice any problems with other modules.
Either
sqlite3.dll
should either become static (_sqlite could stay dynamic, python knows how to deal with it) or we have add path with sqlite3 to the PATH variable fromblender-app.exe
.@MartijnBerger, mind investigating if it's doable to make sqlite3.dll static now?
Added subscriber: @ShadowHunterRUS
Added subscriber: @snuq
This started happening on my computer, my script using sqlite3 would not work, and typing 'import sqlite3' in the python console would not work.
This was happening in any .blend file (even when I loaded the factory defaults), running blender from various locations, and in several different versions of blender.
If anyone else comes across this in a search before it is fixed, I managed to get it to import properly by adding the folder that contains the sqlite3.dll file (the blender main directory) to the windows 'Path' variable.
Fixed in 2.77 and buildbots as of tomorrow
Changed status from 'Open' to: 'Resolved'
Added subscriber: @Blendify