Skip to content

New release is broken, had to revert #987

@paulcdejean

Description

@paulcdejean
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
TypeError: the JSON object must be str, not 'bytes'
    s.__class__.__name__))
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.5/json/__init__.py", line 268, in load
    creds=json.load(resp)
  File "/usr/local/lib/python3.5/dist-packages/S3/Config.py", line 266, in role_config
    self.role_config()
  File "/usr/local/lib/python3.5/dist-packages/S3/Config.py", line 245, in __init__
    cfg = Config(options.config, options.access_key, options.secret_key, options.access_token)
  File "/usr/local/bin/s3cmd", line 2792, in main
    rc = main()
  File "/usr/local/bin/s3cmd", line 3092, in <module>
Traceback (most recent call last):
environment LANG=en_US.UTF-8
[GCC 5.4.0 20160609]
python:   3.5.2 (default, Nov 23 2017, 16:37:01)
S3cmd:   2.0.2
Problem: <class 'TypeError: the JSON object must be str, not 'bytes'
Invoked as: /usr/local/bin/s3cmd sync --quiet -F --delete-removed s3://dashboardcopy/master/ /sites/
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2.0.1 works fine so I reverted to that thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions