# Compiling the GTK client

**URL:** https://discuss.tryton.org/t/compiling-the-gtk-client/2655
**Category:** User
**Created:** [April 29, 2020, 4:19am UTC](https://discuss.tryton.org/t/compiling-the-gtk-client/2655 "2020-04-29T04:19:09Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![herrdeh](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/herrdeh/32/821_2.png) [@herrdeh](https://discuss.tryton.org/u/herrdeh)
#### Post date: [April 29, 2020, 4:19am UTC](https://discuss.tryton.org/t/compiling-the-gtk-client/2655/1 "2020-04-29T04:19:09Z")

</div>

Tried to compile the GTK client, downloaded sources from [here.](https://downloads.tryton.org/5.4/tryton-last.tar.gz)

Unpacked the archive, run

> sudo python setup.py install

as given in doc/installation.rst

Compiling fails, output is here:  
[https://www.dropbox.com/s/pcljevokzdvs61m/install\_log.txt?dl=0](https://www.dropbox.com/s/pcljevokzdvs61m/install_log.txt?dl=0)

System is ubuntu 18.04.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [April 29, 2020, 6:33am UTC](https://discuss.tryton.org/t/compiling-the-gtk-client/2655/2 "2020-04-29T06:33:57Z")

</div>

> [@herrdeh](#):
>
> Compiling fails, output is here:  
> [https://www.dropbox.com/s/pcljevokzdvs61m/install\_log.txt?dl=0](https://www.dropbox.com/s/pcljevokzdvs61m/install_log.txt?dl=0)

I do not see any error message on this log. Only the build messages.

But, I see you are running a 5.4 series client with python2 but it should be done with python3.

So I will recommend to build with:

`sudo python3 setup.py install`

---

<div class="post-metadata">

### Author: ![herrdeh](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/herrdeh/32/821_2.png) [@herrdeh](https://discuss.tryton.org/u/herrdeh)
#### Post date: [April 29, 2020, 7:05am UTC](https://discuss.tryton.org/t/compiling-the-gtk-client/2655/3 "2020-04-29T07:05:16Z")

</div>

Allright, thank you very much. python3 gave certain success, it compiled and I can launch it from /usr/local/bin.

I can log into my local instance as well as the demo server. That’s good! - But the right side of the screen remains gray - no matter where I click:

 ![Bildschirmfoto von 2020-04-29 09-04-32](https://discuss-cdn.tryton.org/uploads/default/original/1X/0029b2ff453b874d321631a7cc3642edc717e5fa.png)

Again, this is the same at local and demo server.

These are the first few lines from the terminal, the rest looks very similar:

> $ tryton -v  
> INFO:tryton.rpc:common.server.version(None, None)  
> INFO:tryton.common.common:Überprüfung der URL: [https://downloads-cdn.tryton.org/5.4/tryton-5.4.7.tar.gz](https://downloads-cdn.tryton.org/5.4/tryton-5.4.7.tar.gz)  
> INFO:tryton.rpc:common.db.login(admin, xxxxxxxxxx, de)  
> INFO:tryton.rpc:common.db.login(admin, xxxxxxxxxx, de)  
> INFO:tryton.rpc:model.res.user.get\_preferences(True, {})  
> INFO:tryton.rpc:model.res.user.get\_preferences(False, {‘client’: ‘6928ce57-cc27-4837-b703-2f90cbb3259c’, ‘warehouse’: None, ‘employee’: None, ‘company’: 1, ‘company.rec\_name’: ‘KomponentenKontor Berlin GmbH’, ‘language’: ‘de’, ‘language\_direction’: ‘ltr’, ‘groups’: [5, 6, 1, 4, 8, 2, 3, 12, 13, 7, 15, 14, 16, 17, 10, 9, 11], ‘locale’: {‘date’: ‘%d.%m.%Y’, ‘grouping’: [3, 3, 0], ‘decimal\_point’: ‘,’, ‘thousands\_sep’: ‘.’}})  
> INFO:tryton.rpc:model.ir.ui.icon.list\_icons({‘client’: ‘6928ce57-cc27-4837-b703-2f90cbb3259c’, ‘warehouse’: None, ‘employee’: None, ‘company’: 1, ‘company.rec\_name’: ‘KomponentenKontor Berlin GmbH’, ‘language’: ‘de’, ‘language\_direction’: ‘ltr’, ‘groups’: [5, 6, 1, 4, 8, 2, 3, 12, 13, 7, 15, 14, 16, 17, 10, 9, 11], ‘locale’: {‘date’: ‘%d.%m.%Y’, ‘grouping’: [3, 3, 0], ‘decimal\_point’: ‘,’, ‘thousands\_sep’: ‘.’}},)  
> INFO:tryton.rpc:model.ir.model.list\_models({‘client’: ‘6928ce57-cc27-4837-b703-2f90cbb3259c’, ‘warehouse’: None, ‘employee’: None, ‘company’: 1, ‘company.rec\_name’: ‘KomponentenKontor Berlin GmbH’, ‘language’: ‘de’, ‘language\_direction’: ‘ltr’, ‘groups’: [5, 6, 1, 4, 8, 2, 3, 12, 13, 7, 15, 14, 16, 17, 10, 9, 11], ‘locale’: {‘date’: ‘%d.%m.%Y’, ‘grouping’: [3, 3, 0], ‘decimal\_point’: ‘,’, ‘thousands\_sep’: ‘.’}},)

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [April 29, 2020, 9:06am UTC](https://discuss.tryton.org/t/compiling-the-gtk-client/2655/4 "2020-04-29T09:06:49Z")

</div>

When you on GNU/Linux there is basically no need to compile the client. When you have downloaded the file, you can unpack it somewhere. In that directory, you get a `bin/` directory with an executable. So you can run the client with `<the_place>/<of_the>/<directory>/bin/tryton` or go directly into the directory and execute.

But when you ‘double click’ on an item in the sidebar on the left, it doesn’t do anything?

---

<div class="post-metadata">

### Author: ![herrdeh](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/herrdeh/32/821_2.png) [@herrdeh](https://discuss.tryton.org/u/herrdeh)
#### Post date: [April 29, 2020, 11:24am UTC](https://discuss.tryton.org/t/compiling-the-gtk-client/2655/5 "2020-04-29T11:24:38Z")

</div>

> [@edbo](#):
>
> But when you ‘double click’ on an item in the sidebar on the left, it doesn’t do anything?

Wow, that does the trick. But a little confusing, click and double-click are not handled very consistently…

Thank you very much!!

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [April 29, 2020, 11:36am UTC](https://discuss.tryton.org/t/compiling-the-gtk-client/2655/6 "2020-04-29T11:36:31Z")

</div>

> [@herrdeh](#):
>
> But a little confusing, click and double-click are not handled very consistently

What do you find inconsintent?

One click to select, double click to Open.

I’ve seen this behaviour since I’ve used the mouse for first time.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [April 29, 2020, 11:39am UTC](https://discuss.tryton.org/t/compiling-the-gtk-client/2655/7 "2020-04-29T11:39:34Z")

</div>

Please everyone, try to stay on topic. If you want to discuss about another topic, please create a new topic.

---

<div class="post-metadata">

### Author: ![edbo](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/e/f14d63/32.png) [@edbo](https://discuss.tryton.org/u/edbo)
#### Post date: [April 29, 2020, 11:40am UTC](https://discuss.tryton.org/t/compiling-the-gtk-client/2655/8 "2020-04-29T11:40:07Z")

</div>

I think @herrdeh means the difference between Sao and the GTK-client.

---

<div class="post-metadata">

### Author: ![herrdeh](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/herrdeh/32/821_2.png) [@herrdeh](https://discuss.tryton.org/u/herrdeh)
#### Post date: [April 29, 2020, 11:47am UTC](https://discuss.tryton.org/t/compiling-the-gtk-client/2655/9 "2020-04-29T11:47:55Z")

</div>

I was incorrect. I didnt expect the necessity to double-click in a web client, so that confused me in the beginning - and still does a little.

But I should have expected in an app. So it’s sort of consistent, but in an unexpected way. My fault.
