infinite-library / weechat-ongoing Goto Github PK
View Code? Open in Web Editor NEWAutomatized ongoing XDCC downloading script for Weechat
License: MIT License
Automatized ongoing XDCC downloading script for Weechat
License: MIT License
Hi I did what you said but : look the results below:
“16:08” Option changed: xfer.file.auto_accept_files = on
│ │ (default: off)
│ │“16:08” python: loading script
│ │ "/home/aperfeito/.weechat/python/ongoing.py"
│ │“16:08” python: stdout/stderr (?): File
│ │ "/home/aperfeito/.weechat/python/ongoing.py", line 7
│ │“16:08” python: stdout/stderr (?):
│ │“16:08” python: stdout/stderr (?): ^
│ │“16:08” python: stdout/stderr (?): SyntaxError: invalid syntax
│ │“16:08” =!= python: unable to parse file
│ │ "/home/aperfeito/.weechat/python/ongoing.py"
General Information:
Python Version: 3.7.3
OS: Raspbian buster or Ubuntu 20.04, either on ARM or AMD64
WeeChat Version: 3.0.1 stable
Issue:
Running command: /ongoing list_bots gives back the following:
2021-03-02 13:25:27 -- List of the watched bots --------
2021-03-02 13:25:27 python: stdout/stderr: (ongoing): Traceback (most recent call last):
2021-03-02 13:25:27 python: stdout/stderr: (ongoing): File "/home/pi/.weechat/python/autoload/ongoing.py", line 210, in ongoing_hook
2021-03-02 13:25:27 python: stdout/stderr: (ongoing): retval = list_bots()
2021-03-02 13:25:27 python: stdout/stderr: (ongoing): File "/home/pi/.weechat/python/autoload/ongoing.py", line 128, in list_bots
2021-03-02 13:25:27 python: stdout/stderr: (ongoing): for bot_name, regex in bots.iteritems():
2021-03-02 13:25:27 python: stdout/stderr: (ongoing): AttributeError: 'dict' object has no attribute 'iteritems'
2021-03-02 13:25:27 =!= python: Fehler in Funktion "ongoing_hook"
Adding of bots and filters is working and the filter list is returned fine.
Adding bots still works, but downloads are only executed for bots that were added in the previous WeeChat version.
If I add a new bot in the current version, downloads are not run automatically. Also, if a bot has "|" in their name, downloads are not run automatically.
Everything worked flawlessly with WeeChat 2.6.
If you need further information please let me know!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.