Re: SOLVED - was Re: [gentoo-user] Serious problem with linode vm

2013-04-17 Thread Peter Humphrey
On Tuesday 16 April 2013 22:15:32 Michael Mol wrote:

 Or you might simply know what you're doing.
 
 http://en.gentoo-wiki.com/wiki/Hardware_CFLAGS#Determining_available_proc
 essor_features

Out of curiosity I had a look at that guide, but `$ echo  | gcc -
march=native -v -E - 21 | grep cc1` told me I have an i7 
processor. In fact it's an i5, which I think is an i7 without 
hyperthreading.

I decided to leave well alone. Was that too cautious?

-- 
Peter


Re: [gentoo-user] which machine to buy for perfect gentoo machine?!

2013-04-17 Thread Tamer Higazi
Hi João!

Seems to be that the bulldozer and FX architecture is from GCC 4.6.3 up
fully supported.

http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD#FX-8xxx.2F6xxx.2F4xxx_.28Bulldozer.29



Tamer

Am 15.04.2013 16:47, schrieb João Matos:
 Great discussion.
 
 I'm in a similar situation. I'm using a core2duo for about 5 years, and
 I think it is time to upgrade it.
 
 But, after reading this, there are still to doubts:
 
 1) r the amd processors really fully supported? When I compile my kernel
 (amd64), for instance, while looking for Processor Type there are 3
 options for Intel and just one for AMD. Wouldn't it be kinda generic?
 
 2) durability: I'm kinda traumatized with AMD. Maybe I didn't have luck,
 or Brazil is just too hot, but before I change to Intel, I had to buy a
 computer a year: mobo problem, socket changed, then replace everything.
 I'm very exited with the AMD advantages discussed here, but If it is to
 last a year, I'm out.
 
 Back then, when I used amd, I liked the performace and the price very
 much. I found out about and came to
 Gentoo just when I was looking for a optimized distro to my brand new
 athlon64 processor - that lasted a year.
 
 Thank you,
 -- 
 João de Matos
 Linux User #461527
 Graduado em Engenharia de Computação
 UEFS - Universidade Estadual de Feira de Santana




[gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Alan McKinnon
On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:
 
 Error printing - Operation not supported
 
 


well, obviously your installed evince doesn't do pdf printing.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread tastytea
Am Wed, 17 Apr 2013 07:57:02 -0600
schrieb Joseph syscon...@gmail.com:

 When I try to print from evince to pdf file I get an error:
 
 Error printing - Operation not supported
 
 

You can use File - Sove a Copy...

-- 
tastytea


signature.asc
Description: PGP signature


Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported





well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com


Well, it did print to pdf or ps file a week ago before upgrading, so what did 
it change?
Why all of a sudden doesn't do pdf printing?

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 17:05, tastytea wrote:

Am Wed, 17 Apr 2013 07:57:02 -0600
schrieb Joseph syscon...@gmail.com:


When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported




You can use File - Sove a Copy...


This doesn't help me, as there are times where I want to print one or two pages from pdf 
document to another pdf file, so Save a Copy will not do it.



--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Randolph Maaßen
2013/4/17 Joseph syscon...@gmail.com

 On 04/17/13 16:27, Alan McKinnon wrote:

 On 17/04/2013 15:57, Joseph wrote:

 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




 well, obviously your installed evince doesn't do pdf printing.


 --
 Alan McKinnon
 alan.mckin...@gmail.com


 Well, it did print to pdf or ps file a week ago before upgrading, so what
 did it change?
 Why all of a sudden doesn't do pdf printing?

 --
 Joseph


So what packages have been updated/changed, what does your printing system
look like, ...
Without some information nobody can help you.

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Alan Mackenzie
Hi, Joseph.

On Wed, Apr 17, 2013 at 10:32:23AM -0600, Joseph wrote:
 On 04/17/13 17:05, tastytea wrote:
 Am Wed, 17 Apr 2013 07:57:02 -0600
 schrieb Joseph syscon...@gmail.com:

  When I try to print from evince to pdf file I get an error:

  Error printing - Operation not supported



 You can use File - Sove a Copy...

 This doesn't help me, as there are times where I want to print one or two 
 pages from pdf document to another pdf file, so Save a Copy will not do it.

For what it's worth, my evince (2.32.0-r4) prints without problems.
Could it be you're missing some critical use flag?  Try dumping these out
with

# emerge -pv evince

.

 -- 
 Joseph

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Mateusz Kowalczyk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 17/04/13 17:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
 On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:
 
 Error printing - Operation not supported
 
 
 
 
 well, obviously your installed evince doesn't do pdf
 printing.
 
 
 -- Alan McKinnon alan.mckin...@gmail.com
 
 Well, it did print to pdf or ps file a week ago before upgrading,
 so what did it change? Why all of a sudden doesn't do pdf
 printing?
 
So basically you're asking ?what changed on my system??. Not really
something anyone can help with unless you post some information.

- -- 
Mateusz K.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)

iQIcBAEBAgAGBQJRbtdVAAoJEM1mucMq2pqXe1YP/i2v5x+Wf7p0eyMwsKuxuYf4
A0OHVkpD0ead3ULIM6dj1dpsYcu/hz0//y6qN/zn+go/8UM7Z2584RmlB/Gj3mgC
9yleo9+5zCH4hPjnTx/Yqi6NJ1xOc2CEsoZ3lfHFot1ydoQNv2cpvnwYrjCOCKhk
voocr8qVNChfyomvU4dnp3TTE+NlGaWNfhg7fYRJ23UcIsQZTvBeCdd9lH56TwT6
BhlLCfUOqXn8vGkwfoSbT/NzQYt1qyF9NuqgMDm85bLpubOpaaIIqLYjQK/CSfRt
+GNmAX+UDmrg5fAis5PfnNWAlOfxhrNrj0DyI+JBM9WZCcE+Mlg3XYxZqyfMB+3w
ffpiXRwh9Hb98XmbDCaWWXSaXSvJ1yNJWhY1LKvuRZs73L+WdWrFqNxpyNVsMLzz
sWZGCvPOf6Hvvf4thZu6Q6ocf2trfBCjjVGHxPNij0yy/OgJxwqm4XeZUNADcM9X
CYpXoGGg/+C31XGBIWfuFBKioyrYkL97jYmoc9KfSysANTDSePeT8en/Pv5BLB7O
9RHdhOwxT2Jk4GHh6bE97skeCvNj08lebDLACLbdPPGD+VLeHyceiKzSR1SKbNc9
9vuVqjBsul6Kd+VUqXixWNDa5fO79ShDelxOKpiFrtRlVEOcGWoUIkUXcCrXNnGR
S9VKx8D/hpZT3ZfKd6RM
=4IN6
-END PGP SIGNATURE-



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 17:00, Alan Mackenzie wrote:

Hi, Joseph.

On Wed, Apr 17, 2013 at 10:32:23AM -0600, Joseph wrote:

On 04/17/13 17:05, tastytea wrote:
Am Wed, 17 Apr 2013 07:57:02 -0600
schrieb Joseph syscon...@gmail.com:



 When I try to print from evince to pdf file I get an error:



 Error printing - Operation not supported





You can use File - Sove a Copy...



This doesn't help me, as there are times where I want to print one or two pages from pdf 
document to another pdf file, so Save a Copy will not do it.


For what it's worth, my evince (2.32.0-r4) prints without problems.
Could it be you're missing some critical use flag?  Try dumping these out
with

# emerge -pv evince


I have the same verion,
app-text/evince-2.32.0-r4  USE=dbus introspection postscript tiff -debug -djvu -dvi 
-gnome -gnome-keyring -nautilus -t1lib 0 kB

I can print to printer but not to pdf or ps files.


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 18:45, Randolph Maaßen wrote:

  2013/4/17 Joseph [1]syscon...@gmail.com

  On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:
Error printing - Operation not supported

well, obviously your installed evince doesn't do pdf printing.
--
Alan McKinnon
[2]alan.mckin...@gmail.com

Well, it did print to pdf or ps file a week ago before upgrading, so
what did it change?
Why all of a sudden doesn't do pdf printing?
--
Joseph

  So what packages have been updated/changed, what does your printing
  system look like, ...
  Without some information nobody can help you.
  --
  Mit freundlichen Grüßen / Best regards

  Randolph Maaßen


I'm using standard cups printing system.
It is hard to find out which package are responsible for it, I usually upgrade very second month so bunch of them got upgraded I did not get any error messages. 
It is like looking for a needle in a haystack :-/


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 18:09, Mateusz Kowalczyk wrote:

On 17/04/13 17:30, Joseph wrote:

On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported





well, obviously your installed evince doesn't do pdf
printing.


-- Alan McKinnon alan.mckin...@gmail.com


Well, it did print to pdf or ps file a week ago before upgrading,
so what did it change? Why all of a sudden doesn't do pdf
printing?


So basically you're asking ?what changed on my system??. Not really
something anyone can help with unless you post some information.

--
Mateusz K.


I'm not really sure what should I provide you folks with :-/
or where to start looking for the problem. 


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Randolph Maaßen
On Apr 17, 2013 7:19 PM, Joseph syscon...@gmail.com wrote:

 On 04/17/13 18:45, Randolph Maaßen wrote:

   2013/4/17 Joseph [1]syscon...@gmail.com


   On 04/17/13 16:27, Alan McKinnon wrote:

 On 17/04/2013 15:57, Joseph wrote:

 When I try to print from evince to pdf file I get an error:
 Error printing - Operation not supported

 well, obviously your installed evince doesn't do pdf printing.
 --
 Alan McKinnon
 [2]alan.mckin...@gmail.com


 Well, it did print to pdf or ps file a week ago before upgrading, so
 what did it change?
 Why all of a sudden doesn't do pdf printing?
 --
 Joseph

   So what packages have been updated/changed, what does your printing
   system look like, ...
   Without some information nobody can help you.
   --
   Mit freundlichen Grüßen / Best regards

   Randolph Maaßen


 I'm using standard cups printing system.
 It is hard to find out which package are responsible for it, I usually
upgrade very second month so bunch of them got upgraded I did not get any
error messages. It is like looking for a needle in a haystack :-/

 --
 Joseph


Ok, so I would try running revdep-rebuild, to ensure that upgrading didn't
break any abi. This happened to me some time ago.


Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 19:24, Randolph Maaßen wrote:

   Well, it did print to pdf or ps file a week ago before
  upgrading, so
   what did it change?
   Why all of a sudden doesn't do pdf printing?
   --
   Joseph
  
 So what packages have been updated/changed, what does your
  printing
 system look like, ...
 Without some information nobody can help you.
 --
 Mit freundlichen Grüßen / Best regards
  
 Randolph Maaßen
  
  
   I'm using standard cups printing system.
   It is hard to find out which package are responsible for it, I
  usually upgrade very second month so bunch of them got upgraded I did
  not get any error messages. It is like looking for a needle in a
  haystack :-/
  
   --
   Joseph
  

  Ok, so I would try running revdep-rebuild, to ensure that upgrading
  didn't break any abi. This happened to me some time ago.


I know I have been holding to xpdf and old poppler but I've got rid of xpdf and 
upgraded poppler to the current one.
run: revdep-rebuild 
texlive was rebuild 
I've re-emerged evince 


but I'm still getting the same error with evince: Error printing - Operation 
not supported when trying to print to pdf file :-/

--
Joseph



[gentoo-user] error starting meld

2013-04-17 Thread Joseph

I can not start meld, getting an error:

 # meld 
Traceback (most recent call last):

  File /usr/bin/meld, line 154, in module
main()
  File /usr/bin/meld, line 140, in main
already_running, dbus_app = meld.dbus_service.setup(app)
  File /usr/lib64/meld/meld/dbus_service.py, line 54, in setup
bus = dbus.SessionBus()
  File /usr/lib64/python2.7/site-packages/dbus/_dbus.py, line 211, in __new__
mainloop=mainloop)
  File /usr/lib64/python2.7/site-packages/dbus/_dbus.py, line 100, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File /usr/lib64/python2.7/site-packages/dbus/bus.py, line 122, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the 
message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.


It compiles without any problems. 


When I try to start it as user, same error:

$ meld 
Traceback (most recent call last):

  File /usr/bin/meld, line 154, in module
main()
  File /usr/bin/meld, line 136, in main
import meld.meldapp
  File /usr/lib64/meld/meld/meldapp.py, line 218, in module
import filediff
  File /usr/lib64/meld/meld/filediff.py, line 60, in module
process_pool = multiprocessing.Pool(None, init_worker, maxtasksperchild=1)
  File /usr/lib64/python2.7/multiprocessing/__init__.py, line 232, in Pool
return Pool(processes, initializer, initargs, maxtasksperchild)
  File /usr/lib64/python2.7/multiprocessing/pool.py, line 115, in __init__
self._setup_queues()
  File /usr/lib64/python2.7/multiprocessing/pool.py, line 210, in 
_setup_queues
self._inqueue = SimpleQueue()
  File /usr/lib64/python2.7/multiprocessing/queues.py, line 352, in __init__
self._rlock = Lock()
  File /usr/lib64/python2.7/multiprocessing/synchronize.py, line 147, in 
__init__
SemLock.__init__(self, SEMAPHORE, 1, 1)
  File /usr/lib64/python2.7/multiprocessing/synchronize.py, line 75, in 
__init__
sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied

--
Joseph



Re: [gentoo-user] error starting meld

2013-04-17 Thread Michael Mol
On 4/17/2013 2:14 PM, Joseph wrote:
 I can not start meld, getting an error:

  # meld Traceback (most recent call last):
   File /usr/bin/meld, line 154, in module
 main()
   File /usr/bin/meld, line 140, in main
 already_running, dbus_app = meld.dbus_service.setup(app)
   File /usr/lib64/meld/meld/dbus_service.py, line 54, in setup
 bus = dbus.SessionBus()
   File /usr/lib64/python2.7/site-packages/dbus/_dbus.py, line 211,
 in __new__
 mainloop=mainloop)
   File /usr/lib64/python2.7/site-packages/dbus/_dbus.py, line 100,
 in __new__
 bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
   File /usr/lib64/python2.7/site-packages/dbus/bus.py, line 122, in
 __new__
 bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
 dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did
 not receive a reply. Possible causes include: the remote application
 did not send a reply, the message bus security policy blocked the
 reply, the reply timeout expired, or the network connection was broken.

 It compiles without any problems.
 When I try to start it as user, same error:

 $ meld Traceback (most recent call last):
   File /usr/bin/meld, line 154, in module
 main()
   File /usr/bin/meld, line 136, in main
 import meld.meldapp
   File /usr/lib64/meld/meld/meldapp.py, line 218, in module
 import filediff
   File /usr/lib64/meld/meld/filediff.py, line 60, in module
 process_pool = multiprocessing.Pool(None, init_worker,
 maxtasksperchild=1)
   File /usr/lib64/python2.7/multiprocessing/__init__.py, line 232,
 in Pool
 return Pool(processes, initializer, initargs, maxtasksperchild)
   File /usr/lib64/python2.7/multiprocessing/pool.py, line 115, in
 __init__
 self._setup_queues()
   File /usr/lib64/python2.7/multiprocessing/pool.py, line 210, in
 _setup_queues
 self._inqueue = SimpleQueue()
   File /usr/lib64/python2.7/multiprocessing/queues.py, line 352, in
 __init__
 self._rlock = Lock()
   File /usr/lib64/python2.7/multiprocessing/synchronize.py, line
 147, in __init__
 SemLock.__init__(self, SEMAPHORE, 1, 1)
   File /usr/lib64/python2.7/multiprocessing/synchronize.py, line 75,
 in __init__
 sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
 OSError: [Errno 13] Permission denied


Those are two different errors. The first is:

File /usr/lib64/python2.7/site-packages/dbus/bus.py, line 122, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did
not receive a reply. Possible causes include: the remote application did
not send a reply, the message bus security policy blocked the reply, the
reply timeout expired, or the network connection was broken.

The second is:

  File /usr/lib64/python2.7/multiprocessing/synchronize.py, line 75,
in __init__
sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied


At a first guess, try python-updater as root.




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Alan McKinnon
On 17/04/2013 18:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
 On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




 well, obviously your installed evince doesn't do pdf printing.


 -- 
 Alan McKinnon
 alan.mckin...@gmail.com
 
 Well, it did print to pdf or ps file a week ago before upgrading, so
 what did it change?
 Why all of a sudden doesn't do pdf printing?
 

I have absolutely no idea - only one of us can look at your computer
screen and run debugging commands, and it isn't me.

If you want help on this list, it's traditional to supply up front
relevant information that will let people help you. You left this step out.



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread J. Roeleveld
On Wed, April 17, 2013 18:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com

 Well, it did print to pdf or ps file a week ago before upgrading, so what
 did it change?
 Why all of a sudden doesn't do pdf printing?

Can you print to PDF from another program?
Do you have net-print/cups-pdf installed?
Can you recreate the PDF-printer in the cups configuration?

--
Joost




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 21:55, J. Roeleveld wrote:

On Wed, April 17, 2013 18:30, Joseph wrote:

On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported





well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com


Well, it did print to pdf or ps file a week ago before upgrading, so what
did it change?
Why all of a sudden doesn't do pdf printing?


Can you print to PDF from another program?
Do you have net-print/cups-pdf installed?
Can you recreate the PDF-printer in the cups configuration?

--
Joost


Yes, I have net-print/cups-pdf installed.
The strange part is that on one of my AMD64 system I logged in via ssh and I could print to from evince to pdf file and after running python-updater I am getting 
the same error:  Error printing - Operation not supported


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread J. Roeleveld
On Wed, April 17, 2013 22:07, Joseph wrote:
 On 04/17/13 21:55, J. Roeleveld wrote:
On Wed, April 17, 2013 18:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com

 Well, it did print to pdf or ps file a week ago before upgrading, so
 what
 did it change?
 Why all of a sudden doesn't do pdf printing?

Can you print to PDF from another program?
Do you have net-print/cups-pdf installed?
Can you recreate the PDF-printer in the cups configuration?

--
Joost

 Yes, I have net-print/cups-pdf installed.
 The strange part is that on one of my AMD64 system I logged in via ssh and
 I could print to from evince to pdf file and after running
 python-updater I am getting
 the same error:  Error printing - Operation not supported

What did python-updater update?

--
Joost Roeleveld




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 21:31, Alan McKinnon wrote:

On 17/04/2013 18:30, Joseph wrote:

On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported





well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com


Well, it did print to pdf or ps file a week ago before upgrading, so
what did it change?
Why all of a sudden doesn't do pdf printing?



I have absolutely no idea - only one of us can look at your computer
screen and run debugging commands, and it isn't me.

If you want help on this list, it's traditional to supply up front
relevant information that will let people help you. You left this step out.



--
Alan McKinnon
alan.mckin...@gmail.com


OK, I'm getting somewhere.
After starting evince from command line I can print to pdf file; but only 
when starting it from a desktop I'm getting this error.
 Error printing - Operation not supported

--
Joseph



Re: [gentoo-user] error starting meld

2013-04-17 Thread Joseph

On 04/17/13 14:18, Michael Mol wrote:

On 4/17/2013 2:14 PM, Joseph wrote:

I can not start meld, getting an error:

 # meld Traceback (most recent call last):
  File /usr/bin/meld, line 154, in module
main()
  File /usr/bin/meld, line 140, in main
already_running, dbus_app = meld.dbus_service.setup(app)
  File /usr/lib64/meld/meld/dbus_service.py, line 54, in setup
bus = dbus.SessionBus()
  File /usr/lib64/python2.7/site-packages/dbus/_dbus.py, line 211,
in __new__
mainloop=mainloop)
  File /usr/lib64/python2.7/site-packages/dbus/_dbus.py, line 100,
in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File /usr/lib64/python2.7/site-packages/dbus/bus.py, line 122, in
__new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did
not receive a reply. Possible causes include: the remote application
did not send a reply, the message bus security policy blocked the
reply, the reply timeout expired, or the network connection was broken.

It compiles without any problems.
When I try to start it as user, same error:

$ meld Traceback (most recent call last):
  File /usr/bin/meld, line 154, in module
main()
  File /usr/bin/meld, line 136, in main
import meld.meldapp
  File /usr/lib64/meld/meld/meldapp.py, line 218, in module
import filediff
  File /usr/lib64/meld/meld/filediff.py, line 60, in module
process_pool = multiprocessing.Pool(None, init_worker,
maxtasksperchild=1)
  File /usr/lib64/python2.7/multiprocessing/__init__.py, line 232,
in Pool
return Pool(processes, initializer, initargs, maxtasksperchild)
  File /usr/lib64/python2.7/multiprocessing/pool.py, line 115, in
__init__
self._setup_queues()
  File /usr/lib64/python2.7/multiprocessing/pool.py, line 210, in
_setup_queues
self._inqueue = SimpleQueue()
  File /usr/lib64/python2.7/multiprocessing/queues.py, line 352, in
__init__
self._rlock = Lock()
  File /usr/lib64/python2.7/multiprocessing/synchronize.py, line
147, in __init__
SemLock.__init__(self, SEMAPHORE, 1, 1)
  File /usr/lib64/python2.7/multiprocessing/synchronize.py, line 75,
in __init__
sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied



Those are two different errors. The first is:

File /usr/lib64/python2.7/site-packages/dbus/bus.py, line 122, in __new__
   bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did
not receive a reply. Possible causes include: the remote application did
not send a reply, the message bus security policy blocked the reply, the
reply timeout expired, or the network connection was broken.

The second is:

 File /usr/lib64/python2.7/multiprocessing/synchronize.py, line 75,
in __init__
   sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied


At a first guess, try python-updater as root.


I run python-updater it did not help :-/


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Alan McKinnon
On 17/04/2013 22:14, Joseph wrote:
 On 04/17/13 21:31, Alan McKinnon wrote:
 On 17/04/2013 18:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
 On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




 well, obviously your installed evince doesn't do pdf printing.


 -- 
 Alan McKinnon
 alan.mckin...@gmail.com

 Well, it did print to pdf or ps file a week ago before upgrading, so
 what did it change?
 Why all of a sudden doesn't do pdf printing?


 I have absolutely no idea - only one of us can look at your computer
 screen and run debugging commands, and it isn't me.

 If you want help on this list, it's traditional to supply up front
 relevant information that will let people help you. You left this step
 out.



 -- 
 Alan McKinnon
 alan.mckin...@gmail.com
 
 OK, I'm getting somewhere.
 After starting evince from command line I can print to pdf file; but
 only when starting it from a desktop I'm getting this error.
  Error printing - Operation not supported


You are still not giving much in the way of information, and you are
still getting replies from people that basically say Well, gee, I dunno
what the problem is, but try this $RANDOM_MAGIC_SAUCE

It's an exercise in throwing shit at a wall and hoping some of it sticks.

So, it used to work. Now it doesn't work.
Something changed in between.
You need to provide the information to find what changed, no-one else
can. And it doesn't help repeating the error message you get, we already
know that.

Start with the short list of three items in my other mail.

I promise you, and this is important, until you provide that information
we will all keep going around in circles (unless you hit random pay
dirt) and your printing will continue to not work.





-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread J. Roeleveld
On Wed, April 17, 2013 22:20, Alan McKinnon wrote:
 On 17/04/2013 22:14, Joseph wrote:
 On 04/17/13 21:31, Alan McKinnon wrote:
 On 17/04/2013 18:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
 On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




 well, obviously your installed evince doesn't do pdf printing.


 --
 Alan McKinnon
 alan.mckin...@gmail.com

 Well, it did print to pdf or ps file a week ago before upgrading, so
 what did it change?
 Why all of a sudden doesn't do pdf printing?


 I have absolutely no idea - only one of us can look at your computer
 screen and run debugging commands, and it isn't me.

 If you want help on this list, it's traditional to supply up front
 relevant information that will let people help you. You left this step
 out.



 --
 Alan McKinnon
 alan.mckin...@gmail.com

 OK, I'm getting somewhere.
 After starting evince from command line I can print to pdf file; but
 only when starting it from a desktop I'm getting this error.
  Error printing - Operation not supported


 You are still not giving much in the way of information, and you are
 still getting replies from people that basically say Well, gee, I dunno
 what the problem is, but try this $RANDOM_MAGIC_SAUCE

And it's this kind of response that makes the Ubuntu forums useless ;)

 It's an exercise in throwing shit at a wall and hoping some of it sticks.

Nice analogy...

 So, it used to work. Now it doesn't work.
 Something changed in between.
 You need to provide the information to find what changed, no-one else
 can. And it doesn't help repeating the error message you get, we already
 know that.

I agree, like actually provide more information when you mention that
after using $$RANDOM_TOOL it doesn't work on another system either.
In these cases, knowing what $$RANDOM_TOOL actually ended up doing would
really help.

 Start with the short list of three items in my other mail.

 I promise you, and this is important, until you provide that information
 we will all keep going around in circles (unless you hit random pay
 dirt) and your printing will continue to not work.

--
Joost Roeleveld




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 22:12, J. Roeleveld wrote:

On Wed, April 17, 2013 22:07, Joseph wrote:

On 04/17/13 21:55, J. Roeleveld wrote:

On Wed, April 17, 2013 18:30, Joseph wrote:

On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported





well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com


Well, it did print to pdf or ps file a week ago before upgrading, so
what
did it change?
Why all of a sudden doesn't do pdf printing?


Can you print to PDF from another program?
Do you have net-print/cups-pdf installed?
Can you recreate the PDF-printer in the cups configuration?

--
Joost


Yes, I have net-print/cups-pdf installed.
The strange part is that on one of my AMD64 system I logged in via ssh and
I could print to from evince to pdf file and after running
python-updater I am getting
the same error:  Error printing - Operation not supported


What did python-updater update?

--
Joost Roeleveld


I'm running Python:2.7

And these files were updated:

 Adding to list: app-office/openoffice-bin:0
 Adding to list: app-office/openoffice-bin:0
 Adding to list: dev-java/java-config:2
 Adding to list: dev-libs/boost:0
 Adding to list: dev-libs/libgamin:0
 Adding to list: dev-python/dbus-python:0
 Adding to list: dev-python/numpy:0
 Adding to list: dev-python/pycairo:0
 Adding to list: dev-python/setuptools:0
 Adding to list: dev-vcs/subversion:0
 Adding to list: media-libs/lcms:0
 Adding to list: sys-apps/file:0
 Adding to list: sys-libs/cracklib:0

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread J. Roeleveld
On Wed, April 17, 2013 22:27, Joseph wrote:
 On 04/17/13 22:12, J. Roeleveld wrote:
On Wed, April 17, 2013 22:07, Joseph wrote:
 On 04/17/13 21:55, J. Roeleveld wrote:
On Wed, April 17, 2013 18:30, Joseph wrote:
 On 04/17/13 16:27, Alan McKinnon wrote:
On 17/04/2013 15:57, Joseph wrote:
 When I try to print from evince to pdf file I get an error:

 Error printing - Operation not supported




well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com

 Well, it did print to pdf or ps file a week ago before upgrading, so
 what
 did it change?
 Why all of a sudden doesn't do pdf printing?

Can you print to PDF from another program?
Do you have net-print/cups-pdf installed?
Can you recreate the PDF-printer in the cups configuration?

--
Joost

 Yes, I have net-print/cups-pdf installed.
 The strange part is that on one of my AMD64 system I logged in via ssh
 and
 I could print to from evince to pdf file and after running
 python-updater I am getting
 the same error:  Error printing - Operation not supported

What did python-updater update?

--
Joost Roeleveld

 I'm running Python:2.7

 And these files were updated:

   Adding to list: app-office/openoffice-bin:0
   Adding to list: app-office/openoffice-bin:0
   Adding to list: dev-java/java-config:2
   Adding to list: dev-libs/boost:0
   Adding to list: dev-libs/libgamin:0
   Adding to list: dev-python/dbus-python:0
   Adding to list: dev-python/numpy:0
   Adding to list: dev-python/pycairo:0
   Adding to list: dev-python/setuptools:0
   Adding to list: dev-vcs/subversion:0
   Adding to list: media-libs/lcms:0
   Adding to list: sys-apps/file:0
   Adding to list: sys-libs/cracklib:0

This helps, one of these packages must change something that evince
depends on.

Now, for the other 2 questions:
1) Did you try recreating the PDF-printer in the cups config?
2) Can you print to PDF using a different program?

--
Joost Roeleveld




Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 22:42, J. Roeleveld wrote:

I'm running Python:2.7

And these files were updated:

  Adding to list: app-office/openoffice-bin:0
  Adding to list: app-office/openoffice-bin:0
  Adding to list: dev-java/java-config:2
  Adding to list: dev-libs/boost:0
  Adding to list: dev-libs/libgamin:0
  Adding to list: dev-python/dbus-python:0
  Adding to list: dev-python/numpy:0
  Adding to list: dev-python/pycairo:0
  Adding to list: dev-python/setuptools:0
  Adding to list: dev-vcs/subversion:0
  Adding to list: media-libs/lcms:0
  Adding to list: sys-apps/file:0
  Adding to list: sys-libs/cracklib:0


This helps, one of these packages must change something that evince
depends on.

Now, for the other 2 questions:
1) Did you try recreating the PDF-printer in the cups config?
2) Can you print to PDF using a different program?

--
Joost Roeleveld


Yes, I can print from Firefox to pdf file OK. 
I check most of those files and they don't have any dependency on meld or evince.

I've tried to mask: dev-python/pycairo media-libs/lcms but there are on 
previous version in the portage.

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 22:20, Alan McKinnon wrote:


OK, I'm getting somewhere.
After starting evince from command line I can print to pdf file; but
only when starting it from a desktop I'm getting this error.
 Error printing - Operation not supported



You are still not giving much in the way of information, and you are
still getting replies from people that basically say Well, gee, I dunno
what the problem is, but try this $RANDOM_MAGIC_SAUCE

It's an exercise in throwing shit at a wall and hoping some of it sticks.

So, it used to work. Now it doesn't work.
Something changed in between.
You need to provide the information to find what changed, no-one else
can. And it doesn't help repeating the error message you get, we already
know that.

Start with the short list of three items in my other mail.

I promise you, and this is important, until you provide that information
we will all keep going around in circles (unless you hit random pay
dirt) and your printing will continue to not work.

--
Alan McKinnon
alan.mckin...@gmail.com


If is hard to find trouble-shoot these kind of problems. If I new which package 
is causing it I wouldn't be asking questions on this forum!
I'll emerge --rsync maybe it was fixed already.
I know Firefox-17.0.4 has a printing problem to a folder other than /home/user/ 
folder but it was fixed in 17.0.5 version.

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 22:26, J. Roeleveld wrote:


I agree, like actually provide more information when you mention that
after using $$RANDOM_TOOL it doesn't work on another system either.
In these cases, knowing what $$RANDOM_TOOL actually ended up doing would
really help.


Start with the short list of three items in my other mail.

I promise you, and this is important, until you provide that information
we will all keep going around in circles (unless you hit random pay
dirt) and your printing will continue to not work.


--
Joost Roeleveld


When I start evince from a command line and try to print to pdf file I get:

(evince:18927): Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Peter Humphrey
On Wednesday 17 April 2013 18:14:24 Joseph wrote:

 I have the same verion,
 app-text/evince-2.32.0-r4  USE=dbus introspection postscript tiff -debug
 -djvu -dvi -gnome -gnome-keyring -nautilus -t1lib 0 kB
 
 I can print to printer but not to pdf or ps files.

If I've followed this discussion aright you're running gnome, so why do you 
have -gnome set against evince?

-- 
Peter


Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/17/13 21:55, J. Roeleveld wrote:

On Wed, April 17, 2013 18:30, Joseph wrote:

On 04/17/13 16:27, Alan McKinnon wrote:

On 17/04/2013 15:57, Joseph wrote:

When I try to print from evince to pdf file I get an error:

Error printing - Operation not supported





well, obviously your installed evince doesn't do pdf printing.


--
Alan McKinnon
alan.mckin...@gmail.com


Well, it did print to pdf or ps file a week ago before upgrading, so what
did it change?
Why all of a sudden doesn't do pdf printing?


Can you print to PDF from another program?
Do you have net-print/cups-pdf installed?
Can you recreate the PDF-printer in the cups configuration?

--
Joost


Do I need package net-print/cups-pdf to print to PDF file?
I have uninstalled cups-pdf and when I go any program print there is still option: 
Print to file except that now 'Save to folder by default is empty field, before if I remember was a user home directory.


--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/18/13 02:02, Peter Humphrey wrote:

  On Wednesday 17 April 2013 18:14:24 Joseph wrote:


   I have the same verion,

   app-text/evince-2.32.0-r4 USE=dbus introspection postscript tiff
  -debug

   -djvu -dvi -gnome -gnome-keyring -nautilus -t1lib 0 kB

  

   I can print to printer but not to pdf or ps files.


  If I've followed this discussion aright you're running gnome, so why do
  you have -gnome set against evince?


  --

  Peter


Peter, I'm running XFCE4 


How do you run -debug?

--
Joseph



Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Joseph

On 04/18/13 02:02, Peter Humphrey wrote:

  On Wednesday 17 April 2013 18:14:24 Joseph wrote:


   I have the same verion,

   app-text/evince-2.32.0-r4 USE=dbus introspection postscript tiff
  -debug

   -djvu -dvi -gnome -gnome-keyring -nautilus -t1lib 0 kB

  

   I can print to printer but not to pdf or ps files.


  If I've followed this discussion aright you're running gnome, so why do
  you have -gnome set against evince?


  --

  Peter


When I start evince as root I get:

(evince:24321): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file 
'/root/.local/share/recently-used.xbel.KSAKVW': No such file or directory


(evince:24321): Gtk-WARNING **: Attempting to set the permissions of 
`/root/.local/share/recently-used.xbel', but failed: No such file or directory

There are no errors when I start it as user.

--
Joseph



Re: [gentoo-user] error starting meld

2013-04-17 Thread Adam Carter

 At a first guess, try python-updater as root.


 I run python-updater it did not help :-/

 Did you restart X after running python-updater?


Re: [gentoo-user] error starting meld

2013-04-17 Thread Joseph

On 04/18/13 11:36, Adam Carter wrote:

At a first guess, try python-updater as root.

I run python-updater it did not help :-/

  Did you restart X after running python-updater?


Yes, I rebooted the machine.

--
Joseph



[gentoo-user] configuraiton file for Print to File

2013-04-17 Thread Joseph

I'm running cups when I go to print in any application I have an options select 
printer or Print to File (pdf ps)
There is an options Save to Folder which is empty on my recently upgraded 
system; the default should be my home directory

Where is this Print to File configuration file?

--
Joseph