Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3064 by an...@2general.com: Installing djblets from PyPI fails
http://code.google.com/p/reviewboard/issues/detail?id=3064

*** For customer support, please post to reviewbo...@googlegroups.com
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** Do not post confidential information in this bug report!

What version are you running?

I'm trying to install djblets from PyPI. The current version there is 0.7.17.


What steps will reproduce the problem?
1. create and activate a virtualenv
2. pip install Django==1.5.2
3. pip install djblets

What is the expected output? What do you see instead?

djblets should install successfully. Instead, I see:

$ pip install djblets
Downloading/unpacking djblets
  Running setup.py egg_info for package djblets

    warning: no files found matching '*.txt' under directory 'djblets'
    warning: no files found matching '*.htc' under directory 'djblets'
    warning: no files found matching '*.jpg' under directory 'djblets'
Downloading/unpacking Django>=1.4.6,<1.5 (from djblets)
  Running setup.py egg_info for package Django

Downloading/unpacking django-pipeline>=1.2.24 (from djblets)
  Running setup.py egg_info for package django-pipeline

warning: no previously-included files matching '*.pyc' found under directory 'tests' warning: no previously-included files matching '*.pyo' found under directory 'tests' Requirement already satisfied (use --upgrade to upgrade): feedparser>=5.1.2 in /usr/lib/python2.7/dist-packages (from djblets) Requirement already satisfied (use --upgrade to upgrade): PIL in /usr/lib/python2.7/dist-packages/PIL (from djblets) Requirement already satisfied (use --upgrade to upgrade): pytz in /usr/lib/python2.7/dist-packages (from djblets)
Downloading/unpacking futures>=2.1.3 (from django-pipeline>=1.2.24->djblets)
  Running setup.py egg_info for package futures

Installing collected packages: djblets, Django, django-pipeline, futures
  Running setup.py install for djblets
    Traceback (most recent call last):
      File "contrib/internal/build-media.py", line 18, in <module>
        ret = call_command('collectstatic', interactive=False, verbosity=2)
File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 147, in call_command
        klass = load_command_class(app_name, name)
File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 78, in load_command_class
        return module.Command()
File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 58, in __init__
        self.storage.path('')
File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/django/utils/functional.py", line 204, in inner
        self._setup()
File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py", line 307, in _setup
        self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()
File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/django/core/files/storage.py", line 290, in get_storage_class raise ImproperlyConfigured('Error importing storage module %s: "%s"' % (module, e)) django.core.exceptions.ImproperlyConfigured: Error importing storage module pipeline.storage: "No module named pipeline.storage"
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
File "/home/akaihola/myvirtualenv/build/djblets/setup.py", line 126, in <module>
        "Topic :: Software Development :: Libraries :: Python Modules",
      File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/install.py", line 53, in run
        return _install.run(self)
File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
        self.run_command('build')
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
        self.run_command(cmd_name)
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/build_py.py", line 90, in run
        self.build_package_data()
File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/build_py.py", line 145, in build_package_data
        for package, src_dir, build_dir, filenames in self.data_files:
File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/build_py.py", line 102, in __getattr__
        self.data_files = files = self._get_data_files(); return files
File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/build_py.py", line 113, in _get_data_files
        self.analyze_manifest()
File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/build_py.py", line 165, in analyze_manifest
        self.run_command('egg_info')
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
File "/home/akaihola/myvirtualenv/build/djblets/setup.py", line 47, in run
        self.run_command('build_media')
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
File "/home/akaihola/myvirtualenv/build/djblets/setup.py", line 66, in run
        raise RuntimeError('Failed to build media files')
    RuntimeError: Failed to build media files
Complete output from command /home/akaihola/myvirtualenv/bin/python -c "import setuptools;__file__='/home/akaihola/myvirtualenv/build/djblets/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-x0RfBm-record/install-record.txt --single-version-externally-managed --install-headers /home/akaihola/myvirtualenv/include/site/python2.7:
    running install

running build

running build_py

running egg_info

running build_media

Traceback (most recent call last):

  File "contrib/internal/build-media.py", line 18, in <module>

    ret = call_command('collectstatic', interactive=False, verbosity=2)

File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 147, in call_command

    klass = load_command_class(app_name, name)

File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 78, in load_command_class

    return module.Command()

File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 58, in __init__

    self.storage.path('')

File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/django/utils/functional.py", line 204, in inner

    self._setup()

File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py", line 307, in _setup

    self._wrapped = get_storage_class(settings.STATICFILES_STORAGE)()

File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/django/core/files/storage.py", line 290, in get_storage_class

raise ImproperlyConfigured('Error importing storage module %s: "%s"' % (module, e))

django.core.exceptions.ImproperlyConfigured: Error importing storage module pipeline.storage: "No module named pipeline.storage"

Traceback (most recent call last):

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

File "/home/akaihola/myvirtualenv/build/djblets/setup.py", line 126, in <module>

    "Topic :: Software Development :: Libraries :: Python Modules",

  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup

    dist.run_commands()

  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands

    self.run_command(cmd)

  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

    cmd_obj.run()

File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/install.py", line 53, in run

    return _install.run(self)

  File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run

    self.run_command('build')

  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command

    self.distribution.run_command(command)

  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

    cmd_obj.run()

  File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run

    self.run_command(cmd_name)

  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command

    self.distribution.run_command(command)

  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

    cmd_obj.run()

File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/build_py.py", line 90, in run

    self.build_package_data()

File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/build_py.py", line 145, in build_package_data

    for package, src_dir, build_dir, filenames in self.data_files:

File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/build_py.py", line 102, in __getattr__

    self.data_files = files = self._get_data_files(); return files

File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/build_py.py", line 113, in _get_data_files

    self.analyze_manifest()

File "/home/akaihola/myvirtualenv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/build_py.py", line 165, in analyze_manifest

    self.run_command('egg_info')

  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command

    self.distribution.run_command(command)

  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

    cmd_obj.run()

  File "/home/akaihola/myvirtualenv/build/djblets/setup.py", line 47, in run

    self.run_command('build_media')

  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command

    self.distribution.run_command(command)

  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

    cmd_obj.run()

  File "/home/akaihola/myvirtualenv/build/djblets/setup.py", line 66, in run

    raise RuntimeError('Failed to build media files')

RuntimeError: Failed to build media files

----------------------------------------
Command /home/akaihola/myvirtualenv/bin/python -c "import setuptools;__file__='/home/akaihola/myvirtualenv/build/djblets/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-x0RfBm-record/install-record.txt --single-version-externally-managed --install-headers /home/akaihola/myvirtualenv/include/site/python2.7 failed with error code 1 in /home/akaihola/myvirtualenv/build/djblets
Storing complete log in /home/akaihola/.pip/pip.log


What operating system are you using? What browser?

Ubuntu 12.10

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to