Giter VIP home page Giter VIP logo

retdec-python's People

Contributors

s3rvac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

retdec-python's Issues

Improve error message when decompiling archive without specifying ar_index

Traceback (most recent call last):
  File "dec.py", line 6, in <module>
    decompilation = decompiler.start_decompilation(input_file=sys.argv[1])
  File "/usr/local/lib/python3.5/dist-packages/retdec/decompiler.py", line 112, in start_decompilation
    id = self._start_decompilation(conn, kwargs)
  File "/usr/local/lib/python3.5/dist-packages/retdec/decompiler.py", line 154, in _start_decompilation
    response = conn.send_post_request(files=files, params=params)
  File "/usr/local/lib/python3.5/dist-packages/retdec/conn.py", line 65, in send_post_request
    response = self._send_request('post', path, params=params, files=files)
  File "/usr/local/lib/python3.5/dist-packages/retdec/conn.py", line 124, in _send_request
    self._ensure_request_succeeded(response)
  File "/usr/local/lib/python3.5/dist-packages/retdec/conn.py", line 143, in _ensure_request_succeeded
    json['description']
retdec.exceptions.UnknownAPIError: Parameter 'ar_index' is missing.

Issue installing with pip

root@vpnserver:~# pip install git+https://github.com/s3rvac/retdec-python
Collecting git+https://github.com/s3rvac/retdec-python
Cloning https://github.com/s3rvac/retdec-python to /tmp/pip-smQOvT-build
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-smQOvT-build/setup.py", line 37, in
version=get_project_version(),
File "/tmp/pip-smQOvT-build/setup.py", line 30, in get_project_version
read_file(os.path.join('retdec', 'init.py'))
File "/tmp/pip-smQOvT-build/setup.py", line 17, in read_file
with open(file_path, encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-smQOvT-build/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.