rimoovo / mastodon-to-twitter-sync Goto Github PK
View Code? Open in Web Editor NEW从Mastodon实时同步嘟文到Twitter的小工具
从Mastodon实时同步嘟文到Twitter的小工具
你好,
我的 api 应该都设置好了,发了一条嘟文,然后卡在这里无限循环了,怎么办?
[opc@wiki Mastodon-to-Twitter-Sync]$ python mtSync.py
[2024-01-21 11:46:37] [Init] 同步检查间隔: 60 秒
[2024-01-21 11:46:37] [Init] 同步到日志文件: 是
[2024-01-21 11:46:37] [Init] 最大重试次数/等待时间(秒): 13 / 1800.0
[2024-01-21 11:46:38] [Init] 验证 Mastodon API 授权成功,用户名: hx
[2024-01-21 11:46:39] [Init] 验证 Twitter API 授权成功,用户名: happy xiao 🧑💻 aa.ee
[2024-01-21 11:46:39] [Check] 子线程:开始监控新嘟文...
[2024-01-21 11:47:39] [Check] 发现新嘟文:111793774042393464 已加入待同步列表
[2024-01-21 11:47:40] [Error] 出现错误: <class 'UnboundLocalError'>
1
[2024-01-21 11:47:40] [Error] 尝试重试...
[2024-01-21 11:47:41] [Error] 出现错误: <class 'UnboundLocalError'>
2
[2024-01-21 11:47:41] [Error] 尝试次数:#2,等待 3 秒后下一次重试...
[2024-01-21 11:47:44] [Error] 出现错误: <class 'UnboundLocalError'>
3
[2024-01-21 11:47:44] [Error] 尝试次数:#3,等待 6 秒后下一次重试...
[2024-01-21 11:47:51] [Error] 出现错误: <class 'UnboundLocalError'>
4
[2024-01-21 11:47:51] [Error] 尝试次数:#4,等待 12 秒后下一次重试...
^CException ignored in: <module 'threading' from '/usr/lib64/python3.6/threading.py'>
Traceback (most recent call last):
File "/usr/lib64/python3.6/threading.py", line 1315, in _shutdown
t.join()
File "/usr/lib64/python3.6/threading.py", line 1077, in join
self._wait_for_tstate_lock()
File "/usr/lib64/python3.6/threading.py", line 1093, in _wait_for_tstate_lock
elif lock.acquire(block, timeout):
KeyboardInterrupt
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.