Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Conversation

@waxlamp
Copy link
Contributor

@waxlamp waxlamp commented Sep 16, 2015

No description provided.

@waxlamp
Copy link
Contributor Author

waxlamp commented Sep 18, 2015

@jeffbaumes could you sanity check this one as well?

@jeffbaumes
Copy link
Contributor

Will do

@jeffbaumes
Copy link
Contributor

This is unrelated to this branch, but I get the following when running grunt and cannot QA this branch:

Running "install" task
You are using pip version 7.1.0, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Processing ./sdist/tangelo-0.9.0.dev0.tar.gz
Collecting cherrypy<4.0,>=3.2 (from tangelo==0.9.0.dev0)
Collecting PyYAML==3.11 (from tangelo==0.9.0.dev0)
Collecting ws4py==0.3.2 (from tangelo==0.9.0.dev0)
Building wheels for collected packages: tangelo
Exception:
Traceback (most recent call last):
  File "/Users/jeff/code/tangelo/venv/lib/python2.7/site-packages/pip/basecommand.py", line 223, in main
    status = self.run(options, args)
  File "/Users/jeff/code/tangelo/venv/lib/python2.7/site-packages/pip/commands/install.py", line 293, in run
    wb.build(autobuilding=True)
  File "/Users/jeff/code/tangelo/venv/lib/python2.7/site-packages/pip/wheel.py", line 756, in build
    ensure_dir(output_dir)
  File "/Users/jeff/code/tangelo/venv/lib/python2.7/site-packages/pip/utils/__init__.py", line 70, in ensure_dir
    os.makedirs(path)
  File "/Users/jeff/code/tangelo/venv/lib/python2.7/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/Users/jeff/code/tangelo/venv/lib/python2.7/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/Users/jeff/code/tangelo/venv/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/Users/jeff/Library/Caches/pip/wheels/a2/69'

Warning: Could not install Tangelo to virtual environment:
 Use --force to continue.

Aborted due to warnings.

@waxlamp
Copy link
Contributor Author

waxlamp commented Sep 22, 2015

Does this happen on the develop branch as well?

On Tue, Sep 22, 2015 at 9:52 AM Jeffrey Baumes notifications@github.com
wrote:

This is unrelated to this branch, but I get the following when running
grunt and cannot QA this branch:

Running "install" task
You are using pip version 7.1.0, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Processing ./sdist/tangelo-0.9.0.dev0.tar.gz
Collecting cherrypy<4.0,>=3.2 (from tangelo==0.9.0.dev0)
Collecting PyYAML==3.11 (from tangelo==0.9.0.dev0)
Collecting ws4py==0.3.2 (from tangelo==0.9.0.dev0)
Building wheels for collected packages: tangelo
Exception:
Traceback (most recent call last):
File "/Users/jeff/code/tangelo/venv/lib/python2.7/site-packages/pip/basecommand.py", line 223, in main
status = self.run(options, args)
File "/Users/jeff/code/tangelo/venv/lib/python2.7/site-packages/pip/commands/install.py", line 293, in run
wb.build(autobuilding=True)
File "/Users/jeff/code/tangelo/venv/lib/python2.7/site-packages/pip/wheel.py", line 756, in build
ensure_dir(output_dir)
File "/Users/jeff/code/tangelo/venv/lib/python2.7/site-packages/pip/utils/init.py", line 70, in ensure_dir
os.makedirs(path)
File "/Users/jeff/code/tangelo/venv/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/Users/jeff/code/tangelo/venv/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/Users/jeff/code/tangelo/venv/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/Users/jeff/Library/Caches/pip/wheels/a2/69'

Warning: Could not install Tangelo to virtual environment:
Use --force to continue.

Aborted due to warnings.


Reply to this email directly or view it on GitHub
#515 (comment).

@waxlamp
Copy link
Contributor Author

waxlamp commented Sep 22, 2015

Could it be related to this?

@jeffbaumes
Copy link
Contributor

I was able to clean up my cache directory and retry - something with elevated permissions somehow ended up there.

@jeffbaumes
Copy link
Contributor

Flickr example has a few issues:

  • The instructions say to do pip install pymongo but this installs a new version that is incompatible with the pymongo used in the flickr demo:
[22/Sep/2015:11:26:55] SERVICE Could not execute service /plugin/mongo/mongo/localhost/tangelo/flickr_paris:
Traceback (most recent call last):
  File "/Users/jeff/code/tangelo/venv/lib/python2.7/site-packages/tangelo/server.py", line 448, in invoke_service
    result = service.run(*pargs, **kwargs)
  File "/Users/jeff/code/tangelo/venv/lib/python2.7/site-packages/tangelo/pkgdata/plugin/mongo/web/mongo.py", line 56, in run
    c = pymongo.Connection(server)[db][coll]
AttributeError: 'module' object has no attribute 'Connection'

@waxlamp
Copy link
Contributor Author

waxlamp commented Sep 22, 2015

On Tue, Sep 22, 2015 at 11:29 AM Jeffrey Baumes notifications@github.com
wrote:

  • The instructions say to do pip install pymongo but this installs a
    new version that is incompatible with the pymongo used in the flickr demo:

[22/Sep/2015:11:26:55] SERVICE Could not execute service /plugin/mongo/mongo/localhost/tangelo/flickr_paris:
Traceback (most recent call last):
File "/Users/jeff/code/tangelo/venv/lib/python2.7/site-packages/tangelo/server.py", line 448, in invoke_service
result = service.run(_pargs, *_kwargs)
File "/Users/jeff/code/tangelo/venv/lib/python2.7/site-packages/tangelo/pkgdata/plugin/mongo/web/mongo.py", line 56, in run
c = pymongo.Connection(server)[db][coll]
AttributeError: 'module' object has no attribute 'Connection'

Between updating the code to make use of a modern pymongo, and telling the
user to install an older pymongo, I prefer the former because installing an
old pymongo will fail for the majority of users (since they'll likely have
a newer one installed already, especially if they are Tangelo users).

Maybe we should go whole hog and move this data to data.kitware.com?

Thoughts?

@jeffbaumes
Copy link
Contributor

+1 for both suggestions. This branch LGTM if you want to separate these out into another issue or issues.

@waxlamp
Copy link
Contributor Author

waxlamp commented Sep 22, 2015

Thanks, will do!

On Tue, Sep 22, 2015 at 11:43 AM Jeffrey Baumes notifications@github.com
wrote:

+1 for both suggestions. This branch LGTM if you want to separate these
out into another issue or issues.


Reply to this email directly or view it on GitHub
#515 (comment).

@waxlamp
Copy link
Contributor Author

waxlamp commented Sep 22, 2015

Opened #520 and #521 to track remaining issues with this branch.

waxlamp added a commit that referenced this pull request Sep 22, 2015
@waxlamp waxlamp merged commit 18c53c3 into develop Sep 22, 2015
@waxlamp waxlamp deleted the geojs-update branch September 22, 2015 15:48
waxlamp added a commit that referenced this pull request Jan 18, 2016
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 this pull request may close these issues.

3 participants