You are not logged in.

#1 2012-06-09 13:51:24

sobota
Member
Registered: 2012-04-05
Posts: 31

[SOLVED]I can't open .jpg file and Python2 dont work

In eog and ristretto, .jpg picture don't working. But web browser open it. I use Xfce 4.10. I have next problem with python2. When I type: python2 I see: 

 File "/usr/lib/python3.2/site.py", line 159
    file = sys.stderr)
         ^
SyntaxError: invalid syntax

Last edited by sobota (2012-06-14 15:49:05)

Offline

#2 2012-06-09 14:06:38

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: [SOLVED]I can't open .jpg file and Python2 dont work

What happens if you try opening it in a terminal, i.e. ristretto filename.jpg?

Offline

#3 2012-06-09 14:10:32

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOLVED]I can't open .jpg file and Python2 dont work

1. Run eog and ristretto in your terminal and see what output you get when you try to load a .jpeg image.
2. Seems like you want to use Python2 & Python3 simultaneously:

File "/usr/lib/python3.2/site.py", line 159

P.S.: Don't merge unrelated issues in one thread as it may be confusing for people who may want to help you.

Last edited by bohoomil (2012-06-09 14:10:51)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#4 2012-06-09 14:11:30

sobota
Member
Registered: 2012-04-05
Posts: 31

Re: [SOLVED]I can't open .jpg file and Python2 dont work

What happens if you try opening it in a terminal, i.e. ristretto filename.jpg?

Nothing especial. No sepecial message show, next app open and show other picture.

Last edited by sobota (2012-06-09 14:16:41)

Offline

#5 2012-06-09 14:17:58

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: [SOLVED]I can't open .jpg file and Python2 dont work

Is your system updated? Run

pacman -Syyu

just in case.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#6 2012-06-09 14:20:16

sobota
Member
Registered: 2012-04-05
Posts: 31

Re: [SOLVED]I can't open .jpg file and Python2 dont work

Yes, my system is updated.

Offline

#7 2012-06-10 16:46:57

sobota
Member
Registered: 2012-04-05
Posts: 31

Re: [SOLVED]I can't open .jpg file and Python2 dont work

Maybe we have some hints what may cause this trouble with .jpg file?

Sory for double post.

Last edited by sobota (2012-06-10 16:47:35)

Offline

#8 2012-06-14 15:30:08

sobota
Member
Registered: 2012-04-05
Posts: 31

Re: [SOLVED]I can't open .jpg file and Python2 dont work

I solved my problem with *.jpg files. Solution is install:

gdk-pixbuf2

I think that this packed should by in dependencies for some app.

Last edited by sobota (2012-06-14 15:48:43)

Offline

#9 2012-06-14 16:04:22

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED]I can't open .jpg file and Python2 dont work

If you installed ristretto from the Arch repos, then you should have had gdk-pixbuf2 installed.

ristretto -> libxfce4ui -> gtk2 -> gtk-update-icon-cache -> gdk-pixbuf2

Offline

Board footer

Powered by FluxBB