Comments (2)
@erickhun @geekyme Do we have some way to monitor errors? Maybe I could have a look at it to debug it. Otherwise, I could investigate into adding one I see @geekyme already implanted tracing. Where do we see the traces?
from taiwan-bot.
When I played around with it locally, I noticed I reached quota limits with google sheets. Perhaps that is the problem? Might be worth checking. Here are my logs (note that line numbers may not line up with yours cause I'm on a different branch than master):
Traceback (most recent call last):
File "~/taiwan-bot/.venv/lib/python3.8/site-packages/botbuilder/core/bot_adapter.py", line 127, in run_pipeline
return await self._middleware.receive_activity_with_status(
File "~/taiwan-bot/.venv/lib/python3.8/site-packages/botbuilder/core/middleware_set.py", line 69, in receive_activity_with_status
return await self.receive_activity_internal(context, callback)
File "~/taiwan-bot/.venv/lib/python3.8/site-packages/botbuilder/core/middleware_set.py", line 79, in receive_activity_internal
return await callback(context)
File "./bots/faq_bot.py", line 122, in on_turn
await super().on_turn(turn_context)
File "~/taiwan-bot/.venv/lib/python3.8/site-packages/botbuilder/core/activity_handler.py", line 68, in on_turn
await self.on_message_activity(turn_context)
File "./bots/faq_bot.py", line 89, in on_message_activity
self.bot_sheet.log_answers(
File "./taiwan_bot_sheet.py", line 67, in log_answers
sheet.update( 'A' + str(next_row) , datetime.now().strftime("%d/%m/%Y %H:%M:%S"))
File "~/taiwan-bot/.venv/lib/python3.8/site-packages/gspread/utils.py", line 592, in wrapper
return f(*args, **kwargs)
File "~/taiwan-bot/.venv/lib/python3.8/site-packages/gspread/models.py", line 1096, in update
response = self.spreadsheet.values_update(
File "~/taiwan-bot/.venv/lib/python3.8/site-packages/gspread/models.py", line 235, in values_update
r = self.client.request('put', url, params=params, json=body)
File "~/taiwan-bot/.venv/lib/python3.8/site-packages/gspread/client.py", line 73, in request
raise APIError(response)
gspread.exceptions.APIError: {'code': 429, 'message': "Quota exceeded for quota group 'WriteGroup' and limit 'Write requests per user per 100 seconds' of service 'sheets.googleapis.com' for consumer 'project_number:#############'.", 'status': 'RESOURCE_EXHAUSTED', 'details': [{'@type': 'type.googleapis.com/google.rpc.Help', 'links': [{'description': 'Google developer console API key', 'url': 'https://console.developers.google.com/project/#############'/apiui/credential'}]}]}
from taiwan-bot.
Related Issues (15)
- Chatbot Recommendation HOT 6
- Log questions , answers, and similarity score HOT 1
- Buttons to get better response
- A Smart Taiwan Law Bot?
- Reload data from spreadsheet when it changes HOT 1
- Fix context when responding to slack channel HOT 1
- Can't test locally for slack / channel specific code HOT 1
- Threads for replying to message in slack
- Add welcome page / quick replies HOT 1
- Manage multiple questions from a single line in Google Spreadsheet HOT 1
- Bot encounters error if you send non-text content
- Add Taiwan-bot to website HOT 1
- Ideas over dinner
- Scrape LINE
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.
from taiwan-bot.