Comments (4)
So it is totally normal to have multiple entries in the user_names
table for a given user id, as it keeps track of historical display names. When mapping user ids to display names when doing stats, it is supposed to take the most recent one.
The error at the bottom is because the dataframe has duplicate indices. I will have to investigate closer and see what the index is supposed to be there, but I don't seem to be able to reproduce this issue with freshly dumped chat logs on my end.
from telegram-stats-bot.
What data or any other help do you need from me to investigate the issue?
from telegram-stats-bot.
A database dump would probably be the most helpful, if you can make one that reproduces this issue. Knowing how your server is running would be good to know as well, particularly the install method (source using poetry, pip, docker).
from telegram-stats-bot.
A database dump would probably be the most helpful, if you can make one that reproduces this issue. Knowing how your server is running would be good to know as well, particularly the install method (source using poetry, pip, docker).
I am running bot in docker. Config is almost like default one in repo but has persistant volumes for DB and bot (for importing, experiments). Chat is private so full DB dump will not be possible.
from telegram-stats-bot.
Related Issues (19)
- Importing historical stats HOT 4
- Are you planning to update it to work in the newly implemented "topics" feature? HOT 3
- I GET THIS ERROR WHILE CREATING A TELEGRAM BOT. SOMEONE PLEASE HELP ME 😭 HOT 1
- Titles plot fails for some image dimensions
- import script causes db issues HOT 4
- json import: Pandas error HOT 1
- json import: ignore bot messages
- Not working when connecting to my cloud db
- /stats user doesnt work no more HOT 3
- shorten usernames in /stats view (or display the displayname instead)? HOT 1
- Question: how can i use this for multiple chats? HOT 4
- [IMPROVEMENT] Use short, not parameterized, commands to be able to setup BotFather bot commands shortcuts HOT 1
- 2 bugs HOT 5
- Can it get messages from past? HOT 3
- Make tests for db insertions/updates
- Somehow some words are changed in /stats words HOT 2
- Why is this program that enjoyable? HOT 1
- ImportError: cannot import name 'Animation' from 'telegram' HOT 6
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 telegram-stats-bot.