Hi, I have need for a text based web browser. Have tried to download elinks but it doesn’t launch. Got any ideas how I can get this going? I have downloaded in package manager, and also did the sudo zypper install elinks but there is something a miss, please take a look from my terminal…
Also - I’m a beginner, in point form please
adam@linux-986s:~> elinks
Traceback (most recent call last):
File “/usr/lib/python2.7/site.py”, line 554, in <module>
main()
File “/usr/lib/python2.7/site.py”, line 536, in main
known_paths = addusersitepackages(known_paths)
File “/usr/lib/python2.7/site.py”, line 264, in addusersitepackages
user_site = getusersitepackages()
File “/usr/lib/python2.7/site.py”, line 239, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File “/usr/lib/python2.7/site.py”, line 228, in getuserbase
from sysconfig import get_config_var
ImportWarning: Not importing directory ‘/etc/sysconfig’: missing init.py
>
> Hi, I have need for a text based web browser. Have tried to download
> elinks but it doesn’t launch. Got any ideas how I can get this going? I
> have downloaded in package manager, and also did the sudo zypper install
> elinks but there is something a miss, please take a look from my
> terminal…
> Also - I’m a beginner, in point form please
>
> adam@linux-986s:~> elinks
> Traceback (most recent call last):
> File “/usr/lib/python2.7/site.py”, line 554, in <module>
> main()
> File “/usr/lib/python2.7/site.py”, line 536, in main
> known_paths = addusersitepackages(known_paths)
> File “/usr/lib/python2.7/site.py”, line 264, in addusersitepackages
> user_site = getusersitepackages()
> File “/usr/lib/python2.7/site.py”, line 239, in getusersitepackages
> user_base = getuserbase() # this will also set USER_BASE
> File “/usr/lib/python2.7/site.py”, line 228, in getuserbase
> from sysconfig import get_config_var
> ImportWarning: Not importing directory ‘/etc/sysconfig’: missing
> init.py
>
Since I quickly installed and tested elinks (I do not use it) and it works
for me I wonder which version you have downloaded.
What do you mean by “I have downloaded in package manager”, usualy you
simply do the “zypper install elinks”, so what did you download/from where
and what did you do with what you downloaded?
My elinks version shown here is 0.11.995 from the contrib repository (11.4).
–
PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram
On 10/23/2011 04:16 PM, martin_helm wrote:
> Since I quickly installed and tested elinks (I do not use it) and it works
> for me I wonder which version you have downloaded.
> What do you mean by “I have downloaded in package manager”, usualy you
> simply do the “zypper install elinks”, so what did you download/from where
> and what did you do with what you downloaded?
> My elinks version shown here is 0.11.995 from the contrib repository (11.4).
i installed elinks 0.11.995-1.2 (using the one click here: http://software.opensuse.org/search) for 11.4 (32) and KDE4.6.0 and get
this in a terminal:
Traceback (most recent call last):
File "/usr/lib/python2.7/site.py", line 554, in <module>
main()
File "/usr/lib/python2.7/site.py", line 536, in main
known_paths = addusersitepackages(known_paths)
File "/usr/lib/python2.7/site.py", line 264, in addusersitepackages
user_site = getusersitepackages()
File "/usr/lib/python2.7/site.py", line 239, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib/python2.7/site.py", line 228, in getuserbase
from sysconfig import get_config_var
ImportWarning: Not importing directory '/etc/sysconfig': missing __init__.py
i think the difference is in the ‘other stuff’ you have installed…i
mean, i noticed to resolve dependencies here YaST picked up some Ruby
and other things that you probably already have exactly what is
needed…but, the OP and i don’t …
> i think the difference is in the ‘other stuff’ you have installed…i
> mean, i noticed to resolve dependencies here YaST picked up some Ruby
> and other things that you probably already have exactly what is
> needed…but, the OP and i don’t …
>
Possible that the dependencies are not right in the rpm and I have them
installed by accident. Strange that you mention ruby, there is nothing ruby
related in the dependencies of elink http://elinks.cz/documentation/installation.html
sounds like a broken package.
What bugs me much more is this python stack trace since as far as I can see
elinks is nowhere a python program.
What does
file /usr/bin/elinks
show? It should give an ELF class like this
/usr/bin/elinks: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.4, stripped
(or the 32bit equivalent on a 32 bit system).
Maybe its worth a try to start it with the full path /usr/bin/elinks.
Btw the executable has not really very special dependencies to run
–
PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram
martin_helm wrote:
> Possible that the dependencies are not right in the rpm and I have them
> installed by accident. Strange that you mention ruby, there is nothing
> ruby related in the dependencies of elink
Sorry it has since it makes use of a shared lib
> libruby.so.1.8 => /usr/lib64/libruby.so.1.8 (0x00007f159e0fc000)
but still where do this python related things come from?
–
PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram
> Maybe its worth a try to start it with the full path /usr/bin/elinks.
nope…i didn’t check character by character but on the surface i get
the same output as below…
i think your “broken package” is probably right on…who do we call
(not that it is important to me…i’d never heard of eLinks (but, i’ve
had links and lynx both installed, since forever…)
–
DD
openSUSE®, the “German Automobiles” of operating systems
DenverD wrote:
> nope…i didn’t check character by character but on the surface i get
> the same output as below…
>
> i think your “broken package” is probably right on…who do we call
> (not that it is important to me…i’d never heard of eLinks (but, i’ve
> had links and lynx both installed, since forever…)
>
I would say send a mail to the contrib project opensuse-contrib@opensuse.org
I cannot find that there is possibility to file a bug on their obs project
directly (but maybe I am blind).
Btw. since it works for me (as I said I never used it but used lynx in the
past) it looks really good when started with
TERM=xterm-256color elinks
or from the console
–
PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram
–
PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram
Hi, thanks for your replies…I got elinks from the web package search on opensuse.org (maybe I’ll remove the packages and try again with zypper. I’ll let you know how I go.
On 10/24/2011 08:56 AM, adstaryoung wrote:
>
> I got elinks from the web package search
> on opensuse.org (maybe I’ll remove the packages and try again with
> zypper. I’ll let you know how I go.
i don’t expect installing again will solve anything…but, you could
just type either of these:
links
lynx
both of those are a “text based web browser” and at least one of those
is default installed…or else you can use YaST to install either/other…
–
DD
openSUSE®, the “German Automobiles” of operating systems
>
> i don’t expect installing again will solve anything…
It seems the 32 bit version is somehow broken, since I could install and run
the 64 bit version on 2 machines I was so surprised you both cannot run it
that I installed it in a 32bit vboxed openSUSE and voila it gives the same
error as yours just to be sure I also checked if links works there and it
does.
–
PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram