Fail to test zim in a chroot
I try to package zim 0.43 in a chroot using mock which is a Fedora tool.
When running ./test.py in the packaging process, it failed immediately and showed:
+ ./test.py
['tests.errors', 'tests.parsing', 'tests.fs', 'tests.config', 'tests.
Traceback (most recent call last):
File "./test.py", line 315, in <module>
main()
File "./test.py", line 169, in main
test = loader.
File "/usr/lib/
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'applications'
The list after '+ ./test.py' is just the value of 'modules' in line 168 in test.py.
But when I test it in my own environment, it will start to run successfully, no matter whether in packing process or I run ./test.py directly.
So I guess this may not be a bug in the program.
But what's the cause? Do I miss some build requirements which you didn't list in README.txt?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Zim Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Robin Lee
- Solved:
- Last query:
- Last reply: