Open alex20230721 opened 2 months ago
什么是起不来
?如果能够打开 webui,就是正常启动成功。
什么是
起不来
?如果能够打开 webui,就是正常启动成功。
原谅我没有描述清楚,webui打开了,报错日志和日志一样,来自ds那个文件。 每次添加主播输入名字和链接。 就会出现这样日志 右上角提示错误信息也是这个日志中的insert into 错误
左边的各个页签都没有信息
那么没问题
是指 通过biliup -v
启动时,添加主播不会出现上述错误吗?
那么
没问题
是指 通过biliup -v
启动时,添加主播不会出现上述错误吗?
是这个意思,
-v
参数应该只是把 logging
日志级别设置为全局 DEBUG,猜测是内部的守护进程实现在较新的 MacOS 版本上有问题。等其他使用 MacOS 的开发者来复现和修复它。
你也可以尝试一下不加 start
,改为使用 nohup
来后台运行 biliup
。
Code of Conduct
运行环境
mac os 14.6.1 arm64&&Python 3.9.6
biliup 版本
v0.4.77和latest都会这样
所录制的主播网址
添加网址就出现错误了
错误描述
biliup start 启动成功,网页新加主播信息会产生如下日志, 搜索站内相关问题,biliup -v 成功启动,
任务平台
什么也没有配置,pip install完直接启动
报错日志以及其他描述(如果有)
### File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 941, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: disk I/O error The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/biliup/web/__init__.py", line 254, in add_lives db.commit() File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 2028, in commit trans.commit(_to_root=True) File "", line 2, in commit
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go
ret_value = fn(self, *arg, **kw)
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1313, in commit
self._prepare_impl()
File "", line 2, in _prepare_impl
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go
ret_value = fn(self, *arg, **kw)
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1288, in _prepare_impl
self.session.flush()
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 4352, in flush
self._flush(objects)
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 4488, in _flush
transaction.rollback(_capture_exception=True)
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
raise exc_value.with_traceback(exc_tb)
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 4448, in _flush
flush_context.execute()
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/orm/unitofwork.py", line 466, in execute
rec.execute(self)
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/orm/unitofwork.py", line 642, in execute
util.preloaded.orm_persistence.save_obj(
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/orm/persistence.py", line 93, in save_obj
_emit_insert_statements(
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/orm/persistence.py", line 1233, in _emit_insert_statements
result = connection.execute(
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute
return meth(
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection
return connection._execute_clauseelement(
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement
ret = self._execute_context(
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
return self._exec_single_context(
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
self._handle_dbapi_exception(
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2355, in _handle_dbapi_exception
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
self.dialect.do_execute(
File "/Users/acddddddd/study/bilbibibibib/venv/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 941, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) disk I/O error
[SQL: INSERT INTO livestreamers (url, remark, filename_prefix, upload_streamers_id, format, postprocessor) VALUES (?, ?, ?, ?, ?, ?)]
[parameters: ('https://www.huya.com/880351', 'sss', None, None, None, '["rm"]')]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
```bash # 报错日志和日志一样,来自ds那个文件。 每次添加主播输入名字和链接。 就会出现这样日志 ```想知道为什么会这样,docker启动没问题,云服务器启动没问题,用自己电脑python虚拟环境biliup start就起不来,biliup -v就可以启动,