View previous topic :: View next topic |
Author |
Message |
kenphi n00b
Joined: 14 Jan 2004 Posts: 7 Location: Germany
|
Posted: Wed Jun 22, 2011 2:48 pm Post subject: pdfmerge&java-config -> eselect python unrecognized v |
|
|
Hi all,
When I issue Code: | pdfmerger a.pdf b.pdf out.pdf | I get the an error and no output is produced:
Code: |
$ pdfmerger a.pdf b.pdf out.pdf
'eselect python show' printed unrecognized value ''
Couldn't get needed information
|
This happens only when I try it as normal user. As root I can happily merge pdfs -- which is obviously not satisfying on the long run.
I thought maybe it has something todo with my java-vm or python settings. The python settings seem o.k. for both normal user and root:
Code: |
$ eselect python list --python2
Available Python 2 interpreters:
[1] python2.7 *
$ eselect python list --python3
Available Python 3 interpreters:
[1] python3.1 *
|
For the java-vm I get the following output as normal user:
Code: |
$ eselect java-vm list
Available Java Virtual Machines:
[1] icedtea6-bin system-vm user-vm
|
... and as root ...
Code: |
$ eselect java-vm list
Available Java Virtual Machines:
[1] icedtea6-bin system-vm
|
But strangely, if I query for a list of vms with java-config as normal user I get similar output as with pdfmerge:
Code: |
$ java-config --list-available-vms
'eselect python show' printed unrecognized value ''
|
As root it just shows what it should:
Code: |
$ java-config --list-available-vms
The following VMs are available for generation-2:
*) IcedTea6-bin 1.10.2 [icedtea6-bin]
|
I've got no clue how to solve this and how to proceed.[/code]
I'd appreciate any help!
Thanks!
Philip |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Wed Jun 22, 2011 5:25 pm Post subject: |
|
|
what about running eselect python show?
AFAIK it should return your main python version.
V. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
kenphi n00b
Joined: 14 Jan 2004 Posts: 7 Location: Germany
|
Posted: Wed Jun 22, 2011 9:20 pm Post subject: |
|
|
Hi Veldrin,
it shows the current version for both root and user.
Code: |
$ eselect python show --python2
python2.7
$ eselect python show --python3
python3.1
|
I noticed one thing but I don't know whether it is relevant. Under root the python2 version is marked with an asterisk with `eselect python list` but not as user:
Code: |
$ eselect python list # normal user
Available Python interpreters:
[1] python2.7
[2] python3.1
$ sudo eselect python list # root
Available Python interpreters:
[1] python2.7 * # <------
[2] python3.1
|
??
Philip |
|
Back to top |
|
|
kenphi n00b
Joined: 14 Jan 2004 Posts: 7 Location: Germany
|
Posted: Thu Feb 02, 2012 8:24 am Post subject: solution |
|
|
It took a long time during which I could mostly ignore this problem but in the end the solution was easy.
The file /etc/env.d/python/config, which is read by the python eselect module, was inaccessible for users. Changing the permission fixed the problem with the pdfmerger.
Philip |
|
Back to top |
|
|
|