problem with xtimecomposer on ubuntu 16.04

If you have a simple question and just want an answer.
galmonte
New User
Posts: 3
Joined: Thu Apr 28, 2016 4:44 pm

problem with xtimecomposer on ubuntu 16.04

Postby galmonte » Thu Apr 28, 2016 8:04 pm

I downloaded XMOS from https://www.xmos.com/support/tools
I selected linux 64 bit
after I unpacked the file and I put file XMOS inside "home"
I installed java 6 after I unistall and install 7 same with 8 .
I post the website with procedure and terminal istructions:
https://www.digitalocean.com/community/ ... th-apt-get

- after this: sudo apt-get install oracle-java7-installer the program xtimecomposer works
I write ...
1) cd ~/XMOS/xTIMEcomposer/Community_14.1.2/
2) source SetEnv
3) xtimecomposer

the program start but he characters are the SQUARES and not the letters
I tried to install gnome, to change type, format, I do not know where is the problem, I think that the problem is a noncompatibility between xtimecomposer and Ubuntu 16.04

I hope that you can help me!!!
You do not have the required permissions to view the files attached to this post.
Last edited by galmonte on Thu Apr 28, 2016 8:04 pm, edited 1 time in total.
lintweaker
Member
Posts: 9
Joined: Sun Mar 06, 2016 10:59 am

Postby lintweaker » Fri Apr 29, 2016 9:29 am

I had the same issue when I tried xtimecomposer on Fedora 23. I am now using Ubuntu 14.04 in a VM as a workaround.
galmonte
New User
Posts: 3
Joined: Thu Apr 28, 2016 4:44 pm

Postby galmonte » Fri Apr 29, 2016 9:29 am

lintweaker wrote:I had the same issue when I tried xtimecomposer on Fedora 23. I am now using Ubuntu 14.04 in a VM as a workaround.

Yes of course, but I need to install xtimecomposer on ubuntu 16.04 because is in dualboot with windows and I do not have enough memory to install VM with ubuntu 14.04, I do not why but I cannot install ubuntu 14.04 via USB on My PC (windows10) perhaps windows does not allow the installation of ubuntu14.04 or mint 17....!!!!! Do you know other solutions, Like modify the files system Inside XMOS or the installation of particolar package ......
User avatar
ers35
Active Member
Posts: 60
Joined: Mon Jun 10, 2013 2:14 pm

Postby ers35 » Sat Apr 30, 2016 3:14 am

I found a workaround. Edit Community_14.1.2/bin/xtimecomposer and comment out line 146 by prefixing it with #:

Code: Select all

#$ENV{LD_LIBRARY_PATH} = "$installpath/xtimecomposer_bin/swtbrowserlibs:$ENV{LD_LIBRARY_PATH}";

I filed a bug ticket.
User avatar
andrewxcav
Active Member
Posts: 61
Joined: Wed Feb 17, 2016 5:10 pm

Postby andrewxcav » Sat Apr 30, 2016 3:14 am

ers35 wrote:I found a workaround. Edit Community_14.1.2/bin/xtimecomposer and comment out line 146 by prefixing it with #:

Code: Select all

#$ENV{LD_LIBRARY_PATH} = "$installpath/xtimecomposer_bin/swtbrowserlibs:$ENV{LD_LIBRARY_PATH}";

I filed a bug ticket.


THANK YOU!

This solved my boxes-instead-of-fonts issue on Fedora 23.
simmartin
Junior Member
Posts: 5
Joined: Sat Nov 02, 2013 3:57 pm

Postby simmartin » Sat Apr 30, 2016 3:14 am

ers35 wrote:I found a workaround. Edit Community_14.1.2/bin/xtimecomposer and comment out line 146 by prefixing it with #:

Code: Select all

#$ENV{LD_LIBRARY_PATH} = "$installpath/xtimecomposer_bin/swtbrowserlibs:$ENV{LD_LIBRARY_PATH}";

I filed a bug ticket.


You are great!
User avatar
andrewxcav
Active Member
Posts: 61
Joined: Wed Feb 17, 2016 5:10 pm

Postby andrewxcav » Thu Jun 09, 2016 4:28 pm

Update:

In Community 14.2 it looks like some steps were taken to fix this issue. I however still had to comment out the offending line (now on line 120 for Fedora).
tfwfc
Junior Member
Posts: 5
Joined: Thu Mar 17, 2016 12:31 pm

Postby tfwfc » Thu Nov 10, 2016 4:14 pm

and for; Community 14.2.3
Ubuntu 16.04 LTS
Community_14.2.3/bin/xtimecomposer
- commenting out line 144 fixes the issue
User avatar
ahogen
Member++
Posts: 31
Joined: Fri Mar 31, 2017 5:16 pm

Postby ahogen » Mon Jul 31, 2017 6:23 pm

... and for...

  • Linux Mint 18.1 (both Cinnamon and Mate desktops had this issue)
  • xTIMEcomposer Community 14.3.0

... comment out line 153

Code: Select all

148 } elsif (isLsbRelease("LinuxMint")) {
149     # Uses the supplied webkit browser.
150     $vmargs .= "-vmargs";
151     $vmargs .= " -Dcom.xmos.cdt.disableMozillaBrowserCreation=True";
152     $vmargs .= " -Dorg.eclipse.swt.browser.UseWebKitGTK=True";
153 #    $ENV{LD_LIBRARY_PATH} = "$installpath/xtimecomposer_bin/swtbrowserlibs:$ENV{LD_LIBRARY_PATH}";
154
155 } else {


Thanks for the fix, ers35!
User avatar
tom18
Newbie
Posts: 1
Joined: Tue Apr 17, 2018 12:35 pm

Postby tom18 » Fri Jan 04, 2019 2:27 am

My setup for using xTIMEcomposer Community 14.3.3 under 64-bit Ubuntu 16.04 and 18.04:

1. install Java runtime from https://java.com/en/download/linux_manual.jsp. I have uninstalled the OpenJDK comes with the system before that.

2.Create /etc/udev/rules.d/99-xmos-xtag.rules with following content to allow Ubuntu to detect xTAG2 or xTAG3 hardware. Remember to change "tom18" to your ID.

Code: Select all

SUBSYSTEM=="usb",ATTR{idVendor}=="20b1",ATTR{idProduct}=="f7d1",ACTION=="add",OWNER="tom18",MODE="0664"
SUBSYSTEM=="usb",ATTR{idVendor}=="20b1",ATTR{idProduct}=="f7d4",ACTION=="add",OWNER="tom18",MODE="0664"


Plug your xTAG debugger to you PC and run "ls -lR /dev/bus/usb". You should see a device owned by you :

Code: Select all

crw-rw-r-- 1 root   root 189, 5 Jan  4 08:03 006
crw-rw-r-- 1 root   root 189, 6 Jan  4 08:03 007
crw-rw-r-- 1 root   root 189, 7 Jan  4 08:03 008
crw-rw-r-- 1 tom18  root 189, 9 Jan  4 09:22 010


3. As described earlier in the thread, comment out line 144 inside xTIMEcomposer/Community_14.3.3/bin/xtimecomposer to fix the square character issue:

Code: Select all

#            $ENV{LD_LIBRARY_PATH} = "$installpath/xtimecomposer_bin/swtbrowserlibs:$ENV{LD_LIBRARY_PATH}";

Who is online

Users browsing this forum: No registered users and 1 guest