{"action":"created","issue":{"url":"https://api.github.com/repos/gnuradio/pybombs/issues/335","repository_url":"https://api.github.com/repos/gnuradio/pybombs","labels_url":"https://api.github.com/repos/gnuradio/pybombs/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/gnuradio/pybombs/issues/335/comments","events_url":"https://api.github.com/repos/gnuradio/pybombs/issues/335/events","html_url":"https://github.com/gnuradio/pybombs/issues/335","id":155040238,"number":335,"title":"Character encoding conflict with progress bar.","user":{"login":"gr-sp","id":7341168,"avatar_url":"https://avatars.githubusercontent.com/u/7341168?v=3","gravatar_id":"","url":"https://api.github.com/users/gr-sp","html_url":"https://github.com/gr-sp","followers_url":"https://api.github.com/users/gr-sp/followers","following_url":"https://api.github.com/users/gr-sp/following{/other_user}","gists_url":"https://api.github.com/users/gr-sp/gists{/gist_id}","starred_url":"https://api.github.com/users/gr-sp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gr-sp/subscriptions","organizations_url":"https://api.github.com/users/gr-sp/orgs","repos_url":"https://api.github.com/users/gr-sp/repos","events_url":"https://api.github.com/users/gr-sp/events{/privacy}","received_events_url":"https://api.github.com/users/gr-sp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-16T14:24:46Z","updated_at":"2016-05-16T17:05:50Z","closed_at":null,"body":"During my build I received the output that follows. When I perform the build a second time, it doesn't throw this error. It looks like there might be an issue with one of the recent commits that deals with character encoding. Another thing that is odd about this is that although an error is thrown in what appears to be the \"building\" state, pybombs continues on into the \"installing\" state.\r\n\r\nFYI, I am using a pyboms prefix that has a Python 2.7.11 virtualenv on CentOS 6.5.\r\n\r\n```\r\nPyBombs.install_manager - INFO - Installing package: sip\r\nPyBombs.PackageManager - DEBUG - install(sip, static=False)\r\nPyBombs.PackageManager - DEBUG - Package sip is requesting a source build.\r\nPyBombs.PackageManager - DEBUG - Using packager source\r\nPyBombs.Packager.source - DEBUG - State on package sip is 0\r\nPyBombs.Fetcher - DEBUG - Fetching source for recipe: sip\r\nPyBombs.Fetcher - DEBUG - Switching to src directory: /home/shawn/prefixes/ta2/src\r\nPyBombs.Fetcher - DEBUG - Getting fetcher for http://pkgs.fedoraproject.org/repo/pkgs/sip/sip-4.18.tar.gz/78724bf2a79878201c3bc81a1d8248ea/sip-4.18.tar.gz, type wget\r\nPyBombs.Fetcher - DEBUG - Using fetcher <pybombs.fetchers.wget.Wget object at 0x7f357f1dd690>\r\nPyBombs.Fetcher.wget - DEBUG - Requiring packages on host system: ['python-requests']\r\nPyBombs.Fetcher.wget - DEBUG - Requirements met.\r\n00992 kB / 00992 kB (100%)\r\nPyBombs.extract_to - DEBUG - Unpacking sip-4.18.tar.gz\r\nPyBombs.extract_to - DEBUG - Common prefix: sip-4.18\r\nPyBombs.extract_to - DEBUG - Moving /tmp/tmpXvoSJ_/sip-4.18 -> sip\r\nPyBombs.Inventory - DEBUG - Setting state to `fetched'\r\nPyBombs.Inventory - DEBUG - Saving inventory to file /home/shawn/prefixes/ta2/.pybombs/inventory.yml...\r\nPyBombs.Packager.source - DEBUG - Using build directory: /home/shawn/prefixes/ta2/src/sip\r\nPyBombs.Packager.source - DEBUG - Configuring recipe sip\r\nPyBombs.Packager.source - DEBUG - Using vars - {'config_opt': '', 'builddir': '/home/shawn/prefixes/ta2/src/sip'}\r\nPyBombs.Packager.source - DEBUG - In cwd - /home/shawn/prefixes/ta2/src/sip\r\nPyBombs._process_thread() - DEBUG - Executing command `python configure.py -b /home/shawn/prefixes/ta2/bin -e /home/shawn/prefixes/ta2/include/ -d /home/shawn/prefixes/ta2/lib/python2.7/site-packages/ -v /home/shawn/prefixes/ta2/share/sip/'\r\nConfiguring: (100%) [======================================================================================================================================================================================================================]\r\nPyBombs.monitor_process() - DEBUG - Thread signaled termination or returned\r\nPyBombs.monitor_process() - DEBUG - Return value: 0\r\nPyBombs.Packager.source - DEBUG - Configure successful.\r\nPyBombs.Inventory - DEBUG - Setting state to `configured'\r\nPyBombs.Inventory - DEBUG - Saving inventory to file /home/shawn/prefixes/ta2/.pybombs/inventory.yml...\r\nPyBombs.Packager.source - DEBUG - Building recipe sip\r\nPyBombs.Packager.source - DEBUG - In cwd - /home/shawn/prefixes/ta2/src/sip\r\nPyBombs._process_thread() - DEBUG - Executing command `make -j4'\r\nBuilding:    [\\                                                                                                                                                                                                                            ]Exception in thread Thread-15:\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/threading.py\", line 801, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/local/lib/python2.7/threading.py\", line 754, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/usr/local/lib/python2.7/site-packages/PyBOMBS-2.0.1-py2.7.egg/pybombs/utils/subproc.py\", line 150, in _process_thread\r\n    ret_code = run_with_output_processing(proc, o_proc, event, kwargs.get('cleanup'))\r\n  File \"/usr/local/lib/python2.7/site-packages/PyBOMBS-2.0.1-py2.7.egg/pybombs/utils/subproc.py\", line 112, in run_with_output_processing\r\n    o_proc.process_output(line_stdout, line_stderr)\r\n  File \"/usr/local/lib/python2.7/site-packages/PyBOMBS-2.0.1-py2.7.egg/pybombs/utils/output_proc.py\", line 101, in process_output\r\n    self._check_for_percentage(stdoutdata)\r\n  File \"/usr/local/lib/python2.7/site-packages/PyBOMBS-2.0.1-py2.7.egg/pybombs/utils/output_proc.py\", line 106, in _check_for_percentage\r\n    if self.percent_regex.search(str(strdata)) is not None:\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\u2018' in position 20: ordinal not in range(128)\r\n\r\nPyBombs.monitor_process() - DEBUG - Thread signaled termination or returned\r\nPyBombs.monitor_process() - DEBUG - Return value: 0\r\nPyBombs.Packager.source - DEBUG - Make successful\r\nPyBombs.Inventory - DEBUG - Setting state to `built'\r\nPyBombs.Inventory - DEBUG - Saving inventory to file /home/shawn/prefixes/ta2/.pybombs/inventory.yml...\r\nPyBombs.Packager.source - DEBUG - Installing package sip\r\nPyBombs.Packager.source - DEBUG - In cwd - /home/shawn/prefixes/ta2/src/sip\r\nPyBombs._process_thread() - DEBUG - Executing command `make install'\r\nInstalling:  (100%) [======================================================================================================================================================================================================================]\r\nPyBombs.monitor_process() - DEBUG - Thread signaled termination or returned\r\nPyBombs.monitor_process() - DEBUG - Return value: 2\r\nPyBombs.Packager.source - ERROR - Problem occurred while building package sip:\r\nInstallation failed\r\nPyBombs.install_manager - ERROR - Error installing package sip. Aborting.\r\n```"},"comment":{"url":"https://api.github.com/repos/gnuradio/pybombs/issues/comments/219482641","html_url":"https://github.com/gnuradio/pybombs/issues/335#issuecomment-219482641","issue_url":"https://api.github.com/repos/gnuradio/pybombs/issues/335","id":219482641,"user":{"login":"mbr0wn","id":508035,"avatar_url":"https://avatars.githubusercontent.com/u/508035?v=3","gravatar_id":"","url":"https://api.github.com/users/mbr0wn","html_url":"https://github.com/mbr0wn","followers_url":"https://api.github.com/users/mbr0wn/followers","following_url":"https://api.github.com/users/mbr0wn/following{/other_user}","gists_url":"https://api.github.com/users/mbr0wn/gists{/gist_id}","starred_url":"https://api.github.com/users/mbr0wn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbr0wn/subscriptions","organizations_url":"https://api.github.com/users/mbr0wn/orgs","repos_url":"https://api.github.com/users/mbr0wn/repos","events_url":"https://api.github.com/users/mbr0wn/events{/privacy}","received_events_url":"https://api.github.com/users/mbr0wn/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T17:05:50Z","updated_at":"2016-05-16T17:05:50Z","body":"@gr-sp, @stwunsch I've seen this too and added 838309e29525725f4c046da59db130e47dda7d34, which I thought fixes this. Are you running a PyBOMBS later than this commit?"}}