{"action":"opened","issue":{"url":"https://api.github.com/repos/lcoandrade/DsgTools/issues/166","repository_url":"https://api.github.com/repos/lcoandrade/DsgTools","labels_url":"https://api.github.com/repos/lcoandrade/DsgTools/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/lcoandrade/DsgTools/issues/166/comments","events_url":"https://api.github.com/repos/lcoandrade/DsgTools/issues/166/events","html_url":"https://github.com/lcoandrade/DsgTools/issues/166","id":275703054,"number":166,"title":"Importação de estilo gerando erros","user":{"login":"rsmaior","id":11916280,"avatar_url":"https://avatars1.githubusercontent.com/u/11916280?v=4","gravatar_id":"","url":"https://api.github.com/users/rsmaior","html_url":"https://github.com/rsmaior","followers_url":"https://api.github.com/users/rsmaior/followers","following_url":"https://api.github.com/users/rsmaior/following{/other_user}","gists_url":"https://api.github.com/users/rsmaior/gists{/gist_id}","starred_url":"https://api.github.com/users/rsmaior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsmaior/subscriptions","organizations_url":"https://api.github.com/users/rsmaior/orgs","repos_url":"https://api.github.com/users/rsmaior/repos","events_url":"https://api.github.com/users/rsmaior/events{/privacy}","received_events_url":"https://api.github.com/users/rsmaior/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-21T12:59:09Z","updated_at":"2017-11-21T12:59:09Z","closed_at":null,"author_association":"NONE","body":"Kubuntu Linux 16.04.3 (64 bits)\r\nQGIS 2.18.13\r\nDSGTools 3.0.8\r\n\r\nA importação de estilo tá gerando o seguinte erro:\r\n```\r\nAn error has occurred while executing Python code: \r\n\r\nTypeError: sequence item 2: expected string or Unicode, int found \r\nTraceback (most recent call last):\r\n  File \"/home/rodrigo/.qgis2/python/plugins/DsgTools/ServerTools/batchDbManager.py\", line 238, in on_importStylesPushButton_clicked\r\n    successList, exceptionDict = self.batchImportStyles(dbsDict, styleDir, selectedStyles, versionList[0])\r\n  File \"/home/rodrigo/.qgis2/python/plugins/DsgTools/ServerTools/batchDbManager.py\", line 271, in batchImportStyles\r\n    exceptionDict[dbName] =  ':'.join(e.args)\r\nTypeError: sequence item 2: expected string or Unicode, int found\r\n\r\n\r\nPython version: 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609] \r\nQGIS version: 2.18.13 Las Palmas, 8cba0bb \r\n\r\nPython Path:\r\n/usr/share/qgis/python/plugins/processing\r\n/home/rodrigo/.qgis2/python/plugins/postgis_geoprocessing\r\n/usr/share/qgis/python\r\n/home/rodrigo/.qgis2/python\r\n/home/rodrigo/.qgis2/python/plugins\r\n/usr/share/qgis/python/plugins\r\n/usr/lib/python2.7\r\n/usr/lib/python2.7/plat-x86_64-linux-gnu\r\n/usr/lib/python2.7/lib-tk\r\n/usr/lib/python2.7/lib-old\r\n/usr/lib/python2.7/lib-dynload\r\n/usr/local/lib/python2.7/dist-packages\r\n/usr/lib/python2.7/dist-packages\r\n/usr/lib/python2.7/dist-packages/PILcompat\r\n/usr/lib/python2.7/dist-packages/gtk-2.0\r\n/usr/lib/python2.7/dist-packages/wx-3.0-gtk2\r\n/home/rodrigo/.qgis2//python\r\n/home/rodrigo/.qgis2/python/plugins/mmqgis/forms\r\n/home/rodrigo/.qgis2/python/plugins/DsgTools\r\n/home/rodrigo/.qgis2/python/plugins/DsgTools/ProductionTools/CopyPasteTool\r\n/home/rodrigo/.qgis2/python/plugins/DigitizingTools/tools\r\n\r\n```\r\nAlém disso, após a importação do estilo,  o ícone do mouse fica indefinidamente no formato de loading. Os cliques etc funcionam normalmente, porém sempre com o ícone de loading. A única forma de eliminar isso é fechando e reabrindo o QGIS. Seguem as imagens ilustrativas do ícone comum e do ícone de loading.\r\n![icone_comum](https://user-images.githubusercontent.com/11916280/33073685-ce5a7b76-ceaa-11e7-8ec7-671527aa1f72.png)\r\n![loading_eterno](https://user-images.githubusercontent.com/11916280/33073686-ce866c72-ceaa-11e7-8ed2-457616729a8f.png)\r\n"}}
{"actor":{"display_login":"rsmaior"}}