Skip to content

Windows\Cygwin\Python error #76

@qzcw

Description

@qzcw

Hello.

I tried to run your script on my Windows PC, but it failed do to what appears to be the fcntl-library problem on Windows machines.

So, then I installed Cygwin Linux emulator on Windows with Python installed on it. Now, when trying to run the uploadr script there is not anymore fcntl error message, but instead this:

$ python uploadr.py
--------- Start time: Mon Dec 12 16:19:21 2016 ---------
False
Setting up the database: flickrdb
Completed database setup
Getting new token
(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),)
Error: cannot get frob:(<type 'exceptions.TypeError'>, TypeError('expected string or buffer',), <traceback object at 0x6ffff966cb0>)
Traceback (most recent call last):
  File "uploadr.py", line 1167, in <module>
    flick.authenticate()
  File "uploadr.py", line 169, in authenticate
    self.getAuthKey()
  File "uploadr.py", line 208, in getAuthKey
    "frob": FLICKR["frob"],
KeyError: 'frob'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions