[QGIS-it-user] Plugin autoSaver in QGIS 2.18.21 LTR

Buongiorno a tutti.
questa mattina ho aggiornato la mia versione QGIS LTR all’ultima versione QGIS 2.18.21
ed è apparso un problema python con questo plugin.

E’ un mio problema o potrebbe essere un bug ?

Utilizzo Windows 10 a 64 bit

Grazie

Massimo

https://plugins.qgis.org/plugins/autoSaver/

Con l’ultima versione(2.4) del plugin nella medesima configurazione non ottengo nessun errore.
Potresti dare qualche istruzione in più per riprodurre il problema?

···

Il giorno 28 giugno 2018 13:14, Massimo A. <suburbanstudio@runbox.com> ha scritto:

Buongiorno a tutti.
questa mattina ho aggiornato la mia versione QGIS LTR all’ultima versione QGIS 2.18.21
ed è apparso un problema python con questo plugin.

E’ un mio problema o potrebbe essere un bug ?

Utilizzo Windows 10 a 64 bit

Grazie

Massimo

https://plugins.qgis.org/plugins/autoSaver/

Si è verificato un errore durante l’esecuzione del codice Python:

TypeError: write() takes exactly 2 arguments (1 given)

Traceback (most recent call last):
  File "C:/Users/info/.qgis2/python/plugins\autoSaver\autosave.py", line 370, in cronEvent
    self.saveCurrentProject()
  File "C:/Users/info/.qgis2/python/plugins\autoSaver\autosave.py", line 399, in saveCurrentProject
    QgsProject.instance().write()
TypeError: write() takes exactly 2 arguments (1 given)

Versione Python: 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)]
Versione di QGIS: 2.18.21 Las Palmas, 9fba24a3f2

Percorso Python:

  • C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\processing
  • C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python
  • C:/Users/info/.qgis2/python
  • C:/Users/info/.qgis2/python/plugins
  • C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins
  • C:\PROGRA~1\QGIS2~1.18\bin\python27.zip
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\DLLs
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\plat-win
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\lib-tk
  • C:\PROGRA~1\QGIS2~1.18\bin
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32\lib
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Pythonwin
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg
  • C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg
  • C:/Users/info/.qgis2//python
  • C:/Users/info/.qgis2/python/plugins\go2streetview
  • C:\Users\info.qgis2\python\plugins\mmqgis/forms
  • C:\Users\info.qgis2\python\plugins
  • C:\Users\info.qgis2\python\plugins
  • C:\Users\info.qgis2\python\plugins\QuickMultiAttributeEdit/forms

QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user

Con l’ultima versione(2.4) del plugin nella medesima configurazione non ottengo nessun errore.
Potresti dare qualche istruzione in più per riprodurre il problema?

L´errore dal pannello messaggi log di Python che ricevo è questo :

2018-07-04T13:31:38 1 Traceback (most recent call last):

File “C:/Users/info/.qgis2/python/plugins\autoSaver\autosave.py”, line 370, in cronEvent

self.saveCurrentProject()

File “C:/Users/info/.qgis2/python/plugins\autoSaver\autosave.py”, line 399, in saveCurrentProject

QgsProject.instance().write()

TypeError: write() takes exactly 2 arguments (1 given)

opero con questa versione di QGIS