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

terminal faled to start with: 'Terminal' object has no attribute 'set_word_chars' #66

Closed imammedo closed 9 years ago

imammedo commented 9 years ago

Host: Fedora 21 When I try to start terminl it fails wiht following message:

$ terra [DEBUG] Config section 'layout' has no option named 'enabled'. [DEBUG] No section 'layout-screen-0'. [DEBUG] Config section 'layout' has no option named 'hide-tab-bar-fullcreen'. [DEBUG] Config section 'layout-screen-0' has no option named 'fullscreen'. pwdx: invalid process id: 0 Exception Catched: 'Terminal' object has no attribute 'set_word_chars'

Sixdsn commented 9 years ago

Hi,

Thanks for the feedback, this is a problem with the libVte. Can you give us the version of your packages for:

Thank you,

imammedo commented 9 years ago

vte-0.28.2-14.fc21.x86_64 vte3-devel-0.36.3-3.fc21.x86_64 vte3-0.36.3-3.fc21.x86_64 vte291-0.38.2-3.fc21.x86_64 vte-profile-0.38.2-3.fc21.x86_64 vte-devel-0.28.2-14.fc21.x86_64

BTW: Could you tell me how to start terminal for working tree so that I could try to debug issue. for now it complains that it can't find terra_main, regadles of what I put in PYTHONPATH env. var.

Sixdsn commented 9 years ago

The issue is quite simple to hotfix for now, just comment Line 222 in terra/VteObject.py

It doesn't work, as it looks like the vte.set_word_chars symbol is not anymore present in your vte library.

about the terra_main package not found, did you followed thoses instructions: https://github.com/Sixdsn/terra-terminal/wiki/Installation

Specially the Build part?

If you did, can you give the exact error message?

thanks,

imammedo commented 9 years ago

After commenting 222, it gives: $ terra [DEBUG] Config section 'layout' has no option named 'enabled'. [DEBUG] No section 'layout-screen-0'. [DEBUG] Config section 'layout' has no option named 'hide-tab-bar-fullcreen'. [DEBUG] Config section 'layout-screen-0' has no option named 'fullscreen'. pwdx: invalid process id: 0 Exception Catched: argument foreground: Expected Gdk.RGBA, but got gi.overrides.Gdk.Color

About build part, yes I've followed it but my question was about how to start terminal without doing install part, so it would use code from git repository.

imammedo commented 9 years ago

BTW: when I do installpart, it gives a warning: $ python setup.py install ERROR: Python module terminal not found ERROR: Python module terra_main not found ERROR: Python module VteObject not found ERROR: Python module terra_main 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/config.py -> /usr/lib64/python2.7/site-packages/terra byte-compiling /usr/lib64/python2.7/site-packages/terra/config.py to config.pyc running install_data 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/main.cfg main/terra.py terra/globalhotkeys/Makefile.am terra/globalhotkeys/bind.c terra/globalhotkeys/globalhotkeys.c terra/globalhotkeys/keybinder.h terra/globalhotkeys/testbinding.c

Sixdsn commented 9 years ago

When you do ./setup install, it uses the git source code to build terra, so you just have to run this command again if you do modifications. thoses warnings and errors are not important, i already opened issues about it but it has nothing to do with terra. it looks like terra build went fine and you should be able to run it like this: $ terra

do you still have the exception when doing this? i don't get it so there's something wrong with fedora libs i guess but i can't reproduce it right now.