question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Foursquare lock error

See original GitHub issue
➜  testpipenv pipenv install foursquare
Creating a Pipfile for this project...
Creating a virtualenv for this project...
⠋Running virtualenv with interpreter /home/singleton/.pyenv/versions/3.5.2/bin/python
Using base prefix '/home/singleton/.pyenv/versions/3.5.2'
New python executable in /home/singleton/Projects/testpipenv/.venv/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /home/singleton/Projects/testpipenv/.venv
Installing foursquare...
Collecting foursquare
Requirement already satisfied: six in ./.venv/lib/python3.5/site-packages (from foursquare)
Collecting requests>=2.1 (from foursquare)
  Using cached requests-2.13.0-py2.py3-none-any.whl
Installing collected packages: requests, foursquare
Successfully installed foursquare-1!2016.9.12 requests-2.13.0

Adding foursquare to Pipfile's [packages]...
➜  testpipenv ls
Pipfile
➜  testpipenv vim Pipfile 
➜  testpipenv pipenv lock
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    load_entry_point('pipenv==3.3.6', 'console_scripts', 'pipenv')()
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.5/dist-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/pipenv/cli.py", line 867, in lock
    do_lock()
  File "/usr/local/lib/python3.5/dist-packages/pipenv/cli.py", line 431, in do_lock
    results = get_downloads_info(names_map, 'packages')
  File "/usr/local/lib/python3.5/dist-packages/pipenv/cli.py", line 375, in get_downloads_info
    name = list(convert_deps_from_pip(names_map[fname]))[0]
KeyError: 'foursquare-1!2016.9.12.tar.gz'
➜  testpipenv 

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
nateprewittcommented, Apr 24, 2017

@jacebrowning, you should find this fixed for appveyor in #326. We’ll have that included in the next release within the next few days.

0reactions
nateprewittcommented, Apr 26, 2017

@jacebrowning this looks like it may be related to the Pip version you have installed in Appveyor. I’d make sure that’s up to date and if that doesn’t fix it, please open a new issue. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Foursquare API Checkin Add suddenly started ...
I have a program which will do automatic checkins on Foursquare. ... Check if any error occured if(curl_errno($ch)) { echo 'Curl error: ...
Read more >
hubot-foursquare-lunch/package-lock.json at main · stephenyeargin ...
Go to file T · Go to line L · Copy path · Copy permalink.
Read more >
How to Unlock Your World with Foursquare - YouTube
Full Playlist: https://www.youtube.com/playlist?list=PLLALQuK1NDrgfCChmo4u35GZvdULckNq3--Watch more Client Videos videos: ...
Read more >
foursquare GPS problems on E71 - Microsoft Community
I have downloaded foursquare on my phone and it doesn't seem to find me ... The position in GPS and MAPS are correct...
Read more >
How do I fix a Foursquare location? - Ask Dave Taylor
There are a couple of different ways to fix venues, depending on whether you've unlocked the “Superuser” badge in Foursquare or not, but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found