Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Can't mirror sphinx_bootstrap_theme #9

Closed
fizyk opened this issue Apr 12, 2013 · 2 comments · Fixed by #10
Closed

Can't mirror sphinx_bootstrap_theme #9

fizyk opened this issue Apr 12, 2013 · 2 comments · Fixed by #10

Comments

@fizyk
Copy link
Contributor

fizyk commented Apr 12, 2013

Just tried to install sphinx_bootstrap_theme, and for reasons unknown to me at the moment. pyshop doesn't want to even mirror this package.

2013-04-12 13:27:30,469 INFO  [pyshop.security][Dummy-1] [127.0.0.1] GET http://localhost:8000/simple/sphinx_bootstrap_theme/
2013-04-12 13:27:30,520 INFO  [pyshop.security][Dummy-2] [127.0.0.1] GET http://localhost:8000/simple/sphinx_bootstrap_theme/
/home/fizyk/.virtualenvs/pyshop/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py:455: SAWarning: Unicode type received non-unicode bind param value.
  param.append(processors[key](compiled_params[key]))
2013-04-12 13:27:30,815 INFO  [pyshop.views.base][Dummy-2] dispatch view Show
2013-04-12 13:27:31,589 INFO  [pyshop.views.simple][Dummy-2] package sphinx_bootstrap_theme has no versions

~.pip/pip.log

/home/fizyk/.virtualenvs/test/bin/pip run on Fri Apr 12 13:27:31 2013
Downloading/unpacking sphinx-bootstrap-theme

  Getting page http://pip:changeme@localhost:8000/simple/sphinx_bootstrap_theme/
  URLs to search for versions for sphinx-bootstrap-theme:
  * http://pip:changeme@localhost:8000/simple/sphinx_bootstrap_theme/
  Analyzing links from page http://localhost:8000/simple/sphinx_bootstrap_theme/
  Could not find any downloads that satisfy the requirement sphinx-bootstrap-theme

No distributions at all found for sphinx-bootstrap-theme

Exception information:
Traceback (most recent call last):
  File "/home/fizyk/.virtualenvs/test/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/basecommand.py", line 139, in main
    status = self.run(options, args)
  File "/home/fizyk/.virtualenvs/test/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/commands/install.py", line 266, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/fizyk/.virtualenvs/test/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/req.py", line 1026, in prepare_files
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File "/home/fizyk/.virtualenvs/test/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/index.py", line 171, in find_requirement
    raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for sphinx-bootstrap-theme
@mardiros
Copy link
Owner

Hum, it's working for me...

(pyshop)guillaume ~/workspace/pyshop/pyshop $ pserve development.ini --reload
Starting subprocess with file monitor
/home/guillaume/workspace/pyshop/lib/python2.7/site-packages/pyramid_jinja2-1.5-py2.7.egg/pyramid_jinja2/init.py:468: DeprecationWarning: reload_templates setting is deprecated, use pyramid
.reload_templates instead.
_get_or_build_default_environment(config.registry)
2013-04-12 21:59:00,392 INFO [pyramid_scss][MainThread] adding asset path /home/guillaume/workspace/pyshop/pyshop/pyshop/assets/sass
Starting server in PID 4180.
serving on http://0.0.0.0:6543
/home/guillaume/workspace/pyshop/pyshop/pyshop/security.py:45: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
cru = e.message
2013-04-12 21:59:12,444 INFO [pyshop.security][Dummy-2] [127.0.0.1] GET Current request matches no route
2013-04-12 21:59:12,476 INFO [pyshop.security][Dummy-3] [127.0.0.1] GET http://localhost:6543/simple/
2013-04-12 21:59:12,480 INFO [pyshop.security][Dummy-4] [127.0.0.1] GET http://localhost:6543/simple/
/home/guillaume/workspace/pyshop/lib/python2.7/site-packages/SQLAlchemy-0.7.9-py2.7-linux-x86_64.egg/sqlalchemy/engine/default.py:463: SAWarning: Unicode type received non-unicode bind param va
lue.
2013-04-12 21:59:12,659 INFO [pyshop.views.base][Dummy-4] dispatch view List
2013-04-12 21:59:12,913 INFO [pyshop.security][Dummy-5] [127.0.0.1] GET http://localhost:6543/simple/sphinx-bootstrap-theme/
2013-04-12 21:59:12,920 INFO [pyshop.security][Dummy-2] [127.0.0.1] GET http://localhost:6543/simple/sphinx-bootstrap-theme/
2013-04-12 21:59:13,094 INFO [pyshop.views.base][Dummy-2] dispatch view Show
2013-04-12 21:59:13,534 INFO [pyshop.views.simple][Dummy-2] mirror package sphinx-bootstrap-theme now
2013-04-12 21:59:25,770 INFO [pyshop.views.simple][Dummy-2] package sphinx-bootstrap-theme mirrored
2013-04-12 21:59:29,299 INFO [pyshop.security][Dummy-3] [127.0.0.1] GET http://localhost:6543/repository/663/sphinx-bootstrap-theme-0.2.0.tar.gz
2013-04-12 21:59:29,303 INFO [pyshop.security][Dummy-4] [127.0.0.1] GET http://localhost:6543/repository/663/sphinx-bootstrap-theme-0.2.0.tar.gz
2013-04-12 21:59:29,306 INFO [pyshop.security][Dummy-5] [127.0.0.1] GET http://localhost:6543/repository/663/sphinx-bootstrap-theme-0.2.0.tar.gz
/home/guillaume/workspace/pyshop/pyshop/pyshop/helpers/download.py:25: DeprecationWarning: Accessing and setting "request.response_content_type" is deprecated as of Pyramid 1.1; access or set "
request.response.content_type" instead.
request.response_content_type = mime
2013-04-12 21:59:29,440 INFO [pyshop.helpers.download][Dummy-5] downloading https://pypi.python.org/packages/source/s/sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.2.0.tar.gz
2013-04-12 21:59:29,458 INFO [requests.packages.urllib3.connectionpool][Dummy-5] Starting new HTTPS connection (1): pypi.python.org
2013-04-12 21:59:44,917 INFO [pyshop.security][Dummy-2] [127.0.0.1] GET Current request matches no route
2013-04-12 21:59:44,939 INFO [pyshop.security][Dummy-3] [127.0.0.1] GET http://localhost:6543/simple/distribute/
2013-04-12 21:59:44,942 INFO [pyshop.security][Dummy-4] [127.0.0.1] GET http://localhost:6543/simple/distribute/
2013-04-12 21:59:45,120 INFO [pyshop.views.base][Dummy-4] dispatch view Show
2013-04-12 21:59:45,334 INFO [pyshop.views.simple][Dummy-4] mirror package distribute now
2013-04-12 22:01:02,888 INFO [pyshop.views.simple][Dummy-4] package distribute mirrored
2013-04-12 22:01:20,289 INFO [pyshop.security][Dummy-5] [127.0.0.1] GET http://localhost:6543/repository/673/distribute-0.6.36.tar.gz
2013-04-12 22:01:20,297 INFO [pyshop.security][Dummy-2] [127.0.0.1] GET http://localhost:6543/repository/673/distribute-0.6.36.tar.gz
2013-04-12 22:01:20,302 INFO [pyshop.security][Dummy-3] [127.0.0.1] GET http://localhost:6543/repository/673/distribute-0.6.36.tar.gz
2013-04-12 22:01:20,422 INFO [pyshop.helpers.download][Dummy-3] downloading https://pypi.python.org/packages/source/d/distribute/distribute-0.6.36.tar.gz
2013-04-12 22:01:20,425 INFO [requests.packages.urllib3.connectionpool][Dummy-3] Starting new HTTPS connection (1): pypi.python.org

$ pip install sphinx-bootstrap-theme
Downloading/unpacking sphinx-bootstrap-theme
Downloading sphinx-bootstrap-theme-0.2.0.tar.gz (209Kb): 209Kb downloaded
Running setup.py egg_info for package sphinx-bootstrap-theme
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'use_2to3'
warnings.warn(msg)

warning: no previously-included files matching '*' found under directory 'bootstrap'
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
warning: no previously-included files found matching 'bootstrap'
warning: no previously-included files found matching 'demo'
warning: no previously-included files found matching 'fabfile.py'

Downloading/unpacking distribute (from sphinx-bootstrap-theme)
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)
File "/home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/index.py", line 243, in _get_queued_page
for link in page.rel_links():
File "/home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/index.py", line 515, in rel_links
for url in self.scraped_rel_links():
File "/home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/index.py", line 542, in scraped_rel_links
url = match.group(1) or match.group(2) or match.group(3)
IndexError: no such group

Downloading distribute-0.6.36.tar.gz (644Kb): 644Kb downloaded
Running setup.py egg_info for package distribute

Installing collected packages: sphinx-bootstrap-theme, distribute
Running setup.py install for sphinx-bootstrap-theme
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'use_2to3'
warnings.warn(msg)

warning: no previously-included files matching '*' found under directory 'bootstrap'
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
warning: no previously-included files found matching 'bootstrap'
warning: no previously-included files found matching 'demo'
warning: no previously-included files found matching 'fabfile.py'

Running setup.py install for distribute
Before install bootstrap.
Scanning installed packages
Setuptools installation detected at /home/guillaume/workspace/xxx_test/lib/python2.7/site-packages
Non-egg installation
Moving elements out of the way...
Renaming /home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info to /home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/setuptools-0.6c11-
py2.7.egg-info.OLD.1365796913.81
Renaming /home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/setuptools to /home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/setuptools.OLD.1365796913.81
Renaming /home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/pkg_resources.py to /home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/pkg_resources.py.OLD.1365796913.81
Renaming /home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/site.py to /home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/site.py.OLD.1365796913.81
Patching complete.
Relaunching...
Before install bootstrap.
Scanning installed packages
Setuptools installation detected at /home/guillaume/workspace/xxx_test/lib/python2.7/site-packages
Non-egg installation
Moving elements out of the way...
/home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info/EGG-INFO/PKG-INFO already patched.
/home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info already patched.
Installing easy_install script to /home/guillaume/workspace/xxx_test/bin
Installing easy_install-2.7 script to /home/guillaume/workspace/xxx_test/bin
After install bootstrap.
/home/guillaume/workspace/xxx_test/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info already exists
Successfully installed sphinx-bootstrap-theme distribute
Cleaning up...

$ pip freeze
distribute==0.6.36
sphinx-bootstrap-theme==0.2.0
wsgiref==0.1.2

@mardiros
Copy link
Owner

Ok to replaced by #10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants