Coder Social home page Coder Social logo

pyphaxio's Issues

ImportError: No module named 'swagger_client'

When I attempt to run the example code in a clean virtualenv in Python 3.5 I receive the error:

ImportError: No module named 'swagger_client'

Is there something I am missing here? I have installed pyphaxio as indicate and even manually install requests and I see that it was required.

Pypi 0.8 egg won't install

The pyphaxio-0.8 egg distributed right now on PyPi still has a capitalized "PyPhaxio.egg-info" directory in it, even though a7d8f84 renamed everything to (lowercased) "pyphaxio".

It seems to install alright with pip on OSX, and with pip or easy_install on linux, but easy_install on OSX gets confused.

json error in faxFile call

Not sure if it's because of requests lib, phaxio api, pyphaxio, or my own data/environment. Tried under both py2 and py3 and here are the trace backs.

In Python 3 env:

Traceback (most recent call last):
File "", line 1, in
File "c:\Program Files\Python35\lib\site-packages\phaxio\utils.py", line 3, in _curried
return curried_func((args+moreargs), *_dict(kwargs, *_morekwargs))
File "c:\Program Files\Python35\lib\site-packages\phaxio\api.py", line 98, in get
return self.parse_response(r)
File "c:\Program Files\Python35\lib\site-packages\phaxio\api.py", line 48, in parse_response
payload = response.json()
File "c:\Program Files\Python35\lib\site-packages\requests\models.py", line 808, in json
return complexjson.loads(self.text, *kwargs)
File "c:\Program Files\Python35\lib\json__init
.py", line 319, in loads
return _default_decoder.decode(s)
File "c:\Program Files\Python35\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "c:\Program Files\Python35\lib\json\decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

In Python2.7 env:

Traceback (most recent call last):
File "phaxio\utils.pyc", line 3, in curried
File "phaxio\api.pyc", line 98, in get
File "phaxio\api.pyc", line 48, in parse_response
File "requests\models.pyc", line 819, in json
File "json__init
.pyc", line 338, in loads
File "json\decoder.pyc", line 365, in decode
File "json\decoder.pyc", line 383, in raw_decode
ValueError: No JSON object could be decoded

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.