You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QGIS 2.8 on windows 2008 R2 server. If the advanced search section is NOT expanded, or if the "Insert" check box is selected in the advanced search, then the audit history fails with a python error (see below). If the "Insert" checkbox is unchecked then the audit history is correctly shown (without the insert actions). I wonder if it's because there's nothing stored in the changed_fields column in the logged_actions table for an insert?
An error has occured while executing Python code:
Traceback (most recent call last):
File "C:/Users/Administrator/.qgis2/python/plugins\postgres91plusauditor\gui\auditdialog.py", line 140, in on_searchButton_clicked
self.displayLoggedActions()
File "C:/Users/Administrator/.qgis2/python/plugins\postgres91plusauditor\gui\auditdialog.py", line 150, in displayLoggedActions
self.loggedActionsTable.displayRows(self.results)
File "C:/Users/Administrator/.qgis2/python/plugins\postgres91plusauditor\gui\loggedactionstable.py", line 61, in displayRows
dataStr = eval("row.%s()" % crn)
File "", line 1, in
File "C:/Users/Administrator/.qgis2/python/plugins\postgres91plusauditor\core\logresultrow.py", line 93, in changedGeometryStr
if self.changedGeometry():
File "C:/Users/Administrator/.qgis2/python/plugins\postgres91plusauditor\core\logresultrow.py", line 89, in changedGeometry
geometry = self.getFieldValue(data, self.geomColumn)
File "C:/Users/Administrator/.qgis2/python/plugins\postgres91plusauditor\core\logresultrow.py", line 33, in getFieldValue
p = fieldRe(fieldName).search(data)
TypeError: expected string or buffer
QGIS 2.8 on windows 2008 R2 server. If the advanced search section is NOT expanded, or if the "Insert" check box is selected in the advanced search, then the audit history fails with a python error (see below). If the "Insert" checkbox is unchecked then the audit history is correctly shown (without the insert actions). I wonder if it's because there's nothing stored in the changed_fields column in the logged_actions table for an insert?
An error has occured while executing Python code:
Traceback (most recent call last):
File "C:/Users/Administrator/.qgis2/python/plugins\postgres91plusauditor\gui\auditdialog.py", line 140, in on_searchButton_clicked
self.displayLoggedActions()
File "C:/Users/Administrator/.qgis2/python/plugins\postgres91plusauditor\gui\auditdialog.py", line 150, in displayLoggedActions
self.loggedActionsTable.displayRows(self.results)
File "C:/Users/Administrator/.qgis2/python/plugins\postgres91plusauditor\gui\loggedactionstable.py", line 61, in displayRows
dataStr = eval("row.%s()" % crn)
File "", line 1, in
File "C:/Users/Administrator/.qgis2/python/plugins\postgres91plusauditor\core\logresultrow.py", line 93, in changedGeometryStr
if self.changedGeometry():
File "C:/Users/Administrator/.qgis2/python/plugins\postgres91plusauditor\core\logresultrow.py", line 89, in changedGeometry
geometry = self.getFieldValue(data, self.geomColumn)
File "C:/Users/Administrator/.qgis2/python/plugins\postgres91plusauditor\core\logresultrow.py", line 33, in getFieldValue
p = fieldRe(fieldName).search(data)
TypeError: expected string or buffer
Python version:
2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
QGIS version:
2.8.6-Wien Wien, e72e2ab
The text was updated successfully, but these errors were encountered: