Package Details: terra-bzr r56-2

Package Base: terra-bzr
Description: Python/GTK3 drop-down tiling terminal emulator
Upstream URL: https://launchpad.net/terra
Category: x11
Licenses: GPL3
Conflicts: terra
Provides: terra
Submitter: willemw
Maintainer: willemw
Last Packager: willemw
Votes: 14
First Submitted: 2013-02-11 16:39
Last Updated: 2014-06-26 06:37

Required by (0)

Sources

Latest Comments

Comment by willemw

2014-10-17 09:13

Feel free to submit a bug report upstream. Note that the last Terra code commit was on 2013-07-25.

Comment by zbito

2014-10-17 09:02

After latest gnome libraries update terra/terra-bzr (also after rebuild) stopped to work. Below You can find error messages:
self.builder.add_from_file(ConfigManager.data_dir + 'ui/main.ui')
Traceback (most recent call last):
File "/usr/bin/terra", line 27, in <module>
terminal.main()
File "/usr/lib/python2.7/site-packages/terra/terminal.py", line 582, in main
app = TerminalWin()
File "/usr/lib/python2.7/site-packages/terra/terminal.py", line 54, in __init__
self.init_ui()
File "/usr/lib/python2.7/site-packages/terra/terminal.py", line 120, in init_ui
self.add_page(page_name=tab_name)
File "/usr/lib/python2.7/site-packages/terra/terminal.py", line 191, in add_page
self.notebook.append_page(VteObjectContainer(), None)
File "/usr/lib/python2.7/site-packages/terra/VteObject.py", line 51, in __init__
self.active_terminal = VteObject()
File "/usr/lib/python2.7/site-packages/terra/VteObject.py", line 81, in __init__
self.pid = self.vte.fork_command_full(
AttributeError: 'Terminal' object has no attribute 'fork_command_full'

Comment by Ghul

2014-09-11 16:41

Show/hide hotkey not working here ( other hotkeys work perfectly).. Is there a work around for that ?

Comment by willemw

2014-06-26 06:45

@muhas. Thanks. Updated makedepends (removed python2-setuptools and added python2-distutils-extra, called python-distutils-extra on some other distros). The crash you mention is a known upstream bug (https://bugs.launchpad.net/terra/+bug/1229762).

Comment by muhas

2014-06-26 04:38

Traceback (most recent call last):
File "/usr/bin/terra", line 27, in <module>
terminal.main()
File "/usr/lib/python2.7/site-packages/terra/terminal.py", line 582, in main
app = TerminalWin()
File "/usr/lib/python2.7/site-packages/terra/terminal.py", line 54, in __init__
self.init_ui()
File "/usr/lib/python2.7/site-packages/terra/terminal.py", line 120, in init_ui
self.add_page(page_name=tab_name)
File "/usr/lib/python2.7/site-packages/terra/terminal.py", line 191, in add_page
self.notebook.append_page(VteObjectContainer(), None)
File "/usr/lib/python2.7/site-packages/terra/VteObject.py", line 51, in __init__
self.active_terminal = VteObject()
File "/usr/lib/python2.7/site-packages/terra/VteObject.py", line 101, in __init__
self.update_ui()
File "/usr/lib/python2.7/site-packages/terra/VteObject.py", line 164, in update_ui
self.vte.set_background_saturation(ConfigManager.get_conf('transparency') / 100.0)
AttributeError: 'Terminal' object has no attribute 'set_background_saturation'

Comment by muhas

2014-06-26 04:37

please, add python2-distutils-extra to depends

Comment by willemw

2013-11-09 15:36

@Fidelix
What doesn't work exactly? You should be able to build and install it. However it won't run at the moment. See reported issue mentioned in the comments of package 'terra'.

'python-distutils-extra' is a python 3 package and terra is written in python 2. So it's not clear to me why you should get this error. Are you using the correct PKGBUILD file?

About "ERROR: Python module globalhotkeys not found". You can ignore this build error (or you can report the error upstream if you want. It has already been reported once upstream). See one of the previous comments: "I think it is just a validation method that is called too early in the build process."

Comment by Fidelix

2013-11-09 13:19

Unfortunately it doesn't work. There are multiple compile errors. First it says that it needs https://launchpad.net/python-distutils-extra, and after manually installing it, "Python module globalhotkeys not found"

Comment by willemw

2013-05-06 09:32

Maybe you found an Arch Linux or upstream bug or maybe your system has a (python search path) conflict. I really suggest you do the Building_in_a_Clean_Chroot in a new chroot environment, as mention below.

Comment by mrbit

2013-05-06 09:19

me work , deleted /usr/lib/python2.7/site-packages/gobject/constants.py --> python2-gobject2 2.28.6-8

Comment by mrbit

2013-05-06 09:17

..BUG..??

Comment by mrbit

2013-05-06 09:14

testdb
no

Comment by willemw

2013-05-06 09:09

@mrbit:
I cannot add in the PKGBUILD: conflict = python2-gobject2.
Many programs depend on python2-gobject2 (gtk2).
I have both python2-gobject2 (gtk2) and python2-gobject (gtk3) and don't have a conflict.

Maybe there is a conflict on your system?

Run "testdb". Any messages?

You could try building the PKGBUILD file in a NEW/FRESH chroot environment:
https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot
Sections "Setting Up A Chroot" and "Building in the Chroot"
Delete any chroot environment you already have, before trying this.

Also, about:
> ** (setup.py:29303): 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 globalhotkeys not found

I think it is just a validation method that is called (too early in the build process).

Comment by mrbit

2013-05-06 08:54

ok,now work , uninstalled python2-gobject2
add in the PKGBUILD conflict = python2-gobject2

Comment by mrbit

2013-05-06 08:29

pacman -Qo /usr/lib/python2.7/site-packages/gobject/constants.py
python2-gobject2 2.28.6-8

in the python2-gobject 3.8.1-1 --> /usr/lib/python2.7/site-packages/gi/_gobject/constants.py

its conflict ????

Comment by willemw

2013-03-05 11:03

python-gobject 3.4.2 and python2-gobject are both gtk3, so that is not the (direct source of the) possible problem. The conflict is with gtk2 (package pygtk).

Comment by mrbit

2013-03-05 10:54

possible problem :
have installed python-gobject 3.4.2 and python2-gobject 3.4.2 ?????

Comment by mrbit

2013-03-05 10:47

Hi, sorry for bad english,

sorry for the package is out-of-date?; fault of the mouse pointer ..

Comment by willemw

2013-03-05 10:42

I have a similar python, kde, gtk environment variables setup as mrbit, however, I cannot reproduce the core dump. It seems to be a PyGTK (gtk2) / PyGObject (gtk3) conflict in Distutils (setup.py).

Comment by mrbit

2013-03-05 09:19

declare -x GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/mrbit/.gtkrc-2.0:/home/mrbit/.kde4/share/config/gtkrc-2.0"
declare -x GTK_MODULES="canberra-gtk-module"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/home/mrbit/.gtkrc:/home/mrbit/.kde4/share/config/gtkrc"

Comment by mrbit

2013-03-05 09:18

use archlinux 64bit with kde 4.10..python 2.7.3-4 and python 3.3.0-3

Comment by mrbit

2013-03-05 07:24

ERROR: Python module globalhotkeys not found

** (setup.py:18851): 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.
/usr/lib/python2.7/site-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
import gobject._gobject
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40: Warning: specified class size for type `PyGtkGenericCellRenderer' is smaller than the parent type's `GtkCellRenderer' class size
from gtk import _gtk
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_get_qdata: assertion `node != NULL' failed
from gtk import _gtk
/tmp/yaourt-tmp-mrbit/aur-terra-bzr/./PKGBUILD: line 35: 18851 Errore di segmentazione (core dumped) python2 setup.py install --root="$pkgdir/" --optimize=1
==> ERRORE
idea..

Comment by mrbit

2013-03-04 19:49

ERROR: Python module globalhotkeys not found