Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyramid install fails with C as default locale and Python 3.3 #981

Closed
dsx opened this issue Apr 8, 2013 · 6 comments
Closed

Pyramid install fails with C as default locale and Python 3.3 #981

dsx opened this issue Apr 8, 2013 · 6 comments

Comments

@dsx
Copy link

dsx commented Apr 8, 2013

Bug is at least reproducible on latest Debian testing and on FreeBSD 8.3-RELEASE-p5. This particular example has been made on Debian.

$ locale
LANG=C
LANGUAGE=
LC_CTYPE=C
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
$ python --version
Python 3.3.0
$ pip install pyramid
Downloading/unpacking pyramid
  Downloading pyramid-1.4.tar.gz (2.4MB): 2.4MB downloaded
  Running setup.py egg_info for package pyramid

Requirement already satisfied (use --upgrade to upgrade): distribute in ./lib/python3.3/site-packages/distribute-0.6.31-py3.3.egg (from pyramid)
Downloading/unpacking Chameleon>=1.2.3 (from pyramid)
  Downloading Chameleon-2.11.tar.gz (157kB): 157kB downloaded
  Running setup.py egg_info for package Chameleon

Downloading/unpacking Mako>=0.3.6 (from pyramid)
  Downloading Mako-0.7.3.tar.gz (401kB): 401kB downloaded
  Running setup.py egg_info for package Mako

    warning: no files found matching '*.xml' under directory 'examples'
    warning: no files found matching '*.mako' under directory 'examples'
    warning: no files found matching 'ez_setup.py'
    no previously-included directories found matching 'doc/build/output'
Downloading/unpacking WebOb>=1.2b3 (from pyramid)
  Downloading WebOb-1.2.3.tar.gz (191kB): 191kB downloaded
  Running setup.py egg_info for package WebOb

    no previously-included directories found matching '*.pyc'
    no previously-included directories found matching '*.pyo'
Downloading/unpacking repoze.lru>=0.4 (from pyramid)
  Downloading repoze.lru-0.6.tar.gz
  Running setup.py egg_info for package repoze.lru

Downloading/unpacking zope.interface>=3.8.0 (from pyramid)
  Downloading zope.interface-4.0.5.zip (173kB): 173kB downloaded
  Running setup.py egg_info for package zope.interface

    warning: no previously-included files matching '*.dll' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
Downloading/unpacking zope.deprecation>=3.5.0 (from pyramid)
  Downloading zope.deprecation-4.0.2.tar.gz
  Running setup.py egg_info for package zope.deprecation

Downloading/unpacking venusian>=1.0a3 (from pyramid)
  Downloading venusian-1.0a7.tar.gz (43kB): 43kB downloaded
  Running setup.py egg_info for package venusian

Downloading/unpacking translationstring>=0.4 (from pyramid)
  Downloading translationstring-1.1.tar.gz
  Running setup.py egg_info for package translationstring

    no previously-included directories found matching 'docs/_build'
Downloading/unpacking PasteDeploy>=1.5.0 (from pyramid)
  Downloading PasteDeploy-1.5.0.tar.gz
  Running setup.py egg_info for package PasteDeploy

Downloading/unpacking MarkupSafe>=0.9.2 (from Mako>=0.3.6->pyramid)
  Downloading MarkupSafe-0.15.tar.gz
  Running setup.py egg_info for package MarkupSafe

Installing collected packages: pyramid, Chameleon, Mako, WebOb, repoze.lru, zope.interface, zope.deprecation, venusian, translationstring, PasteDeploy, MarkupSafe
  Running setup.py install for pyramid

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/virtualenv/build/pyramid/setup.py", line 122, in <module>
        """
      File "/usr/lib/python3.3/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.3/distutils/dist.py", line 917, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.3/distutils/dist.py", line 936, in run_command
        cmd_obj.run()
      File "/tmp/virtualenv/lib/python3.3/site-packages/distribute-0.6.31-py3.3.egg/setuptools/command/install.py", line 53, in run
        return _install.run(self)
      File "/usr/lib/python3.3/distutils/command/install.py", line 608, in run
        self.run_command('build')
      File "/usr/lib/python3.3/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.3/distutils/dist.py", line 936, in run_command
        cmd_obj.run()
      File "/usr/lib/python3.3/distutils/command/build.py", line 126, in run
        self.run_command(cmd_name)
      File "/usr/lib/python3.3/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.3/distutils/dist.py", line 936, in run_command
        cmd_obj.run()
      File "/tmp/virtualenv/lib/python3.3/site-packages/distribute-0.6.31-py3.3.egg/setuptools/command/build_py.py", line 90, in run
        self.build_package_data()
      File "/tmp/virtualenv/lib/python3.3/site-packages/distribute-0.6.31-py3.3.egg/setuptools/command/build_py.py", line 150, in build_package_data
        outf, copied = self.copy_file(srcfile, target)
      File "/usr/lib/python3.3/distutils/cmd.py", line 348, in copy_file
        dry_run=self.dry_run)
      File "/usr/lib/python3.3/distutils/file_util.py", line 102, in copy_file
        if not os.path.isfile(src):
      File "/tmp/virtualenv/lib/python3.3/genericpath.py", line 29, in isfile
        st = os.stat(path)
    UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 31: ordinal not in range(128)
    Complete output from command /tmp/virtualenv/bin/python3.3 -c "import setuptools;__file__='/tmp/virtualenv/build/pyramid/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-jd8iyc-record/install-record.txt --single-version-externally-managed --install-headers /tmp/virtualenv/include/site/python3.3:
    running install

running build

running build_py

creating build

creating build/lib

creating build/lib/pyramid

copying pyramid/settings.py -> build/lib/pyramid

copying pyramid/traversal.py -> build/lib/pyramid

copying pyramid/chameleon_text.py -> build/lib/pyramid

copying pyramid/static.py -> build/lib/pyramid

copying pyramid/encode.py -> build/lib/pyramid

copying pyramid/events.py -> build/lib/pyramid

copying pyramid/testing.py -> build/lib/pyramid

copying pyramid/router.py -> build/lib/pyramid

copying pyramid/util.py -> build/lib/pyramid

copying pyramid/location.py -> build/lib/pyramid

copying pyramid/resource.py -> build/lib/pyramid

copying pyramid/paster.py -> build/lib/pyramid

copying pyramid/authentication.py -> build/lib/pyramid

copying pyramid/wsgi.py -> build/lib/pyramid

copying pyramid/request.py -> build/lib/pyramid

copying pyramid/decorator.py -> build/lib/pyramid

copying pyramid/chameleon_zpt.py -> build/lib/pyramid

copying pyramid/view.py -> build/lib/pyramid

copying pyramid/exceptions.py -> build/lib/pyramid

copying pyramid/registry.py -> build/lib/pyramid

copying pyramid/compat.py -> build/lib/pyramid

copying pyramid/asset.py -> build/lib/pyramid

copying pyramid/url.py -> build/lib/pyramid

copying pyramid/tweens.py -> build/lib/pyramid

copying pyramid/renderers.py -> build/lib/pyramid

copying pyramid/httpexceptions.py -> build/lib/pyramid

copying pyramid/response.py -> build/lib/pyramid

copying pyramid/scripting.py -> build/lib/pyramid

copying pyramid/session.py -> build/lib/pyramid

copying pyramid/threadlocal.py -> build/lib/pyramid

copying pyramid/__init__.py -> build/lib/pyramid

copying pyramid/interfaces.py -> build/lib/pyramid

copying pyramid/i18n.py -> build/lib/pyramid

copying pyramid/urldispatch.py -> build/lib/pyramid

copying pyramid/security.py -> build/lib/pyramid

copying pyramid/path.py -> build/lib/pyramid

copying pyramid/authorization.py -> build/lib/pyramid

copying pyramid/mako_templating.py -> build/lib/pyramid

creating build/lib/pyramid/scripts

copying pyramid/scripts/proutes.py -> build/lib/pyramid/scripts

copying pyramid/scripts/common.py -> build/lib/pyramid/scripts

copying pyramid/scripts/ptweens.py -> build/lib/pyramid/scripts

copying pyramid/scripts/pserve.py -> build/lib/pyramid/scripts

copying pyramid/scripts/prequest.py -> build/lib/pyramid/scripts

copying pyramid/scripts/__init__.py -> build/lib/pyramid/scripts

copying pyramid/scripts/pviews.py -> build/lib/pyramid/scripts

copying pyramid/scripts/pshell.py -> build/lib/pyramid/scripts

copying pyramid/scripts/pcreate.py -> build/lib/pyramid/scripts

creating build/lib/pyramid/tests

copying pyramid/tests/test_router.py -> build/lib/pyramid/tests

copying pyramid/tests/test_httpexceptions.py -> build/lib/pyramid/tests

copying pyramid/tests/test_docs.py -> build/lib/pyramid/tests

copying pyramid/tests/test_scripting.py -> build/lib/pyramid/tests

copying pyramid/tests/test_mako_templating.py -> build/lib/pyramid/tests

copying pyramid/tests/test_response.py -> build/lib/pyramid/tests

copying pyramid/tests/test_paster.py -> build/lib/pyramid/tests

copying pyramid/tests/test_events.py -> build/lib/pyramid/tests

copying pyramid/tests/test_session.py -> build/lib/pyramid/tests

copying pyramid/tests/test_i18n.py -> build/lib/pyramid/tests

copying pyramid/tests/test_request.py -> build/lib/pyramid/tests

copying pyramid/tests/test_integration.py -> build/lib/pyramid/tests

copying pyramid/tests/test_url.py -> build/lib/pyramid/tests

copying pyramid/tests/test_security.py -> build/lib/pyramid/tests

copying pyramid/tests/test_testing.py -> build/lib/pyramid/tests

copying pyramid/tests/test_chameleon_zpt.py -> build/lib/pyramid/tests

copying pyramid/tests/test_registry.py -> build/lib/pyramid/tests

copying pyramid/tests/test_view.py -> build/lib/pyramid/tests

copying pyramid/tests/test_authentication.py -> build/lib/pyramid/tests

copying pyramid/tests/test_util.py -> build/lib/pyramid/tests

copying pyramid/tests/test_path.py -> build/lib/pyramid/tests

copying pyramid/tests/test_urldispatch.py -> build/lib/pyramid/tests

copying pyramid/tests/test_exceptions.py -> build/lib/pyramid/tests

copying pyramid/tests/test_renderers.py -> build/lib/pyramid/tests

copying pyramid/tests/test_threadlocal.py -> build/lib/pyramid/tests

copying pyramid/tests/test_encode.py -> build/lib/pyramid/tests

copying pyramid/tests/__init__.py -> build/lib/pyramid/tests

copying pyramid/tests/test_asset.py -> build/lib/pyramid/tests

copying pyramid/tests/test_static.py -> build/lib/pyramid/tests

copying pyramid/tests/test_settings.py -> build/lib/pyramid/tests

copying pyramid/tests/test_decorator.py -> build/lib/pyramid/tests

copying pyramid/tests/test_chameleon_text.py -> build/lib/pyramid/tests

copying pyramid/tests/test_traversal.py -> build/lib/pyramid/tests

copying pyramid/tests/test_location.py -> build/lib/pyramid/tests

copying pyramid/tests/test_wsgi.py -> build/lib/pyramid/tests

copying pyramid/tests/test_authorization.py -> build/lib/pyramid/tests

creating build/lib/pyramid/config

copying pyramid/config/settings.py -> build/lib/pyramid/config

copying pyramid/config/testing.py -> build/lib/pyramid/config

copying pyramid/config/util.py -> build/lib/pyramid/config

copying pyramid/config/rendering.py -> build/lib/pyramid/config

copying pyramid/config/zca.py -> build/lib/pyramid/config

copying pyramid/config/routes.py -> build/lib/pyramid/config

copying pyramid/config/assets.py -> build/lib/pyramid/config

copying pyramid/config/adapters.py -> build/lib/pyramid/config

copying pyramid/config/tweens.py -> build/lib/pyramid/config

copying pyramid/config/factories.py -> build/lib/pyramid/config

copying pyramid/config/__init__.py -> build/lib/pyramid/config

copying pyramid/config/i18n.py -> build/lib/pyramid/config

copying pyramid/config/security.py -> build/lib/pyramid/config

copying pyramid/config/predicates.py -> build/lib/pyramid/config

copying pyramid/config/views.py -> build/lib/pyramid/config

creating build/lib/pyramid/scaffolds

copying pyramid/scaffolds/tests.py -> build/lib/pyramid/scaffolds

copying pyramid/scaffolds/__init__.py -> build/lib/pyramid/scaffolds

copying pyramid/scaffolds/template.py -> build/lib/pyramid/scaffolds

copying pyramid/scaffolds/copydir.py -> build/lib/pyramid/scaffolds

creating build/lib/pyramid/fixers

copying pyramid/fixers/fix_bfg_imports.py -> build/lib/pyramid/fixers

copying pyramid/fixers/__init__.py -> build/lib/pyramid/fixers

creating build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_factories.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_routes.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_i18n.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_init.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_security.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_testing.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_predicates.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_util.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_tweens.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_adapters.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/__init__.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_settings.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_views.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_rendering.py -> build/lib/pyramid/tests/test_config

copying pyramid/tests/test_config/test_assets.py -> build/lib/pyramid/tests/test_config

creating build/lib/pyramid/tests/pkgs

copying pyramid/tests/pkgs/__init__.py -> build/lib/pyramid/tests/pkgs

creating build/lib/pyramid/tests/test_scaffolds

copying pyramid/tests/test_scaffolds/test_copydir.py -> build/lib/pyramid/tests/test_scaffolds

copying pyramid/tests/test_scaffolds/test_init.py -> build/lib/pyramid/tests/test_scaffolds

copying pyramid/tests/test_scaffolds/__init__.py -> build/lib/pyramid/tests/test_scaffolds

copying pyramid/tests/test_scaffolds/test_template.py -> build/lib/pyramid/tests/test_scaffolds

creating build/lib/pyramid/tests/test_scripts

copying pyramid/tests/test_scripts/test_pserve.py -> build/lib/pyramid/tests/test_scripts

copying pyramid/tests/test_scripts/test_ptweens.py -> build/lib/pyramid/tests/test_scripts

copying pyramid/tests/test_scripts/test_common.py -> build/lib/pyramid/tests/test_scripts

copying pyramid/tests/test_scripts/test_prequest.py -> build/lib/pyramid/tests/test_scripts

copying pyramid/tests/test_scripts/dummy.py -> build/lib/pyramid/tests/test_scripts

copying pyramid/tests/test_scripts/test_pviews.py -> build/lib/pyramid/tests/test_scripts

copying pyramid/tests/test_scripts/test_pshell.py -> build/lib/pyramid/tests/test_scripts

copying pyramid/tests/test_scripts/test_proutes.py -> build/lib/pyramid/tests/test_scripts

copying pyramid/tests/test_scripts/test_pcreate.py -> build/lib/pyramid/tests/test_scripts

copying pyramid/tests/test_scripts/__init__.py -> build/lib/pyramid/tests/test_scripts

creating build/lib/pyramid/tests/test_config/pkgs

copying pyramid/tests/test_config/pkgs/__init__.py -> build/lib/pyramid/tests/test_config/pkgs

creating build/lib/pyramid/tests/pkgs/staticpermapp

copying pyramid/tests/pkgs/staticpermapp/__init__.py -> build/lib/pyramid/tests/pkgs/staticpermapp

creating build/lib/pyramid/tests/pkgs/static_abspath

copying pyramid/tests/pkgs/static_abspath/__init__.py -> build/lib/pyramid/tests/pkgs/static_abspath

creating build/lib/pyramid/tests/pkgs/fixtureapp

copying pyramid/tests/pkgs/fixtureapp/models.py -> build/lib/pyramid/tests/pkgs/fixtureapp

copying pyramid/tests/pkgs/fixtureapp/__init__.py -> build/lib/pyramid/tests/pkgs/fixtureapp

copying pyramid/tests/pkgs/fixtureapp/views.py -> build/lib/pyramid/tests/pkgs/fixtureapp

creating build/lib/pyramid/tests/pkgs/viewdecoratorapp

copying pyramid/tests/pkgs/viewdecoratorapp/__init__.py -> build/lib/pyramid/tests/pkgs/viewdecoratorapp

creating build/lib/pyramid/tests/pkgs/conflictapp

copying pyramid/tests/pkgs/conflictapp/__init__.py -> build/lib/pyramid/tests/pkgs/conflictapp

copying pyramid/tests/pkgs/conflictapp/included.py -> build/lib/pyramid/tests/pkgs/conflictapp

creating build/lib/pyramid/tests/pkgs/subrequestapp

copying pyramid/tests/pkgs/subrequestapp/__init__.py -> build/lib/pyramid/tests/pkgs/subrequestapp

creating build/lib/pyramid/tests/pkgs/includeapp1

copying pyramid/tests/pkgs/includeapp1/two.py -> build/lib/pyramid/tests/pkgs/includeapp1

copying pyramid/tests/pkgs/includeapp1/root.py -> build/lib/pyramid/tests/pkgs/includeapp1

copying pyramid/tests/pkgs/includeapp1/three.py -> build/lib/pyramid/tests/pkgs/includeapp1

copying pyramid/tests/pkgs/includeapp1/__init__.py -> build/lib/pyramid/tests/pkgs/includeapp1

creating build/lib/pyramid/tests/pkgs/rendererscanapp

copying pyramid/tests/pkgs/rendererscanapp/__init__.py -> build/lib/pyramid/tests/pkgs/rendererscanapp

creating build/lib/pyramid/tests/pkgs/ccbugapp

copying pyramid/tests/pkgs/ccbugapp/__init__.py -> build/lib/pyramid/tests/pkgs/ccbugapp

creating build/lib/pyramid/tests/pkgs/hybridapp

copying pyramid/tests/pkgs/hybridapp/__init__.py -> build/lib/pyramid/tests/pkgs/hybridapp

copying pyramid/tests/pkgs/hybridapp/views.py -> build/lib/pyramid/tests/pkgs/hybridapp

creating build/lib/pyramid/tests/pkgs/eventonly

copying pyramid/tests/pkgs/eventonly/__init__.py -> build/lib/pyramid/tests/pkgs/eventonly

creating build/lib/pyramid/tests/pkgs/exceptionviewapp

copying pyramid/tests/pkgs/exceptionviewapp/models.py -> build/lib/pyramid/tests/pkgs/exceptionviewapp

copying pyramid/tests/pkgs/exceptionviewapp/__init__.py -> build/lib/pyramid/tests/pkgs/exceptionviewapp

copying pyramid/tests/pkgs/exceptionviewapp/views.py -> build/lib/pyramid/tests/pkgs/exceptionviewapp

creating build/lib/pyramid/tests/pkgs/static_assetspec

copying pyramid/tests/pkgs/static_assetspec/__init__.py -> build/lib/pyramid/tests/pkgs/static_assetspec

creating build/lib/pyramid/tests/pkgs/forbiddenapp

copying pyramid/tests/pkgs/forbiddenapp/__init__.py -> build/lib/pyramid/tests/pkgs/forbiddenapp

creating build/lib/pyramid/tests/pkgs/wsgiapp2app

copying pyramid/tests/pkgs/wsgiapp2app/__init__.py -> build/lib/pyramid/tests/pkgs/wsgiapp2app

creating build/lib/pyramid/tests/pkgs/notfoundview

copying pyramid/tests/pkgs/notfoundview/__init__.py -> build/lib/pyramid/tests/pkgs/notfoundview

creating build/lib/pyramid/tests/pkgs/defpermbugapp

copying pyramid/tests/pkgs/defpermbugapp/__init__.py -> build/lib/pyramid/tests/pkgs/defpermbugapp

creating build/lib/pyramid/tests/pkgs/static_routeprefix

copying pyramid/tests/pkgs/static_routeprefix/__init__.py -> build/lib/pyramid/tests/pkgs/static_routeprefix

creating build/lib/pyramid/tests/pkgs/permbugapp

copying pyramid/tests/pkgs/permbugapp/__init__.py -> build/lib/pyramid/tests/pkgs/permbugapp

creating build/lib/pyramid/tests/pkgs/restbugapp

copying pyramid/tests/pkgs/restbugapp/__init__.py -> build/lib/pyramid/tests/pkgs/restbugapp

copying pyramid/tests/pkgs/restbugapp/views.py -> build/lib/pyramid/tests/pkgs/restbugapp

creating build/lib/pyramid/tests/pkgs/localeapp

copying pyramid/tests/pkgs/localeapp/__init__.py -> build/lib/pyramid/tests/pkgs/localeapp

creating build/lib/pyramid/tests/pkgs/forbiddenview

copying pyramid/tests/pkgs/forbiddenview/__init__.py -> build/lib/pyramid/tests/pkgs/forbiddenview

creating build/lib/pyramid/tests/test_config/pkgs/selfscan

copying pyramid/tests/test_config/pkgs/selfscan/another.py -> build/lib/pyramid/tests/test_config/pkgs/selfscan

copying pyramid/tests/test_config/pkgs/selfscan/__init__.py -> build/lib/pyramid/tests/test_config/pkgs/selfscan

creating build/lib/pyramid/tests/test_config/pkgs/asset

copying pyramid/tests/test_config/pkgs/asset/models.py -> build/lib/pyramid/tests/test_config/pkgs/asset

copying pyramid/tests/test_config/pkgs/asset/__init__.py -> build/lib/pyramid/tests/test_config/pkgs/asset

copying pyramid/tests/test_config/pkgs/asset/views.py -> build/lib/pyramid/tests/test_config/pkgs/asset

creating build/lib/pyramid/tests/test_config/pkgs/scanextrakw

copying pyramid/tests/test_config/pkgs/scanextrakw/__init__.py -> build/lib/pyramid/tests/test_config/pkgs/scanextrakw

creating build/lib/pyramid/tests/test_config/pkgs/scannable

copying pyramid/tests/test_config/pkgs/scannable/another.py -> build/lib/pyramid/tests/test_config/pkgs/scannable

copying pyramid/tests/test_config/pkgs/scannable/__init__.py -> build/lib/pyramid/tests/test_config/pkgs/scannable

creating build/lib/pyramid/tests/pkgs/fixtureapp/subpackage

copying pyramid/tests/pkgs/fixtureapp/subpackage/__init__.py -> build/lib/pyramid/tests/pkgs/fixtureapp/subpackage

creating build/lib/pyramid/tests/pkgs/viewdecoratorapp/views

copying pyramid/tests/pkgs/viewdecoratorapp/views/__init__.py -> build/lib/pyramid/tests/pkgs/viewdecoratorapp/views

copying pyramid/tests/pkgs/viewdecoratorapp/views/views.py -> build/lib/pyramid/tests/pkgs/viewdecoratorapp/views

creating build/lib/pyramid/tests/pkgs/rendererscanapp/two

copying pyramid/tests/pkgs/rendererscanapp/two/__init__.py -> build/lib/pyramid/tests/pkgs/rendererscanapp/two

creating build/lib/pyramid/tests/test_config/pkgs/asset/subpackage

copying pyramid/tests/test_config/pkgs/asset/subpackage/__init__.py -> build/lib/pyramid/tests/test_config/pkgs/asset/subpackage

creating build/lib/pyramid/tests/test_config/pkgs/scannable/subpackage

copying pyramid/tests/test_config/pkgs/scannable/subpackage/notinit.py -> build/lib/pyramid/tests/test_config/pkgs/scannable/subpackage

copying pyramid/tests/test_config/pkgs/scannable/subpackage/__init__.py -> build/lib/pyramid/tests/test_config/pkgs/scannable/subpackage

creating build/lib/pyramid/tests/test_config/pkgs/scannable/subpackage/subsubpackage

copying pyramid/tests/test_config/pkgs/scannable/subpackage/subsubpackage/__init__.py -> build/lib/pyramid/tests/test_config/pkgs/scannable/subpackage/subsubpackage

running egg_info

writing top-level names to pyramid.egg-info/top_level.txt

writing pyramid.egg-info/PKG-INFO

writing entry points to pyramid.egg-info/entry_points.txt

writing requirements to pyramid.egg-info/requires.txt

writing dependency_links to pyramid.egg-info/dependency_links.txt

warning: manifest_maker: standard file '-c' not found



reading manifest file 'pyramid.egg-info/SOURCES.txt'

writing manifest file 'pyramid.egg-info/SOURCES.txt'

creating build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/components.mak -> build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/hello_inherit_pkg.mak -> build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/hellocompo.mak -> build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/helloinherit.mak -> build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/helloworld.mak -> build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/helloworld.mako -> build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/layout.mak -> build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/minimal.pt -> build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/minimal.txt -> build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/nonminimal.mak -> build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/nonminimal.txt -> build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/pp.pt -> build/lib/pyramid/tests/fixtures

copying pyramid/tests/fixtures/withmacro.pt -> build/lib/pyramid/tests/fixtures

creating build/lib/pyramid/tests/fixtures/static

copying pyramid/tests/fixtures/static/.hiddenfile -> build/lib/pyramid/tests/fixtures/static

copying pyramid/tests/fixtures/static/arcs.svg.tgz -> build/lib/pyramid/tests/fixtures/static

Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File "/tmp/virtualenv/build/pyramid/setup.py", line 122, in <module>

    """

  File "/usr/lib/python3.3/distutils/core.py", line 148, in setup

    dist.run_commands()

  File "/usr/lib/python3.3/distutils/dist.py", line 917, in run_commands

    self.run_command(cmd)

  File "/usr/lib/python3.3/distutils/dist.py", line 936, in run_command

    cmd_obj.run()

  File "/tmp/virtualenv/lib/python3.3/site-packages/distribute-0.6.31-py3.3.egg/setuptools/command/install.py", line 53, in run

    return _install.run(self)

  File "/usr/lib/python3.3/distutils/command/install.py", line 608, in run

    self.run_command('build')

  File "/usr/lib/python3.3/distutils/cmd.py", line 313, in run_command

    self.distribution.run_command(command)

  File "/usr/lib/python3.3/distutils/dist.py", line 936, in run_command

    cmd_obj.run()

  File "/usr/lib/python3.3/distutils/command/build.py", line 126, in run

    self.run_command(cmd_name)

  File "/usr/lib/python3.3/distutils/cmd.py", line 313, in run_command

    self.distribution.run_command(command)

  File "/usr/lib/python3.3/distutils/dist.py", line 936, in run_command

    cmd_obj.run()

  File "/tmp/virtualenv/lib/python3.3/site-packages/distribute-0.6.31-py3.3.egg/setuptools/command/build_py.py", line 90, in run

    self.build_package_data()

  File "/tmp/virtualenv/lib/python3.3/site-packages/distribute-0.6.31-py3.3.egg/setuptools/command/build_py.py", line 150, in build_package_data

    outf, copied = self.copy_file(srcfile, target)

  File "/usr/lib/python3.3/distutils/cmd.py", line 348, in copy_file

    dry_run=self.dry_run)

  File "/usr/lib/python3.3/distutils/file_util.py", line 102, in copy_file

    if not os.path.isfile(src):

  File "/tmp/virtualenv/lib/python3.3/genericpath.py", line 29, in isfile

    st = os.stat(path)

UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 31: ordinal not in range(128)

----------------------------------------
Command /tmp/virtualenv/bin/python3.3 -c "import setuptools;__file__='/tmp/virtualenv/build/pyramid/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-jd8iyc-record/install-record.txt --single-version-externally-managed --install-headers /tmp/virtualenv/include/site/python3.3 failed with error code 1 in /tmp/virtualenv/build/pyramid
Storing complete log in /home/user/.pip/pip.log
@mmerickel
Copy link
Member

Given the location of this error, it is almost certainly due to some unicode files in pyramid's test fixtures that were released in 1.4. This has been fixed in master (7a7f1cf), but I'll see about backporting it to 1.4.

@dsx
Copy link
Author

dsx commented Apr 8, 2013

This would be really nice. Thank you!

On 08-04-2013, at 11:44, Michael Merickel notifications@github.com wrote:

Given the location of this error, it is almost certainly due to some unicode files in pyramid's test fixtures that were released in 1.4. This has been fixed in master (7a7f1cf), but I'll see about backporting it to 1.4.


Reply to this email directly or view it on GitHub.

@tseaver
Copy link
Member

tseaver commented Apr 8, 2013

You just need to merge the changes from 5d9bf10 to the 1.4-branch.

@mmerickel
Copy link
Member

@dsx would you be able to confirm that this fixes your issue?

@dsx
Copy link
Author

dsx commented Apr 8, 2013

Latest master branch seems to be fine.

On 08-04-2013, at 12:02, Michael Merickel notifications@github.com wrote:

@dsx would you be able to confirm that this fixes your issue?


Reply to this email directly or view it on GitHub.

@mmerickel
Copy link
Member

I went ahead and backported this. It'll be in the next 1.4.x bugfix release.

Ratler pushed a commit to SUNET/eduid-dashboard that referenced this issue Jan 8, 2014
Minor bumping pyramid due to this issue: Pylons/pyramid#981
Ratler pushed a commit to SUNET/eduid-signup that referenced this issue Jan 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants