Giter Club home page Giter Club logo

darkcoin-api's People

Contributors

barnumbirr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

darkcoin-api's Issues

Missing _dlopen() required by darkcoin

import darkcoin

immediately leads to

Traceback (most recent call last):
  File "C:/Python27/Scripts/test.py", line 1, in <module>
    import darkcoin
  File "C:\Python27\lib\site-packages\darkcoin\__init__.py", line 17, in <module>
    import darkcoin_utils
  File "C:\Python27\lib\site-packages\darkcoin\darkcoin_utils.py", line 21, in <module>
    ssl = ctypes.cdll.LoadLibrary (ctypes.util.find_library ('ssl') or 'libeay32')
  File "C:\Python27\lib\ctypes\__init__.py", line 443, in LoadLibrary
    return self._dlltype(name)
  File "C:\Python27\lib\ctypes\__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found

I note that the dlopen appears to be in the source file C:\Python27\Lib\ctypes__init_ which apparently is not compiled into the binary by default into the binary that I dl. So do I have to build from source in order to get this ... or is their some other readily available mechanism?

Queries to explorer.darkcoin.io return 403 HTTP error

======================================================================
ERROR: test_addressbalance (__main__.darkcointestsuite)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/darkcoin-api/tests/darkcoin_tests.py", line 37, in test_addressbalance
    darkcoin.addressbalance('n194KCwPQJjti53z9gN6wh9wUChfVePEab')
  File "/usr/local/lib/python2.7/dist-packages/darkcoin/darkcoin_api.py", line 66, in addressbalance
    d = urllib2.urlopen(blockexplorer('addressbalance') + '/' + str(PARAMETER))
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 407, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 445, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

Will have to implement Browser headers as was done for http://api.cryptocoincharts.info/

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.