Skip to content

cli not python3 ready? #19

@Marwe

Description

@Marwe

I get this error after installing with python3, this is not the case with python2:

Traceback (most recent call last):
  File "/usr/local/bin/bepasty-cli", line 11, in <module>
    load_entry_point('bepasty-client-cli==0.3.0', 'console_scripts', 'bepasty-cli')()
  File "/home/martin/.local/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/martin/.local/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/martin/.local/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/martin/.local/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/bepasty_client_cli-0.3.0-py3.6.egg/bepasty_cli/cli.py", line 200, in main
  File "/usr/local/lib/python3.6/dist-packages/bepasty_client_cli-0.3.0-py3.6.egg/bepasty_cli/cli.py", line 262, in upload
AttributeError: 'str' object has no attribute 'decode'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions