GithubHelp home page GithubHelp logo

mastodon-to-twitter-sync's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mastodon-to-twitter-sync's Issues

如何解决:[Error] 出现错误: <class 'UnboundLocalError'>

你好,
我的 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

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.