Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while extracting GTFS - GTFS Loader #13

Open
Rossellaross87polito opened this issue May 26, 2023 · 1 comment
Open

Error while extracting GTFS - GTFS Loader #13

Rossellaross87polito opened this issue May 26, 2023 · 1 comment

Comments

@Rossellaross87polito
Copy link

ython Stack Trace
Windows fatal exception: access violation

Thread 0x0000157c (most recent call first):
File "C:\Users/rosse/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\GTFS_Loader\GTFS.py", line 321 in index
cursor.execute("CREATE INDEX {0}_index ON {1}({0})".format(field,layer))
File "C:\Users/rosse/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\GTFS_Loader\GTFS.py", line 355 in load_layers_from_gpkg
self.index(GPKG_path,['shape_id', 'shape_pt_sequence'],'shapes_point')
File "C:\Users/rosse/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\GTFS_Loader\GTFS.py", line 299 in run
self.load_layers_from_gpkg(gpkg_path, layer_names)

Current thread 0x00002f3c (most recent call first):

Stack Trace

QSortFilterProxyModel::tr :
QSortFilterProxyModel::sortRoleChanged :
QSortFilterProxyModel::qt_static_metacall :
QObject::qt_static_metacall :
QAbstractItemModel::endInsertRows :
QgsLayerTreeModel::nodeAddedChildren :
QObject::qt_static_metacall :
QgsLayerTreeNode::addedChildren :
QMetaCallEvent::placeMetaCall :
QObject::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
qt_plugin_query_metadata :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.28.6-Firenze
QGIS code revision: qgis/QGIS@868c9fa
Compiled against Qt: 5.15.3
Running against Qt: 5.15.3
Compiled against GDAL: 3.6.4
Running against GDAL: 3.6.4

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.22621

Steps to reproduce the issue
Python Stack Trace
Windows fatal exception: access violation

Thread 0x0000157c (most recent call first):
File "C:\Users/rosse/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\GTFS_Loader\GTFS.py", line 321 in index
cursor.execute("CREATE INDEX {0}_index ON {1}({0})".format(field,layer))
File "C:\Users/rosse/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\GTFS_Loader\GTFS.py", line 355 in load_layers_from_gpkg
self.index(GPKG_path,['shape_id', 'shape_pt_sequence'],'shapes_point')
File "C:\Users/rosse/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\GTFS_Loader\GTFS.py", line 299 in run
self.load_layers_from_gpkg(gpkg_path, layer_names)

Current thread 0x00002f3c (most recent call first):

Stack Trace

QSortFilterProxyModel::tr :
QSortFilterProxyModel::sortRoleChanged :
QSortFilterProxyModel::qt_static_metacall :
QObject::qt_static_metacall :
QAbstractItemModel::endInsertRows :
QgsLayerTreeModel::nodeAddedChildren :
QObject::qt_static_metacall :
QgsLayerTreeNode::addedChildren :
QMetaCallEvent::placeMetaCall :
QObject::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
qt_plugin_query_metadata :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.28.6-Firenze
QGIS code revision: qgis/QGIS@868c9fa
Compiled against Qt: 5.15.3
Running against Qt: 5.15.3
Compiled against GDAL: 3.6.4
Running against GDAL: 3.6.4

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.22621
Versions
3.28.6-Firenze
here is the gtfs i tried to upload
gtfs_compressed.zip

@Rossellaross87polito
Copy link
Author

Python Stack Trace
Windows fatal exception: access violation

Thread 0x00000f60 (most recent call first):
File "C:\Users/rosse/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\GTFS_Loader\GTFS.py", line 343 in load_layers_from_gpkg
layer = QgsVectorLayer(path_to_layer, layer_name, "ogr")
File "C:\Users/rosse/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\GTFS_Loader\GTFS.py", line 299 in run
self.load_layers_from_gpkg(gpkg_path, layer_names)

Current thread 0x000027f4 (most recent call first):

Stack Trace

QSortFilterProxyModel::tr :
QSortFilterProxyModel::sortRoleChanged :
QSortFilterProxyModel::qt_static_metacall :
QObject::qt_static_metacall :
QAbstractItemModel::endInsertRows :
QgsLayerTreeModel::nodeAddedChildren :
QObject::qt_static_metacall :
QgsLayerTreeNode::addedChildren :
QMetaCallEvent::placeMetaCall :
QObject::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
qt_plugin_query_metadata :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.28.6-Firenze
QGIS code revision: 868c9fa03b
Compiled against Qt: 5.15.3
Running against Qt: 5.15.3
Compiled against GDAL: 3.6.4
Running against GDAL: 3.6.4

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.22621

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant