Comments (9)
在已经有番剧数据的情况下切换数据源只能通过 bgmi source
命令,不能手动修改配置文件。
from bgmi.
看样子是没能正常删除旧的番剧
先删了 .bgmi/bangumi.db
然后重新设置一下bgmi
from bgmi.
看样子是没能正常删除旧的番剧
那我能做些什么,让他正常删除?
from bgmi.
删除 .bgmi/bangumi.db 然后重新设置一下 bgmi 试试
from bgmi.
删除 .bgmi/bangumi.db 然后重新设置一下 bgmi 试试
删除后,重启运行bgmi cal -f
,出现以下错误:
2b58a109e4bf:/# bgmi cal -f
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/peewee.py", line 3236, in execute_sql
cursor.execute(sql, params or ())
sqlite3.OperationalError: no such table: bangumi
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/bgmi", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3.10/site-packages/bgmi/main.py", line 51, in main
cli.main(prog_name="bgmi")
File "/usr/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/bgmi/main.py", line 343, in calendar
weekly_list = ctl.cal(force_update=force_update, cover=cover)
File "/usr/lib/python3.10/site-packages/bgmi/lib/controllers.py", line 190, in cal
weekly_list = Bangumi.get_updating_bangumi()
File "/usr/lib/python3.10/site-packages/bgmi/lib/models.py", line 123, in get_updating_bangumi
for bangumi_item in data:
File "/usr/lib/python3.10/site-packages/peewee.py", line 7067, in __iter__
self.execute()
File "/usr/lib/python3.10/site-packages/peewee.py", line 1962, in inner
return method(self, database, *args, **kwargs)
File "/usr/lib/python3.10/site-packages/peewee.py", line 2033, in execute
return self._execute(database)
File "/usr/lib/python3.10/site-packages/peewee.py", line 2206, in _execute
cursor = database.execute(self)
File "/usr/lib/python3.10/site-packages/peewee.py", line 3244, in execute
return self.execute_sql(sql, params)
File "/usr/lib/python3.10/site-packages/peewee.py", line 3234, in execute_sql
with __exception_wrapper__:
File "/usr/lib/python3.10/site-packages/peewee.py", line 3010, in __exit__
reraise(new_type, new_type(exc_value, *exc_args), traceback)
File "/usr/lib/python3.10/site-packages/peewee.py", line 192, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3.10/site-packages/peewee.py", line 3236, in execute_sql
cursor.execute(sql, params or ())
peewee.OperationalError: no such table: bangumi
from bgmi.
运行一下bgmi install
(
from bgmi.
修改配置data_source
你是手动修改的配置文件,还是用了bgmi source
命令?
from bgmi.
运行一下
bgmi install
(
可以了,通过删除db文件,再执行bgmi install
后,能正常跟新番剧日历。
但是原来订阅的数据全没了,用起来还是不方便。所以如果设计之初番剧源只能选一个的话,那我还是手动下载把。
from bgmi.
修改配置data_source
你是手动修改的配置文件,还是用了
bgmi source
命令?
我改配置文件的,然后重启容器,再进入调用命令
from bgmi.
Related Issues (20)
- Dependency Dashboard
- [BUG]: bangumi.moe 源时间表数据错误 HOT 1
- [BUG]:无法向qbittorrent 添加下载请求 HOT 9
- [BUG]: Transmission 更改 `rpc-url` 设置后无法正常连接 HOT 10
- [BUG]:蜜柑源部份番剧需要登录才能访问详情页 HOT 16
- Action Required: Fix Renovate Configuration
- [BUG]:1.2.11docker版本,nginx配置有误 HOT 16
- [BUG]: v3版本 rpc_path = "/transmission/" 设置无法生效 HOT 2
- [Feature Request]: HOT 20
- [BUG]: bgmi 4.2.4 aria2 下载报错 HOT 3
- dmhy有国内地址了 HOT 1
- [BUG]:切换源后更新calendar无效 HOT 3
- 关于BGmi 4.3.4番剧下载,选择已完成下载的剧集为第1集,但是在更新第2集的时候,会将第1集也下载下来的问题 HOT 1
- [Feature Request]:关于蜜柑计划被墙的解决方案 HOT 1
- [Feature Request]:
- 有验证的代理用户名和密码怎么填 HOT 2
- [BUG]: bgmi web端日历星期排序混乱 HOT 4
- 已订阅但不会下载 HOT 2
- [BUG]:docker版本,打开“calendar”、“subscribe”报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bgmi.