{"action":"closed","issue":{"url":"https://api.github.com/repos/pywikibot-catfiles/docker-file-metadata/issues/7","repository_url":"https://api.github.com/repos/pywikibot-catfiles/docker-file-metadata","labels_url":"https://api.github.com/repos/pywikibot-catfiles/docker-file-metadata/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/pywikibot-catfiles/docker-file-metadata/issues/7/comments","events_url":"https://api.github.com/repos/pywikibot-catfiles/docker-file-metadata/issues/7/events","html_url":"https://github.com/pywikibot-catfiles/docker-file-metadata/issues/7","id":165655594,"number":7,"title":"UnicodeEncodeError in simple_bot.py","user":{"login":"drtrigon","id":18975831,"avatar_url":"https://avatars.githubusercontent.com/u/18975831?v=3","gravatar_id":"","url":"https://api.github.com/users/drtrigon","html_url":"https://github.com/drtrigon","followers_url":"https://api.github.com/users/drtrigon/followers","following_url":"https://api.github.com/users/drtrigon/following{/other_user}","gists_url":"https://api.github.com/users/drtrigon/gists{/gist_id}","starred_url":"https://api.github.com/users/drtrigon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drtrigon/subscriptions","organizations_url":"https://api.github.com/users/drtrigon/orgs","repos_url":"https://api.github.com/users/drtrigon/repos","events_url":"https://api.github.com/users/drtrigon/events{/privacy}","received_events_url":"https://api.github.com/users/drtrigon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-14T20:49:59Z","updated_at":"2016-07-19T17:28:51Z","closed_at":"2016-07-19T17:28:51Z","body":"When running `drtrigon/catimages-gsoc` docker I get this error:\r\n```\r\nroot@b8d44d47d61c:/# cd /opt/pywikibot-core; python pwb.py ../file-metadata/file_metadata/wikibot/simple_bot.py -cat:SVG_files -limit:5; cd /\r\nRetrieving 5 pages from commons:commons.\r\nlibdc1394 error: Failed to initialize libdc1394\r\n==== [[:File:\"Single\"Japanese castle Tenshu layout format.svg]] ====\r\nTime taken to analyze: 2.129771sec\r\n\r\n==== [[:File:9th Odia Wikipedia Anniversary.svg]] ====\r\nTime taken to analyze: 1.411306sec\r\n\r\n==== [[:File:A Dine Fork.svg]] ====\r\nTime taken to analyze: 1.624925sec\r\n\r\n==== [[:File:A conceptual drawing of a barge with very simple geometry.svg]] ====\r\nTime taken to analyze: 1.643108sec\r\n\r\nTraceback (most recent call last):\r\n  File \"pwb.py\", line 270, in <module>\r\n    if not main():\r\n  File \"pwb.py\", line 264, in main\r\n    run_python_file(filename, [filename] + args, argvu, file_package)\r\n  File \"pwb.py\", line 109, in run_python_file\r\n    main_mod.__dict__)\r\n  File \"../file-metadata/file_metadata/wikibot/simple_bot.py\", line 240, in <module>\r\n    main()\r\n  File \"../file-metadata/file_metadata/wikibot/simple_bot.py\", line 235, in main\r\n    print('\\n'.join(log))\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\xe7' in position 18: ordinal not in range(128)\r\n<type 'exceptions.UnicodeEncodeError'>\r\nCRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort\r\n```\r\nI cannot get rid of this it is clearly in https://github.com/pywikibot-catfiles/file-metadata/blob/master/file_metadata/wikibot/simple_bot.py#L196"}}
{"actor":{"display_login":"drtrigon"}}