Sixdsn / terra-terminal

Terra is a GTK+3.0 based terminal emulator with useful user interface, it also supports multiple terminals with splitting screen horizontally or vertically. New features have been added since September 2013. It's a pretty new and experimental project, if you want to contribute just checkout and try.
GNU General Public License v3.0
7 stars 3 forks source link

Module not found error while trying to install on Gentoo 64bit. What other packages I should have installed? #29

Closed himalay closed 10 years ago

himalay commented 10 years ago

I have dbus-python, pygobject and vte installed. But when I tried to install Terra from source I got following errors and warnings.

ERROR: Python module terminal not found ERROR: Python module VteObject not found ERROR: Python module VteObject not found

WARNING: the following files are not recognized by DistUtilsExtra.auto: TRANSLATORS examples/layout.cfg examples/layout_base.cfg examples/main.cfg main/terra terra/globalhotkeys/Makefile.am terra/globalhotkeys/bind.c terra/globalhotkeys/globalhotkeys.c terra/globalhotkeys/keybinder.h terra/globalhotkeys/testbinding.c

Sixdsn commented 10 years ago

Hi,

i have the same errors when i build it, but it doesn't avoid terra from running (i will try to fix thoses disturbing errors). Can you confirm that terra is working after running this command:

./setup.py build && sudo ./setup.py install

if not then can you launch terra in a terminal and paste the errors that are printed?

Can you also print the ouput of "git branch" and of "git log -1"? This way i can see on which version it happens.

Thank you,

Sixdsn commented 10 years ago

It looks like it comes from distutils-extra: https://bugs.launchpad.net/python-distutils-extra/+bug/893335

so i won't be able to fix it. anyway if it avoids you to run terra i need the output i asked.

himalay commented 10 years ago

I had distutils-extra installed too. Now terra running but it covers the whole screen and when I type exit on terra it does not exit. Here are all the outputs you asked for. Thanks.

%./setup.py build && sudo ./setup.py install \ (setup.py:16242): WARNING : Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. ERROR: Python module terminal not found ERROR: Python module VteObject not found ERROR: Python module VteObject not found running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/terra copying terra/VteObject.py -> build/lib.linux-x86_64-2.7/terra copying terra/config.py -> build/lib.linux-x86_64-2.7/terra copying terra/i18n.py -> build/lib.linux-x86_64-2.7/terra copying terra/dbusservice.py -> build/lib.linux-x86_64-2.7/terra copying terra/rename_dialog.py -> build/lib.linux-x86_64-2.7/terra copying terra/preferences.py -> build/lib.linux-x86_64-2.7/terra copying terra/init.py -> build/lib.linux-x86_64-2.7/terra copying terra/terminal_dialog.py -> build/lib.linux-x86_64-2.7/terra copying terra/layout.py -> build/lib.linux-x86_64-2.7/terra copying terra/terminal.py -> build/lib.linux-x86_64-2.7/terra running build_ext building 'terra.globalhotkeys' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/terra creating build/temp.linux-x86_64-2.7/terra/globalhotkeys x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c terra/globalhotkeys/globalhotkeys.c -o build/temp.linux-x86_64-2.7/terra/globalhotkeys/globalhotkeys.o -pthread x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c terra/globalhotkeys/bind.c -o build/temp.linux-x86_64-2.7/terra/globalhotkeys/bind.o -pthread x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. build/temp.linux-x86_64-2.7/terra/globalhotkeys/globalhotkeys.o build/temp.linux-x86_64-2.7/terra/globalhotkeys/bind.o -L/usr/lib64 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpython2.7 -o build/lib.linux-x86_64-2.7/terra/globalhotkeys.so running build_i18n intltool-update -p -g terra intltool-merge -d po terra.desktop.in build/share/applications/terra.desktop Merging translations into build/share/applications/terra.desktop. running build_icons running build_help WARNING: the following files are not recognized by DistUtilsExtra.auto: TRANSLATORS examples/layout.cfg examples/layout_base.cfg examples/main.cfg main/terra terra/globalhotkeys/Makefile.am terra/globalhotkeys/bind.c terra/globalhotkeys/globalhotkeys.c terra/globalhotkeys/keybinder.h terra/globalhotkeys/testbinding.c Password: ERROR: Python module terminal not found ERROR: Python module VteObject not found ERROR: Python module VteObject not found running install running build running build_py copying terra/config.py -> build/lib.linux-x86_64-2.7/terra running build_ext running build_i18n intltool-update -p -g terra intltool-merge -d po terra.desktop.in build/share/applications/terra.desktop Merging translations into build/share/applications/terra.desktop. running build_icons running build_help running install_lib copying build/lib.linux-x86_64-2.7/terra/VteObject.py -> /usr/lib64/python2.7/site-packages/terra copying build/lib.linux-x86_64-2.7/terra/config.py -> /usr/lib64/python2.7/site-packages/terra copying build/lib.linux-x86_64-2.7/terra/i18n.py -> /usr/lib64/python2.7/site-packages/terra copying build/lib.linux-x86_64-2.7/terra/dbusservice.py -> /usr/lib64/python2.7/site-packages/terra copying build/lib.linux-x86_64-2.7/terra/rename_dialog.py -> /usr/lib64/python2.7/site-packages/terra copying build/lib.linux-x86_64-2.7/terra/preferences.py -> /usr/lib64/python2.7/site-packages/terra copying build/lib.linux-x86_64-2.7/terra/init.py -> /usr/lib64/python2.7/site-packages/terra copying build/lib.linux-x86_64-2.7/terra/terminal_dialog.py -> /usr/lib64/python2.7/site-packages/terra copying build/lib.linux-x86_64-2.7/terra/layout.py -> /usr/lib64/python2.7/site-packages/terra copying build/lib.linux-x86_64-2.7/terra/globalhotkeys.so -> /usr/lib64/python2.7/site-packages/terra copying build/lib.linux-x86_64-2.7/terra/terminal.py -> /usr/lib64/python2.7/site-packages/terra byte-compiling /usr/lib64/python2.7/site-packages/terra/VteObject.py to VteObject.pyc byte-compiling /usr/lib64/python2.7/site-packages/terra/config.py to config.pyc byte-compiling /usr/lib64/python2.7/site-packages/terra/i18n.py to i18n.pyc byte-compiling /usr/lib64/python2.7/site-packages/terra/dbusservice.py to dbusservice.pyc byte-compiling /usr/lib64/python2.7/site-packages/terra/rename_dialog.py to rename_dialog.pyc byte-compiling /usr/lib64/python2.7/site-packages/terra/preferences.py to preferences.pyc byte-compiling /usr/lib64/python2.7/site-packages/terra/init.py to init**.pyc byte-compiling /usr/lib64/python2.7/site-packages/terra/terminal_dialog.py to terminal_dialog.pyc byte-compiling /usr/lib64/python2.7/site-packages/terra/layout.py to layout.pyc byte-compiling /usr/lib64/python2.7/site-packages/terra/terminal.py to terminal.pyc running install_data copying data/ui/preferences.ui -> /usr/share/terra/ui copying data/image/terra.svg -> /usr/share/terra/image copying data/ui/main.ui -> /usr/share/terra/ui copying data/ui/terminal.ui -> /usr/share/terra/ui copying README.md -> /usr/share/doc/terra copying build/share/applications/terra.desktop -> /usr/share/applications running install_egg_info Removing /usr/lib64/python2.7/site-packages/terra-0.2.0-py2.7.egg-info Writing /usr/lib64/python2.7/site-packages/terra-0.2.0-py2.7.egg-info WARNING: the following files are not recognized by DistUtilsExtra.auto: TRANSLATORS examples/layout.cfg examples/layout_base.cfg examples/main.cfg main/terra terra/globalhotkeys/Makefile.am terra/globalhotkeys/bind.c terra/globalhotkeys/globalhotkeys.c terra/globalhotkeys/keybinder.h terra/globalhotkeys/testbinding.c

%terra \ (terra:16320): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. terra_screenshot - 210114 - 19 15 11

%git branch

%git log -1 commit 993f979c4d3b355a8df09bcde9cc53b2c90217e2 Author: Sixdsn six.dsn@gmail.com Date: Fri Jan 3 21:14:49 2014 +0100

Feature #21 Fix by keyboard shortcut

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-5/5 (END)

Sixdsn commented 10 years ago

Okay

So you're using the master branch which hasn't been updated since about 2 weeks (i'm finalizing tests on the develop branch before merge) if you type exit it won't quit, but you can do a right-click and then click "quit" on the menu

About the whole screen being covered, you can edit the ~/.config/terra/layout.cfg file to change everything you want. To start you just need the [DEFAULT] section. if will launch Terra in 1280x1024 non fullscreen. Set the width and height with the values you need. Then you will be able to resize it correctly when terra is launched.

To save the layout you will have to do a right-click and then click "save"

I will create a wiki and a faq to clarify everything :)

Thank you,

himalay commented 10 years ago

Awesome! Thanks a lot.

Sixdsn commented 10 years ago

Thank you for your report Feel free to open issues anytime if you have any trouble or bug You can also checkout the develop branch to get the new features and test them or wait for the merge on master