|
楼主 |
发表于 2011-5-25 08:48:34
|
显示全部楼层
Post by 月魄孤魂;2140365
需要具备什么知识呢?我刚学Python不久,Linux也用得不多了。
现在的问题就是 如 http://code.google.com/p/archlive/wiki/About_archldr
中描述的, src/wubi/backends/common/backend.py 出现错误,无法运行, 错误如下:
- 05-16 10:35 DEBUG CommonBackend: Parsing isolist=C:\windows\TEMP\pyl8CC4.tmp\data\isolist.ini
- 05-16 10:35 DEBUG CommonBackend: Adding distro Archlive-x86_64
- 05-16 10:35 ERROR root: __init__() takes at least 22 non-keyword arguments (7 given)
- Traceback (most recent call last):
- File "\lib\wubi\application.py", line 55, in run
- File "\lib\wubi\backends\common\backend.py", line 153, in fetch_basic_info
- File "\lib\wubi\backends\common\backend.py", line 169, in get_distros
- File "\lib\wubi\backends\common\backend.py", line 723, in parse_isolist
- TypeError: __init__() takes at least 22 non-keyword arguments (7 given)
复制代码
构思就是将GUI界面的选择结果直接放到grub.cfg的启动参数中, wubi默认主要是修改presed.cfg |
|