Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: Rudock1 on January 31, 2019, 11:49:33 PM

Title: Bluefish editor menu icons are missing
Post by: Rudock1 on January 31, 2019, 11:49:33 PM
Any fans of the very fine Bluefish editor? 

Somehow during an extensions update session I went through in December, along the way I broke my favorite Bluefish editor.  The typical menu bar icons for New File, Open File, Save current file, etc have all dropped off leaving just a row of gray placeholder icons.  Any ideas or suggestions you can offer to get these reestablished?

thanks and best regards,
Billy
Title: Re: Bluefish editor menu icons are missing
Post by: Rich on February 01, 2019, 12:13:57 AM
Hi Rudock1
That's not a lot of information to go on. The last update for bluefish.tcz was in 2014 so it was probably one of its
dependencies that got updated. Try running this command:
Code: [Select]
ls -ltr --full-time /etc/sysconfig/tcedir/optional/*.tczThe most recent extensions will be at the bottom of the list which should help to narrow down the culprit.
Title: Re: Bluefish editor menu icons are missing
Post by: Juanito on February 01, 2019, 03:36:19 AM
did you try loading the adwaita-icon-theme extension?
Title: Re: Bluefish editor menu icons are missing
Post by: Rudock1 on February 01, 2019, 08:40:03 AM
Thanks, Tiny Core heroes, you guys are the best!

Hi Juanito, yes, bringing in the missing adwaita-icon-theme was the fix. 

Hi Rich, thanks for the hints and your ls -ltr --full-time example is now an alias (as lt) on my system, very handy to have!

thx
Billy
Title: Re: Bluefish editor menu icons are missing
Post by: TomyTurbos on February 14, 2019, 11:19:02 PM
Bluefish looked interesting, so I installed it (TC10).  It crashes before I can do anything.
Title: Re: Bluefish editor menu icons are missing
Post by: Rich on February 14, 2019, 11:27:31 PM
Hi TomyTurbos
Open a terminal and see what errors you get when you enter:
Code: [Select]
bluefish
Title: Re: Bluefish editor menu icons are missing
Post by: TomyTurbos on February 14, 2019, 11:52:22 PM
Rich,

I'm on a different machine so let me just say 'LOTS' of errors.  At least 3 dozen relating to GTK.

The one that might be important here is an Xlib error '"XInputExtension" missing. ...'  This showed up 5 times at the end of the dialog.

The Warnings all said '... deprecated and shouldn't be used anymore, ...'.

I hope this helps.
Title: Re: Bluefish editor menu icons are missing
Post by: Rich on February 15, 2019, 12:04:54 AM
Hi TomyTurbos
Quote
The one that might be important here is an Xlib error '"XInputExtension" missing. ...'  This showed up 5 times at the end of the dialog.
That might be referring to  libinput.tcz,  but that's just a guess.

If you run:
Code: [Select]
bluefish > bluefish.txtyou could copy the  bluefish.txt  file and post the actual error list.
Title: Re: Bluefish editor menu icons are missing
Post by: Juanito on February 15, 2019, 12:11:36 AM
Are you using Xvesa, Xfbdev or Xorg-7.7?
Title: Re: Bluefish editor menu icons are missing
Post by: TomyTurbos on February 15, 2019, 12:19:44 PM
@ Rich:  File attached

@Juanito: Xvesa
Title: Re: Bluefish editor menu icons are missing
Post by: Juanito on February 15, 2019, 12:30:43 PM
Do things work with Xorg-7.7?
Title: Re: Bluefish editor menu icons are missing
Post by: Rich on February 15, 2019, 12:35:33 PM
Hi TomyTurbos
Quote
error reading list 1 Error opening file /home/tc/.bluefish/rcfile-2.0: No such file or directory
config file migration error 1:Error opening file /home/tc/.bluefish/rcfile_v2: No such file or directoryerror reading list 1 Error opening file /home/tc/.bluefish/rcfile-2.0: No such file or directory
According to the interweb, this should fix it:
Code: [Select]
rm -r ~/.bluefish
Title: Re: Bluefish editor menu icons are missing
Post by: TomyTurbos on February 15, 2019, 02:24:08 PM
@ rich:  No joy.

@juanito:  Xorg-7.7 doesn't seem to like this machine (mini1010)
Title: Re: Bluefish editor menu icons are missing
Post by: Rich on February 15, 2019, 03:24:39 PM
Hi TomyTurbos
So after removing that subdirectory you're still getting exactly that same error?
Title: Re: Bluefish editor menu icons are missing
Post by: TomyTurbos on February 15, 2019, 04:22:55 PM
@ rich: Correct.

Also worth noting is that if this is run on-demand it re-creates that dir.
Title: Re: Bluefish editor menu icons are missing
Post by: TomyTurbos on February 15, 2019, 07:50:56 PM
@ rich

I'm getting other output when running the command from CLI than what went to the .txt file.  Particularly, output that comes AFTER the program crashes.  Is there some way to capture this easily?  (otherwise it means a LOT of re-typing).
Title: Re: Bluefish editor menu icons are missing
Post by: Rich on February 15, 2019, 08:09:16 PM
Hi TomyTurbos
See if this catches the rest:
Code: [Select]
bluefish 2>&1 > bluefish.txt
Title: Re: Bluefish editor menu icons are missing
Post by: TomyTurbos on February 15, 2019, 08:17:32 PM
Hi TomyTurbos
See if this catches the rest:
Code: [Select]
bluefish 2>&1 > bluefish.txt

That gave more data, but not what is on the console.
Title: Re: Bluefish editor menu icons are missing
Post by: Rich on February 15, 2019, 08:22:58 PM
Hi TomyTurbos
Place the mouse cursor over the text in the terminal. While holding down the left mouse button drag the cursor downward. This
will highlight the text. When you release the left button, the text will be copied. Open the editor and center click in the text area.
That should paste the text into the editor.
Title: Re: Bluefish editor menu icons are missing
Post by: TomyTurbos on February 15, 2019, 09:22:54 PM
Hi TomyTurbos
Place the mouse cursor over the text in the terminal. While holding down the left mouse button drag the cursor downward. This
will highlight the text. When you release the left button, the text will be copied. Open the editor and center click in the text area.
That should paste the text into the editor.

No middle button on this hardware.
Tried a corded mouse; still not working.

This is too complicated, so I'll just type it out long-hand.

Please stand by...
Title: Re: Bluefish editor menu icons are missing
Post by: Rich on February 15, 2019, 09:24:19 PM
Hi TomyTurbos
Here's an easier way of capturing terminal activity:
Code: [Select]
script -ae bluefish.txt
bluefish 2>&1
After it crashes, enter:
Code: [Select]
exitin the terminal. The  bluefish.txt  file will have a log of the terminal activity.
Title: Re: Bluefish editor menu icons are missing
Post by: TomyTurbos on February 16, 2019, 12:19:43 AM
Hi TomyTurbos
Here's an easier way of capturing terminal activity:
Code: [Select]
script -ae bluefish.txt
bluefish 2>&1
After it crashes, enter:
Code: [Select]
exitin the terminal. The  bluefish.txt  file will have a log of the terminal activity.

See the attached file.

Some annotation added.
Title: Re: Bluefish editor menu icons are missing
Post by: Rich on February 16, 2019, 12:30:07 AM
Hi TomyTurbos
Try installing  libffi5.tcz.
Title: Re: Bluefish editor menu icons are missing
Post by: Juanito on February 16, 2019, 12:44:47 AM
I just tried bluefish in tc-10.x with Xvesa - it gives the following errors, but it runs and works without crashing:
Code: [Select]
$ bluefish
error reading list 1 Error opening file /home/tc/.bluefish/rcfile-2.0: No such file or directory

** (bluefish:6203): WARNING **: no configfile rcfile-2.0, try to convert config files from older versions

config file migration error 1:Error opening file /home/tc/.bluefish/rcfile_v2: No such file or directoryerror reading list 1 Error opening file /home/tc/.bluefish/rcfile-2.0: No such file or directory

** (bluefish:6203): WARNING **: failed to load plugin /usr/local/lib/bluefish/charmap.so with error libffi.so.5: cannot open shared object file: No such file or directory

Xlib:  extension "XInputExtension" missing on display ":0.0".

Maybe you could use the apps gui "check for updates" and see if you have any old extensions from previous tc versions?
Title: Re: Bluefish editor menu icons are missing
Post by: TomyTurbos on February 16, 2019, 02:41:49 PM
@ rich: libffi5 caused it to crash immediately.  BTW, Thank you very, very, very much for the 'script' hint!

@juanito:  All up-to-date.
Title: Re: Bluefish editor menu icons are missing
Post by: coreplayer2 on February 16, 2019, 04:51:17 PM
I downloaded and ran bluefish on various TC versions, additionally uunsquashed the extension from tc-4, no rc file exists.   On investigation I found that you have to change some preferences "Edit > preferences" and "Apply" those settings, at which time bluefish creates a config file
this should remove those related error messages

Tested on TC-10 x86 with Xvesa, adwaita-icon-theme.tcz and aspell.tcz

Also be careful not to run this as root, otherwise config files may get created in /root which might be undesirable

Update:  editing preferences does indeed crest a config file and resolves the errors.  Also no issue with missing icons

I'd rather use gedit, or editor but bluefish works great
Title: Re: Bluefish editor menu icons are missing
Post by: TomyTurbos on February 16, 2019, 05:22:16 PM
I downloaded and ran bluefish on various TC versions, additionally uunsquashed the extension from tc-4, no rc file exists.   On investigation I found that you have to change some preferences "Edit > preferences" and "Apply" those settings, at which time bluefish creates a config file
this should remove those related error messages

Tested on TC-10 x86 with Xvesa, adwaita-icon-theme.tcz and aspell.tcz

Also be careful not to run this as root, otherwise config files may get created in /root which might be undesirable

Update:  editing preferences does indeed crest a config file and resolves the errors.  Also no issue with missing icons

I'd rather use gedit, or editor but bluefish works great

For me anyway, I can't edit preferences.

And as I said above, I only d/l'd bluefish because it looked interesting based on it's description.

'Editor' is mostly fine for my general purposes.  I like that it highlights certain things based on their context.  But on this machine the font is too small and I don't know how to change it. 

I didn't have that problem with leafpad because I was able to figure out how to change it to a readable size, but leafpad didn't do the highlighting.

I use Notepad++ on my Windows machines and love it.  There is supposedly a notepadqq which is modeled after npp, but nobody has rolled that up for TC.   It's beyond my current skill set to even try, otherwise I already would have.

On your recommendation I'll have a look at gedit. Thanks.
Title: Re: Bluefish editor menu icons are missing
Post by: coreplayer2 on February 16, 2019, 05:30:39 PM
For me anyway, I can't edit preferences.
Why not??  preferences is the last menu item under "edit"   which opens  an applet to make the changes, then simply apply to save and create a new rc file if none existed

:)
Title: Re: Bluefish editor menu icons are missing
Post by: TomyTurbos on February 16, 2019, 05:55:22 PM
For me anyway, I can't edit preferences.
Why not??  preferences is the last menu item under "edit"   which opens  an applet to make the changes, then simply apply to save and create a new rc file if none existed

:)

Because the program crashes whenever I try to edit that, or anything else.
Title: Re: Bluefish editor menu icons are missing
Post by: coreplayer2 on February 16, 2019, 06:34:13 PM
Hmmmm

Sounds like Something’s a miss with your installation

Did you try updating database, updating reps, fetch missing deps  and update extensions?

You ran it as tc not as root right?

And which X are you using?




Sent from my iPhone using Tapatalk