{"action":"created","issue":{"url":"https://api.github.com/repos/tvalacarta/pelisalacarta/issues/410","repository_url":"https://api.github.com/repos/tvalacarta/pelisalacarta","labels_url":"https://api.github.com/repos/tvalacarta/pelisalacarta/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/tvalacarta/pelisalacarta/issues/410/comments","events_url":"https://api.github.com/repos/tvalacarta/pelisalacarta/issues/410/events","html_url":"https://github.com/tvalacarta/pelisalacarta/issues/410","id":183282192,"number":410,"title":"Error inesperado en el canal buscador","user":{"login":"danifr","id":7135482,"avatar_url":"https://avatars.githubusercontent.com/u/7135482?v=3","gravatar_id":"","url":"https://api.github.com/users/danifr","html_url":"https://github.com/danifr","followers_url":"https://api.github.com/users/danifr/followers","following_url":"https://api.github.com/users/danifr/following{/other_user}","gists_url":"https://api.github.com/users/danifr/gists{/gist_id}","starred_url":"https://api.github.com/users/danifr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danifr/subscriptions","organizations_url":"https://api.github.com/users/danifr/orgs","repos_url":"https://api.github.com/users/danifr/repos","events_url":"https://api.github.com/users/danifr/events{/privacy}","received_events_url":"https://api.github.com/users/danifr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-16T18:27:30Z","updated_at":"2016-10-17T20:25:39Z","closed_at":null,"body":"Muy buenas,\r\n\r\ncada vez que intento utilizar el buscador me sale el siguiente mensaje:\r\n ```\r\nError inesperado en el canal buscador\r\nEsto suele pasar cuando hay un fallo de conexión, cuando la web del canal ha cambiado su estructura, o simplemente porque hay algo mal en pelisalacarta.\r\nPara saber más detalles, consulta el log.\r\n```\r\n\r\nRevisando /var/lib/kodi/.kodi/temp/kodi.log encontré lo siguiente:\r\n\r\n```\r\n20:21:22 T:1948483584   ERROR: GetDirectory - Error getting plugin://plugin.video.pelisalacarta/?eyJpc1BsYXlhYmxlIjogImZhbHNlIiwgImluZm9MYWJlbHMiOiB7fSwgImFjdGlvbiI6ICJtYWlubGlzdCIsICJ2aWV3bW9kZSI6ICJsaXN0IiwgImZ1bGx0aXRsZSI6ICJHbG9iYWwgc2VhcmNoIiwgImNhdGVnb3J5IjogIiIsICJ0aXRsZSI6ICJHbG9iYWwgc2VhcmNoIiwgImZhbmFydCI6ICIvdmFyL2xpYi9rb2RpLy5rb2RpL2FkZG9ucy9wbHVnaW4udmlkZW8ucGVsaXNhbGFjYXJ0YS9mYW5hcnQuanBnIiwgImNvbnRleHQiOiAiIiwgInRvdGFsSXRlbXMiOiA4LCAidGh1bWJuYWlsIjogImh0dHA6Ly9tZWRpYS50dmFsYWNhcnRhLmluZm8vcGVsaXNhbGFjYXJ0YS9zcXVhcmVzL3RodW1iX2J1c2Nhci5wbmciLCAiY2hhbm5lbCI6ICJidXNjYWRvciJ9\r\n20:21:22 T:1948483584   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pelisalacarta/?eyJpc1BsYXlhYmxlIjogImZhbHNlIiwgImluZm9MYWJlbHMiOiB7fSwgImFjdGlvbiI6ICJtYWlubGlzdCIsICJ2aWV3bW9kZSI6ICJsaXN0IiwgImZ1bGx0aXRsZSI6ICJHbG9iYWwgc2VhcmNoIiwgImNhdGVnb3J5IjogIiIsICJ0aXRsZSI6ICJHbG9iYWwgc2VhcmNoIiwgImZhbmFydCI6ICIvdmFyL2xpYi9rb2RpLy5rb2RpL2FkZG9ucy9wbHVnaW4udmlkZW8ucGVsaXNhbGFjYXJ0YS9mYW5hcnQuanBnIiwgImNvbnRleHQiOiAiIiwgInRvdGFsSXRlbXMiOiA4LCAidGh1bWJuYWlsIjogImh0dHA6Ly9tZWRpYS50dmFsYWNhcnRhLmluZm8vcGVsaXNhbGFjYXJ0YS9zcXVhcmVzL3RodW1iX2J1c2Nhci5wbmciLCAiY2hhbm5lbCI6ICJidXNjYWRvciJ9) failed\r\n```\r\n\r\nSistema Operativo: Archlinux (ARM) sobre RP2\r\nKODI: 16.1 Jarvis\r\nPelisalacarta: 4.2.1\r\n\r\nHe probado a reinstalar y también esta solución propuesta por Cmos (http://www.mimediacenter.info/foro/viewtopic.php?f=22&t=7707#p32646), pero sin suerte.\r\n\r\nAlguna idea?\r\nGracias."},"comment":{"url":"https://api.github.com/repos/tvalacarta/pelisalacarta/issues/comments/254323063","html_url":"https://github.com/tvalacarta/pelisalacarta/issues/410#issuecomment-254323063","issue_url":"https://api.github.com/repos/tvalacarta/pelisalacarta/issues/410","id":254323063,"user":{"login":"danifr","id":7135482,"avatar_url":"https://avatars.githubusercontent.com/u/7135482?v=3","gravatar_id":"","url":"https://api.github.com/users/danifr","html_url":"https://github.com/danifr","followers_url":"https://api.github.com/users/danifr/followers","following_url":"https://api.github.com/users/danifr/following{/other_user}","gists_url":"https://api.github.com/users/danifr/gists{/gist_id}","starred_url":"https://api.github.com/users/danifr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danifr/subscriptions","organizations_url":"https://api.github.com/users/danifr/orgs","repos_url":"https://api.github.com/users/danifr/repos","events_url":"https://api.github.com/users/danifr/events{/privacy}","received_events_url":"https://api.github.com/users/danifr/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T20:25:39Z","updated_at":"2016-10-17T20:25:39Z","body":"Probando la búsqueda:\r\n1) mmmmmmmmmmmmmmmmmmm... --> **OK**\r\n2) avión --> **ROMPE**\r\n\r\nLog:\r\n```\r\n21:56:20 T:1717892000  NOTICE: pelisalacarta.core.jsontools.dump_json Probando simplejson incluido en el interprete\r\n21:56:20 T:1717892000  NOTICE: pelisalacarta.core.jsontools.dump_json -> u'{\\n    \"settings\": {\\n        \"multithread\": true,\\n        \"result_mode\": 0,\\n        \"saved_searches_limit\": 0,\\n        \"saved_searches_list\": [\\n            \"avi\\xf3n\",\\n            \"mmmmmmmmmmmmmmmmmmmmmm\"\\n        ]\\n    }\\n}'\r\n21:56:20 T:1717892000  NOTICE: ######## ERROR #########\r\n21:56:20 T:1717892000  NOTICE:     [launcher.run] pelisalacarta.platformcode.launcher Traceback (most recent call last):\r\n                                              File \"/var/lib/kodi/.kodi/addons/plugin.video.pelisalacarta/platformcode/launcher.py\", line 268, in run\r\n                                                itemlist = channel.search(item,tecleado)\r\n                                              File \"/var/lib/kodi/.kodi/addons/plugin.video.pelisalacarta/channels/buscador.py\", line 152, in search\r\n                                                save_search(tecleado)\r\n                                              File \"/var/lib/kodi/.kodi/addons/plugin.video.pelisalacarta/channels/buscador.py\", line 343, in save_search\r\n                                                config.set_setting(\"saved_searches_list\", saved_searches_list[:saved_searches_limit], \"buscador\")\r\n                                              File \"/var/lib/kodi/.kodi/addons/plugin.video.pelisalacarta/core/config.py\", line 138, in set_setting\r\n                                                return channeltools.set_channel_setting(name, value, channel)\r\n                                              File \"/var/lib/kodi/.kodi/addons/plugin.video.pelisalacarta/core/channeltools.py\", line 247, in set_channel_setting\r\n                                                open(file_settings, \"w\").write(jsontools.dump_json(dict_file))\r\n                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\\xf3' in position 159: ordinal not in range(128)\r\n```\r\n\r\nReproducido en dos sistemas distintos (ambos archlinux, con Kodi instalado), aunque los dos en inglés.\r\nFalla al escribir el fichero en disco, estoy preparando un mini parche para solucionarlo."}}
{"actor":{"display_login":"danifr"}}