Linux Lite Forums

Software - Support => Other => Topic started by: Nyto on February 09, 2020, 02:43:43 PM

Title: Failed to run Pinta
Post by: Nyto on February 09, 2020, 02:43:43 PM
Good morning.
Today I needed to use Pinta so I installed it from the LiteSoftware screen and when I tried to run it, it took 2 or 3 seconds, then rapidly showed an EMPTY window frame and then nothing. Nothing shows as open on the panel, either.

Rebooted and tried it again to no avail.

Completely uninstalled Pinta and then reinstalled it from somewhere else, but with the same results. This was repeated twice from different places.  It never showed any dependency problem.  The only version I was able to try is 1.6-2

This on a fresh LL installation, up-to-date.

I had never had any problem with Pinta, ever.  Does anybody have a clue?

Thank you.

<------- PS: All of my computer's data is here on the left column.

Title: Re: Failed to run Pinta
Post by: Jerry on February 09, 2020, 02:52:22 PM
Run:

Code: [Select]
pinta
from the Terminal, paste any output here.
Title: Re: Failed to run Pinta
Post by: Moltke on February 09, 2020, 03:39:08 PM
As far as I know Pinta has been discontinued and it seems to be no longer available, last version is back from 2015! https://pinta-project.com/pintaproject/pinta/releases/1-6 I used to use pinta too cause it's really easy for some basic editing but ... these kind of things just happen.

https://communiroo.com/PintaProject/pinta/discussions/370/pinta-was-great-now-non-functional

https://communiroo.com/PintaProject/pinta/discussions/372/just-what-i-need-but-it-crashes-continually-fix-or-remove-this-app

Such a shame really ... A good alternative is GIMP which is installed in LL by default, I know, it's a big too much if all you want to do is crop a pic but ... I've been looking for an alternative and so far the only one I've found somewhat similar is kolourpaint which is a KDE app https://kde.org/applications/graphics/org.kde.kolourpaint. Check dependencies with
Code: [Select]
apt show kolourpaint and depending on the output decide whether or not to install it.

Hope this helps! :)
Title: Re: Failed to run Pinta
Post by: robinc on February 10, 2020, 01:40:09 AM
Checkout lazpaint for a neat bitmap editor! https://sourceforge.net/projects/lazpaint/
Title: Re: Failed to run Pinta
Post by: Moltke on February 10, 2020, 07:27:43 AM
Checkout lazpaint for a neat bitmap editor! https://sourceforge.net/projects/lazpaint/

Not exactly a Pinta replacement/alternative; requires some training/learning before being able to use it efficiently and as far as I could see it doesn't provide with the vary basic tools Pinta does, i.e crop tool. However, it is a good tool which can come handy. On a second thought, I wonder whether installing another software to do something is even necessary when there are already  a couple in LL which can do the same; GIMP and Imagemagick. We know GIMP offers the same and many more editing options than Pinta and so does Imagemagick.
Title: Re: Failed to run Pinta
Post by: arky217 on February 10, 2020, 09:32:48 AM
You might try Nomacs. It's especially handy to reduce the image size
for web output.
Title: Re: Failed to run Pinta
Post by: robinc on February 11, 2020, 01:38:22 AM
Checkout lazpaint for a neat bitmap editor! https://sourceforge.net/projects/lazpaint/

Not exactly a Pinta replacement/alternative; requires some training/learning before being able to use it efficiently and as far as I could see it doesn't provide with the vary basic tools Pinta does, i.e crop tool. However, it is a good tool which can come handy. On a second thought, I wonder whether installing another software to do something is even necessary when there are already  a couple in LL which can do the same; GIMP and Imagemagick. We know GIMP offers the same and many more editing options than Pinta and so does Imagemagick.

Cropping is done by selecting the area you want to keep - then invert selection - delete. It has the advantage of cropping to any shape you can select  :)
Title: Re: Failed to run Pinta
Post by: Moltke on February 11, 2020, 10:35:51 AM
Checkout lazpaint for a neat bitmap editor! https://sourceforge.net/projects/lazpaint/

Not exactly a Pinta replacement/alternative; requires some training/learning before being able to use it efficiently and as far as I could see it doesn't provide with the vary basic tools Pinta does, i.e crop tool. However, it is a good tool which can come handy. On a second thought, I wonder whether installing another software to do something is even necessary when there are already  a couple in LL which can do the same; GIMP and Imagemagick. We know GIMP offers the same and many more editing options than Pinta and so does Imagemagick.

Cropping is done by selecting the area you want to keep - then invert selection - delete. It has the advantage of cropping to any shape you can select  :)

That's exactly why I said that some training/learning is necessary since unlike Pinta, some tools/features are not self evident. Cropping involves 3 steps; select, invert and delete while with other tools one can simply use the crop tool select and crop, that's it. I'm not saying lazpaint is bad, quite the opposite, but it's not exactly user-friendly. 
Title: Re: Failed to run Pinta
Post by: Nyto on February 11, 2020, 07:15:06 PM
Run:

Code: [Select]
pinta
from the Terminal, paste any output here.

Here's the output:

Me ~  pinta
Reading profile /etc/firejail/pinta.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-exec.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-xdg.inc
Parent pid 4191, child pid 4192
Child process initialized in 186.03 ms
The program 'Pinta' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
  (Details: serial 543 error_code 10 request_code 130 minor_code 1)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Parent is shutting down, bye...
Me ~ 




PS: I know there are some good KDE softwares (Krita, Kolourpaint, etc. But I just don't want to download any KDE stuff, I may be crazy but nope thanks, if I wanted KDE I would install KDE instead of XFCE.
PS2: IF and only IF Jerry Bezencon would share a KDE distro as a finely curated as L.L. THEN I WOULD TRY IT, but I just don't like the ones currently available.
Title: Re: Failed to run Pinta
Post by: Jerry on February 11, 2020, 09:14:23 PM
Are you using firejail? And if so, do you need it?
Title: Re: Failed to run Pinta
Post by: Moltke on February 12, 2020, 06:53:43 AM
Quote
I know there are some good KDE softwares (Krita, Kolourpaint, etc. But I just don't want to download any KDE stuff, I may be crazy but nope thanks, if I wanted KDE I would install KDE instead of XFCE.

I totally understand cause I do the same but, like I said before, the only one alternative I did find somewhat similar to Pinta; easy to use and lightweigh, is kolourpaint, that is, offline. Another good option is to try/use some online tools like this one https://www.favicon-generator.org/image-editor/  it's quite easy to use but powerful too and offers the same basic tools Pinta does. Also, interface resembles a bit of Pinta's. 
Title: Re: Failed to run Pinta
Post by: Nyto on February 12, 2020, 06:39:14 PM
Thank you, Moltke, I think favicon-generator will serve my needs if I can't solve the Pinta issue. Thanks, bro.




Jerry:  I never do a browsing session without my firejail running.
Why, do you think this is messing up the running of Pinta? Let me just uninstall it and try to run Pinta. Then I'll come back to spill the beans.
Title: Re: Failed to run Pinta
Post by: Nyto on February 12, 2020, 06:47:37 PM
Captain here reporting:
I've uninstalled Firejail, launched Pinta again and is now working FLAWLESS!  (yipeee!!)


Thank you guys for the heads up!  Keep on grooving!
Title: Re: Failed to run Pinta
Post by: Jerry on February 12, 2020, 06:47:53 PM
Thank you, Moltke, I think favicon-generator will serve my needs if I can't solve the Pinta issue. Thanks, bro.




Jerry:  I never do a browsing session without my firejail running.
Why, do you think this is messing up the running of Pinta? Let me just uninstall it and try to run Pinta. Then I'll come back to spill the beans.

It (firejail) did play a role in Pinta trying to start.
Title: Re: Failed to run Pinta
Post by: Jerry on February 12, 2020, 06:48:09 PM
Please mark as Solved.