question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug with first lines of code in documentation?

See original GitHub issue

I installed disqus-python then tried the basic example with my secret key and public key:

pip install disqus-python
from disqusapi import DisqusAPI
disqus = DisqusAPI(secret_key, public_key)

However now when I do

disqus.get('trends.listThreads')

I get the error:

TypeError: __call__() takes exactly 1 argument (2 given)

Issue Analytics

  • State:open
  • Created 9 years ago
  • Reactions:1
  • Comments:9

github_iconTop GitHub Comments

3reactions
mxrsscommented, Jan 25, 2016

@loneboat

I had luck by following the directions here

https://github.com/disqus/disqus-python/issues/22

What you need to do is do a pip install of this

pip install https://github.com/disqus/disqus-python/archive/master.zip

1reaction
loneboatcommented, Jan 25, 2016

+1

Still getting this error as of Jan 2016

Read more comments on GitHub >

github_iconTop Results From Across the Web

Documentation As a Bug-Finding Tool - Slashdot
Writing documentation first means that you have to do the thinking before the coding, and that eliminates a whole load of problems.
Read more >
What is a bug (computer bug)? - TechTarget
In computer technology, a bug is a coding error in a computer program. ... a well-controlled process results in fewer bugs per thousands...
Read more >
The First Rule of Programming: It's Always Your Fault
It is possible that a bug exists in the OS, the compiler, or a third-party product-- but this should not be your first...
Read more >
A Few Billion Lines of Code Later: Using Static Analysis to ...
Assuming a reasonable tool, the first order bound on bug counts is just how much code can be shoved through the tool. Ten...
Read more >
Software bug - Wikipedia
Programs known as debuggers help programmers locate bugs by executing code line by line, watching variable values, and other features to observe program ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found