Issue 471 in foobnix: No module named gi

75 views
Skip to first unread message

foo...@googlecode.com

unread,
Oct 5, 2014, 2:15:38 PM10/5/14
to foo...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 471 by dzpined...@gmail.com: No module named gi
https://code.google.com/p/foobnix/issues/detail?id=471

What steps will reproduce the problem?
1. Downloaded latest build from git repo
2. Built from source via python script
3. running foobnix as regular user

What is the expected output? What do you see instead?

Application fails with the following error:

Traceback (most recent call last):
File "/usr/bin/foobnix", line 9, in <module>
from gi import pygtkcompat, require_version
ImportError: No module named gi

What version of the product are you using? On what operating system?

Version: Latest build from git (Oct 05, 2014)

OS: Slackware 14.1 x64

Please provide any additional information below.

I would very much like to try this application!

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

foo...@googlecode.com

unread,
Oct 5, 2014, 2:29:42 PM10/5/14
to foo...@googlegroups.com
Updates:
Status: ToSpecify

Comment #1 on issue 471 by zavl...@gmail.com: No module named gi
https://code.google.com/p/foobnix/issues/detail?id=471

Hello. I never try Slackware and tested only in *Ubuntu and Debian distrs.
But I can suppose, that you need SlackBuild pygobject3 package.

foo...@googlecode.com

unread,
Oct 5, 2014, 10:00:57 PM10/5/14
to foo...@googlegroups.com

Comment #2 on issue 471 by dzpined...@gmail.com: No module named gi
https://code.google.com/p/foobnix/issues/detail?id=471

Thank you for your prompt response!

In addition to pygobject3, I recieved a trace basically requesting the
following items:

- mutagen
- pysetuptools
- pychardet

I thought I was really making progress, when finally I was met with this
last trace:

bash-4.2$ foobnix
Traceback (most recent call last):
File "/usr/bin/foobnix", line 98, in <module>
foobnix()
File "/usr/bin/foobnix", line 50, in foobnix
from foobnix.gui.foobnix_core import FoobnixCore
File "/usr/lib64/python2.7/site-packages/foobnix/gui/foobnix_core.py",
line 5, in <module>
from foobnix.gui.base_controls import BaseFoobnixControls
File "/usr/lib64/python2.7/site-packages/foobnix/gui/base_controls.py",
line 28, in <module>
from foobnix.gui.service.vk_service import VKService

File "/usr/lib64/python2.7/site-packages/foobnix/gui/service/vk_service.py",
line 11, in <module>
gi.require_version("WebKit", "3.0")
File "/usr/lib64/python2.7/site-packages/gi/__init__.py", line 76, in
require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace WebKit not available


I thought this meant I needed webkitgtk. However, webkit has a whole slew
of dependencies. So I installed the following:

- libwebp
- orc
- gstreamer1
- gst1-plugins-base
- webkitgtk

After installing the above, I went ahead and installed the slackbuild for
pywebkitgtk. Unfortunately this does not resolve the error and I still
recieve same trace/error as before:

ValueError: Namespace WebKit not available

foo...@googlecode.com

unread,
Oct 6, 2014, 2:47:25 AM10/6/14
to foo...@googlegroups.com

Comment #3 on issue 471 by zavl...@gmail.com: No module named gi
https://code.google.com/p/foobnix/issues/detail?id=471

Ok. You need analog of ubuntu's package gir1.2-webkit-3.0
Reply all
Reply to author
Forward
0 new messages