Giter Club home page Giter Club logo

Comments (15)

Nukesor avatar Nukesor commented on June 18, 2024

How does the output of your /info command look like?
Something like this?

Current settings:

Name: testgroup
Active: True
Accepted Media: document photo
Verbose: False
Allow duplicates: True
Sort files by User: True

from archivebot.

Spumiglio avatar Spumiglio commented on June 18, 2024

cattura
Thanks you for reply. The name of the group is "Prova" and this is my output of /info.

from archivebot.

Nukesor avatar Nukesor commented on June 18, 2024

Well. Are there any error messages in the bot output?
I guess you adjusted the TARGET_DIR option in the config.py to your desired output location.

from archivebot.

Spumiglio avatar Spumiglio commented on June 18, 2024

capture
So, this is my config.py if you want you can try my bot by searching on telegram @ohmd_bot

from archivebot.

Nukesor avatar Nukesor commented on June 18, 2024

I just tested your bot and everything seems to work fine, except for saving/zipping files.
I assume the prova directory is empty as well?

My first guess would be that archivebot doesn't handle files/paths accordingly to a windows filesystem yet.
This should be a fairly quick fix, but I currently don't own a computer with a Windows OS right now.
Do you have some spare time to investigate this issue?

from archivebot.

Spumiglio avatar Spumiglio commented on June 18, 2024

Prova folder have only photos and document saved by the bot (not i group). If you want i can give you the access to my vps so you can work with windows and bot :)

from archivebot.

Nukesor avatar Nukesor commented on June 18, 2024

Ahh I have an Idea. Did you disable the privacy mode for your bot?
If you run ArchiveBot as a normal Bot (Not an Userbot) you need to disable the privacy mode via the BotFather.
Telegram Bots aren't allowed to read any messages from groups by default.
image

from archivebot.

Spumiglio avatar Spumiglio commented on June 18, 2024

Solved... damn bro what a genious ahaha. Now it work also in the group, beautiful. I suggest you to write this fix on your readme 🗡

from archivebot.

Nukesor avatar Nukesor commented on June 18, 2024

Already added it to the README :)

from archivebot.

Spumiglio avatar Spumiglio commented on June 18, 2024

Hi, i found a new problem. The bot works only with 2 member of my group, i tried also to run my bot as a user bot but nothing change.

from archivebot.

Nukesor avatar Nukesor commented on June 18, 2024

I also got errors for some members of some groups, but I didn't find out what went wrong.
In case you find the Bug, feel free to open a PR :)
I currently don't have time to properly maintain and debug the archivebot, but I'll happily accept PR's.

from archivebot.

HackedServer avatar HackedServer commented on June 18, 2024

The error you're seeing for certain members might be from this part of the code:
https://github.com/Nukesor/archivebot/blob/master/archivebot/archivebot.py#L284

Those should be and's not or's.

from archivebot.

Nukesor avatar Nukesor commented on June 18, 2024

Damn @HackedServer ... Your name gave me a heart attack for a split second, when I read my mails.

Thanks for the hint though. I'll look into it.

from archivebot.

Nukesor avatar Nukesor commented on June 18, 2024

@HackedServer @Spumiglio
I just found some time to look at this project again :)

The installation and venv handling is now streamlined and using poetry.

I also did some cleanup/refactoring and fixed some obvious bugs. I'm going to let the bot running for a few days to check whether I can find more bugs, but for now it's looking quite good.

Stickers are now btw. not longer downloaded unless explicitly specified ;)

from archivebot.

Spumiglio avatar Spumiglio commented on June 18, 2024

@HackedServer @Spumiglio
I just found some time to look at this project again :)

The installation and venv handling is now streamlined and using poetry.

I also did some cleanup/refactoring and fixed some obvious bugs. I'm going to let the bot running for a few days to check whether I can find more bugs, but for now it's looking quite good.

Stickers are now btw. not longer downloaded unless explicitly specified ;)

Beautiful, i tried something but without conclusion lol

from archivebot.

Related Issues (20)

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.