https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /lib64/python2.7/site-packages/django/contrib/gis/db/backends/spatialite/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/site-packages/django/contrib/gis/db/backends/spatialite/base.pyc
�
r�\c@s�ddlZddlmZddlmZddlmZddlmZm	Z
mZddlm
Z
ddlmZddlmZdd	lmZdd
lmZde
fd��YZ	dS(
i����N(tfind_library(tsettings(tImproperlyConfigured(tDatabasetDatabaseWrappertSQLiteCursorWrapper(tSpatiaLiteClient(tSpatiaLiteCreation(tSpatiaLiteIntrospection(tSpatiaLiteOperations(tsixRcBseZd�Zd�ZRS(cOs�tjdkrtd��nttdtd��|_|jsQtd��ntt|�j	||�t
|�|_t|�|_
t|�|_t|�|_dS(	NiiisLOnly versions of pysqlite 2.5+ are compatible with SpatiaLite and GeoDjango.tSPATIALITE_LIBRARY_PATHt
spatialitesUnable to locate the SpatiaLite library. Make sure it is in your library path, or set SPATIALITE_LIBRARY_PATH in your settings.(iii(Rtversion_infoRtgetattrRRtspatialite_libtsuperRt__init__R	topsRtclientRtcreationRt
introspection(tselftargstkwargs((sP/tmp/pip-install-XxeQeY/django/django/contrib/gis/db/backends/spatialite/base.pyRs		cCs�tt|�j|�}y|jt�Wntk
rHtd��nX|jdt�}y|j	d|j
f�WnItk
r�}d|j
|f}tj
tt|�tj�d�nX|j�|S(Ns�The pysqlite library does not support C extension loading. Both SQLite and pysqlite must be configured to allow the loading of extensions to use SpatiaLite.tfactorysSELECT load_extension(%s)s@Unable to load the SpatiaLite library extension "%s" because: %si(RRtget_new_connectiontenable_load_extensiontTruetAttributeErrorRtcursorRtexecuteRt	ExceptionR
treraisetsystexc_infotclose(Rtconn_paramstconntcurtmsgtnew_msg((sP/tmp/pip-install-XxeQeY/django/django/contrib/gis/db/backends/spatialite/base.pyR's

'
(t__name__t
__module__RR(((sP/tmp/pip-install-XxeQeY/django/django/contrib/gis/db/backends/spatialite/base.pyRs	(R"tctypes.utilRtdjango.confRtdjango.core.exceptionsRtdjango.db.backends.sqlite3.baseRRtSQLiteDatabaseWrapperRt0django.contrib.gis.db.backends.spatialite.clientRt2django.contrib.gis.db.backends.spatialite.creationRt7django.contrib.gis.db.backends.spatialite.introspectionRt4django.contrib.gis.db.backends.spatialite.operationsR	tdjango.utilsR
(((sP/tmp/pip-install-XxeQeY/django/django/contrib/gis/db/backends/spatialite/base.pyt<module>s

https://t.me/AnonymousX5 - 2025