ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #05642
[Bug 1539862] Re: Dump in click build . in Ubuntu Xenial alpha2
Not a problem in the QtCreator plugins
** No longer affects: qtcreator-plugin-ubuntu (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1539862
Title:
Dump in click build . in Ubuntu Xenial alpha2
Status in Client Developer Experience:
New
Status in click-reviewers-tools package in Ubuntu:
New
Status in ubuntu-ui-toolkit package in Ubuntu:
Confirmed
Bug description:
Hi! When I try to run click build ., I'm getting this dump:
Traceback (most recent call last):
File "/usr/bin/click-review", line 138, in <module>
main()
File "/usr/bin/click-review", line 132, in main
results.run_all_checks()
File "/usr/bin/click-review", line 105, in run_all_checks
self._run_module_checks(module)
File "/usr/bin/click-review", line 90, in _run_module_checks
review = modules.init_main_class(module, self.click_fn)
File "/usr/lib/python3/dist-packages/clickreviews/modules.py", line 70, in init_main_class
init_object = find_main_class(module_name)
File "/usr/lib/python3/dist-packages/clickreviews/modules.py", line 48, in find_main_class
module_name))
File "/usr/lib/python3.4/imp.py", line 171, in load_source
module = methods.load()
File "<frozen importlib._bootstrap>", line 1220, in load
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/clickreviews/cr_lint.py", line 18, in <module>
from apt import apt_pkg
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ImportError: No module named 'apt_pkg'
I think is because of python3 doesn't find the library. I fixed with this link:
sudo ln -s /usr/lib/python3/dist-packages/apt_pkg.cpython-35m-i386-linux-gnu.so /usr/lib/python3/dist-packages/apt_pkg.so
Thanks in advance!
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-developer-experience/+bug/1539862/+subscriptions
References