Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Linux - I cannot see the names of the files properly #2343

Open
ghost opened this issue Jun 28, 2017 · 102 comments
Open

Linux - I cannot see the names of the files properly #2343

ghost opened this issue Jun 28, 2017 · 102 comments

Comments

@ghost
Copy link

ghost commented Jun 28, 2017

Version 0.8.1 when I open a file I see this
captura de pantalla_2017-06-28_17-38-28

@sbauer322
Copy link
Contributor

sbauer322 commented Jun 28, 2017

That certainly is an odd one. Can you provide details about your operating system, and OS language settings (if applicable)? Also, does this happen anywhere else in Light Table, or it is just in the open dialog?

@ghost
Copy link
Author

ghost commented Jun 28, 2017

Arch Linux: https://aur.archlinux.org/packages/lighttable-bin/
In which commit did you fix it? Perhaps in lighttable-git is fixed.

@ghost
Copy link
Author

ghost commented Jun 29, 2017

In lighttable-git we have the same issue. Confirmed as I installed

@MarcusE1W
Copy link

MarcusE1W commented Jun 30, 2017

I am using Archlinux as well and experience the same issue. However, I am pretty sure it has worked before and as the Lighttable binary package has not changed for a while I suspect it might have to do with Archlinux ?

@pitalig
Copy link

pitalig commented Jun 30, 2017

Same issue here in Manjaro Linux.

@celliern
Copy link

celliern commented Jul 6, 2017

Same error. Trying to evaluate inline python code leads to unicode error.

I highly suspect that lighttable is built with py2 and has a conflict with ArchLinux default python env (which is py3).

I will try to force py2 use with the instruction on the Arch Wiki

@noxecane
Copy link

noxecane commented Jul 18, 2017

Anyone with a fix for this, was trying this for the first time and this is what I faced(also using arch linux). Perharp @cldwalker could help with some advise

@celliern
Copy link

celliern commented Jul 18, 2017 via email

@noxecane
Copy link

I have given up already, gone back to emacs... Hope it gets fixed regardless

@ghost
Copy link

ghost commented Jul 20, 2017

Same issue here - has rendered LightTable unusable for me. I have tried both pre-built and own-built binaries, to no avail. Running Fedora 26 - Gnome.

@rundis
Copy link
Contributor

rundis commented Jul 22, 2017

Ouch. Well LT has changed for a quite a while, so it must be something platform/os related. I'll have a go at a few distros to see if I can reproduce.

@rundis
Copy link
Contributor

rundis commented Jul 22, 2017

Just installed fedora 24. Worked as expected. Same with ubuntu (14 though).

@rundis
Copy link
Contributor

rundis commented Jul 22, 2017

@celliern how is this the same issue. Evaluating python code is surely not the same as the file dialog not working (as in not showing file names properly) ? That sounds like a problem with the LT python plugin... which btw has several reported issues related to problems with python support (and which is lacking a maintainer btw !).

@mwooller
Copy link

I have a workaround which is to start lighttable from a cli and supply a directory path as an argument, that means I don't need to go near the file dialog. Thank you for looking into this.

@celliern
Copy link

celliern commented Jul 22, 2017 via email

@sbauer322
Copy link
Contributor

I would concur that this is likely an issue with some combination of py2/py3/the python plugin/ArchLinux.

@sbauer322 sbauer322 changed the title I cannot see the names of the files properly ArchLinux - I cannot see the names of the files properly Jul 25, 2017
@sbauer322 sbauer322 changed the title ArchLinux - I cannot see the names of the files properly Linux - I cannot see the names of the files properly Jul 29, 2017
@sbauer322
Copy link
Contributor

Happens on ParrotOS as well #2349

@sbauer322
Copy link
Contributor

Potentially a problem with our (rather old) electron version given that the character encoding issue is limited to the file chooser, which comes from electron.

@ghost
Copy link

ghost commented Jul 31, 2017

Happens the same on Fedora 26.
Tell me if I can do further research that can help fixing this issue.
Thanks for the fix in advance.

@ghost
Copy link

ghost commented Aug 1, 2017

Interestingly the self same problem can be seen with another Electron based project, GitKraken. It is certainly electron related and I am wondering if I should raise the issue with them...

@sbauer322
Copy link
Contributor

sbauer322 commented Aug 1, 2017

I've only used GitKraken on Windows 8.1, Windows 10, and Ubuntu so I cannot confirm if they have a problem but Electron would indeed be the common thread between the two.

@nurizzahudin
Copy link

same issue here (on antergos)
and i agree with @sbauer322, i also suspect electron that caused this problem.
i experienced the same bug with pingendo, which as far as i know is another electron based apps

@pacuna
Copy link

pacuna commented Aug 7, 2017

same issue with Fedora 26 and Gnome

@sirolf2009
Copy link

Just bumped into the same issue on debian
screenshot from 2017-08-11 13-24-36
It's strange though, because I don't think I had this issue a few days ago. I think it came after installing some themes, but after playing around a bit in tweak tool I didn't manage to revert it.

$ uname -a
Linux northpool2 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux testing (buster)
Release:	testing
Codename:	buster
$ python3 --version
Python 3.4.2
$ python --version
Python 2.7.13

@prertik
Copy link
Member

prertik commented Jan 21, 2019

Hmmm. Okay, regarding this and further problems, I am now starting and maintaining a fork of LightTable and doing a future re-write. You can find it here: LightTable-forked.

@simon-brooke
Copy link

simon-brooke commented Jan 22, 2019 via email

@ghost

This comment has been minimized.

@ArchI3Chris

This comment has been minimized.

@ghost

This comment has been minimized.

@ArchI3Chris

This comment has been minimized.

@JohnRobson
Copy link

Hey people, no pressure, let's calm down. We have few human resources and coding/refactoring are Eternal Tasks. Take your time. Don't worry, be happy ;)

@LightTable LightTable deleted a comment from prertik Feb 10, 2019
@omendezmorales
Copy link

Hey there, I experience the same issue with Lubuntu 18.04. Anayone knows whether there's already a mantainer appointed? Cheers!

@prertik
Copy link
Member

prertik commented Mar 11, 2019

@omendezmorales #2389 👀

@omendezmorales
Copy link

Hey @prertik ,
I know you must be real busy doing maintenance, but do you do live coding sessions while maintaining? I was thinking it might have two fold benefits:

  1. ppl new to the language -like me- can get acquainted faster with it
  2. there might be some good suggestions from ppl watching, in order to come up with a better fix -maybe-

If you do decide to do this live coding session(s), please let me know. Thanks a bunch!

@prertik
Copy link
Member

prertik commented Mar 21, 2019

Good idea, @omendezmorales! But, sadly I cannot do live coding sessions now. I have some other tasks I have to do and during some free time I get, I try to fix LT. There are a lot of tasks I need to oversee currently in LT core. But, after updating LT and cutting a new release, I'm definitely open to do live coding sessions. Maybe I'll start one while updating plugins(in the near future). I'll ping you when I plan to do so. Thanks.

@omendezmorales
Copy link

Thanks for posting the workaround, @kaushikdeb. I'm using Lubuntu Ubuntu 18.04.2, and can confirm the fix works too ;-)

@tiagofrancafernandes
Copy link

Version 0.8.1 when I open a file I see this
captura de pantalla_2017-06-28_17-38-28

https://github.com/ArchI3Chris/LightTable-Square-Fix

@simon-brooke
Copy link

simon-brooke commented Jun 11, 2019

I can confirm @ArchI3Chris' fix works in Ubuntu 18.04.

@ArchI3Chris, where did you get this version of libpango from? Is it an 'official' version, or is it a tweaked version?

I can't find a public source repository for pango. The project's home page does not appear to list it and neither does the Gnome developers page.

Correction: I'm wrong. The public repository is git://git.gnome.org/pango.

A way I can see of proceeding is to edit the LightTable script/build-app.sh file to do the following

  1. Check whether the version of libpangoft is a suitable version;
  2. if not, clone the latest stable from the Gnome public repository;
  3. build it;
  4. perform the tasks build-app.sh does now;
  5. copy and symlink libpangoft into the target directory.

Does anyone have any tweaks to, or objections to, this plan, or should I just go ahead?

@simon-brooke
Copy link

Update: attempting to clone git://git.gnome.org/pango fails for me with 'connection reset by peer'; attempting to clone git@gitlab.gnome.org:GNOME/pango.git fails for me with 'git@gitlab.gnome.org: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).'

So it looks as though only Gnome maintainers can clone. Allegedly you can check libpangoft out from CVS (!) and build it using a tool called jhbuild, but that seems a long way down the rabbit hole.

It might be worth starting at the other end, and asking: why does the version of Electron we're using depend on a not-widely-adopted version of libpangoft, and could we downgrade to a less bleeding-edge version of Electron without losing functionality.

@ArchI3Chris
Copy link

ArchI3Chris commented Jun 11, 2019

@simon-brooke I think I did use something official, like the repo of another distro or some collective repo for a number of distros. I'm not sure, since it was a long time ago. But I can tell you, that even back then it was not easy to find and has cost me quite some time.

Although, if you don't trust my files, these days it seems, if you would just enter it on Google:
https://www.google.at/search?q=libpangoft2-1.0.so.0.4000.5+download&oq=libpangoft2-1.0.so.0.4000.5+download

There is a fair chance, you would find something like this in the first link:
https://debian.pkgs.org/9/debian-main-amd64/libpangoft2-1.0-0_1.40.5-1_amd64.deb.html

Where you have a download link:
http://ftp.br.debian.org/debian/pool/main/p/pango1.0/libpangoft2-1.0-0_1.40.5-1_i386.deb

Under download and binary package. For example.

The files would then be in the data.tar.xz file in the deb archive. So, you can just extract them out of the deb archive.

@simon-brooke
Copy link

simon-brooke commented Jun 11, 2019 via email

@ArchI3Chris
Copy link

ArchI3Chris commented Jun 11, 2019

Relax. I didn't take it that way. I just showed you how you find it in official repos, since it has gotten a lot easier than it was back then.

@rkraneis
Copy link

For CentOS 7, official binaries are found here: https://buildlogs.centos.org/c7.1708.00/pango/20170805142921/1.40.4-1.el7.x86_64/

@Daniel-Osei
Copy link

Same with me as well, cant see text when opening gimp and when uploading files to browser :: ParrotSec

@ghost
Copy link

ghost commented May 7, 2020

"Light Table - the next generation code editor". This is what I can see when I open 0.8.1 version (Ubuntu 18.04.4 LTS):
lighttable

@ArchI3Chris
Copy link

ArchI3Chris commented May 7, 2020

@kopaczew And the not-reading continues. Do yourself a favor and google LightTable and you will find out, that the project has been dropped in 2016. This thing has been outdated for 4 years! On Arch Linux it doesn't even work anymore at all. Secondly, I've presented a solution back in January 2018, more than 2 years ago. You can find the solution in this very conversation. You don't even have to go to another page. Can you please READ before you complain? It's OVER! DONE! FINISHED! GOODBYE! DEAD FISH BELLY UP!

@OrdoFlammae
Copy link

I think that @prertik is trying to revive LightTable, but it's going to take some work, since it's a pretty large project, and very outdated (which is why this bug appears).

@prertik
Copy link
Member

prertik commented May 7, 2020

Yes, I've been working on and off on rewriting LT. Please have patience for few months... I can't say when it'll be ready for testing and all but, when it is in that stage when I can show it to everyone, I would do it immediately.

@LightTable LightTable locked and limited conversation to collaborators May 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests