googlecse's People
googlecse's Issues
GoogleAPIError: '(CSE) 400: Invalid Value: invalid'
Hi,
Someone at #supybot just reported the following error when trying to search using GoogleCSE:
INFO 2016-08-09T20:01:04 googlecse search called in private by "[email protected]".
INFO 2016-08-09T20:01:04 "cse" Search Engine API created with custom engine ID "google"
ERROR 2016-08-09T20:01:05 Uncaught exception in ['googlecse', 'search'].
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/supybot/callbacks.py", line 1292, in _callCommand
self.callCommand(command, irc, msg, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/supybot/utils/python.py", line 90, in g
f(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/supybot/callbacks.py", line 1269, in callCommand
method(irc, msg, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/supybot/commands.py", line 1080, in newf
f(self, irc, msg, args, *state.args, **state.kwargs)
File "/home/milda/conf/conf-limnoria/plugins/GoogleCSE/plugin.py", line 160, in search
page = self._next(msg.args[0])
File "/home/milda/conf/conf-limnoria/plugins/GoogleCSE/plugin.py", line 127, in _next
return self.engine[caller].next()
File "/home/milda/conf/conf-limnoria/plugins/GoogleCSE/local/GoogleAPI.py", line 233, in next
self._execute()
File "/home/milda/conf/conf-limnoria/plugins/GoogleCSE/local/GoogleAPI.py", line 264, in _execute
raise GoogleAPIError(self.__class__, self.response)
GoogleAPIError: '(CSE) 400: Invalid Value: invalid'
ERROR 2016-08-09T20:01:05 Exception id: 0x7a3f7
What would be a custom engine?
@config plugins.googleCSE.defaultEngine
I tried @config plugins.googleCSE.defaultEngine google.com
Got this: An error has occurred and has been logged. Check the logs for more information.
INFO 2016-08-02T11:51:27 "legacy" Search Engine API initialized
ERROR 2016-08-02T11:51:28 Uncaught exception in ['googlecse', 'search'].
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/supybot/callbacks.py", line 1292, in _callCommand
self.callCommand(command, irc, msg, *args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/supybot/utils/python.py", line 90, in g
f(self, *args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/supybot/callbacks.py", line 1269, in callCommand
method(irc, msg, *args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/supybot/commands.py", line 1080, in newf
f(self, irc, msg, args, *state.args, **state.kwargs)
File "/home/him/Limnoria/plugins/GoogleCSE/plugin.py", line 160, in search
page = self._next(msg.args[0])
File "/home/him/Limnoria/plugins/GoogleCSE/plugin.py", line 127, in _next
return self.engine[caller].next()
File "/home/him/Limnoria/plugins/GoogleCSE/local/GoogleAPI.py", line 233, in next
self._execute()
File "/home/him/Limnoria/plugins/GoogleCSE/local/GoogleAPI.py", line 264, in _execute
raise GoogleAPIError(self.__class__, self.response)
GoogleCSE.local.exceptions.GoogleAPIError: '(Legacy) 403: The Google Web Search API is no longer available. Please migrate to the Google Custom Search API (https://developers.google.com/custom-search/)'
ERROR 2016-08-02T11:51:28 Exception id: 0x6eef0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.