swiperproxy icon indicating copy to clipboard operation
swiperproxy copied to clipboard

Error after installing / ImportError: libstreamhtmlparser.so.0

Open bgultekin opened this issue 8 years ago • 11 comments

Hi, thanks for great web proxy script. I wanted to give it a try, but i couldn't. I downloaded and tried to install as mentioned in documents. I installed requirements. I also built and installed streamhtmlparser in the include directory. These steps is passed without any error. But at last, when I tried to run, I got following error:

Traceback (most recent call last):
  File "Proxy.py", line 38, in <module>
    from Page import Page
  File "/opt/SwiperProxy/swiperproxy/Page.py", line 23, in <module>
    from streamhtmlparser import *
ImportError: libstreamhtmlparser.so.0: cannot open shared object file: No such file or directory

I should say, I am a little bit new at python. So I may miss something obvious. If so, sorry for taking time. Thanks.

bgultekin avatar Aug 03 '17 11:08 bgultekin

same issue

Mr4x3 avatar Aug 10 '17 20:08 Mr4x3

Sorry, the project is not really maintained anymore and I am currently not at home. I will try to compile it when I am back from my holiday and see what the issue is. Something probably changed with libstreamhtmlparser, a workaround might be to pick a version from a year ago?

Techwolf12 avatar Aug 10 '17 20:08 Techwolf12

can you please tell maybe version of it

Mr4x3 avatar Aug 10 '17 20:08 Mr4x3

tried v1.0 dont work

Mr4x3 avatar Aug 10 '17 20:08 Mr4x3

I don't know yet, sorry. I will try it out somewhere this week

Techwolf12 avatar Aug 10 '17 20:08 Techwolf12

Copy the Python packages to a location where Debian will recognize them: $ cp /usr/local/lib/python2.7/dist-packages/* /usr/lib/python2.7/dist-packages $ ldconfig -v

Did you try that? What python version do you run? 2 or 3?

Techwolf12 avatar Aug 10 '17 20:08 Techwolf12

Iam using python2 and i have tried that and that did not fix it.

Mr4x3 avatar Aug 11 '17 03:08 Mr4x3

Cant we make like a pip package for this library atleast for debian based systems

Mr4x3 avatar Aug 11 '17 03:08 Mr4x3

Any updates? Even I am facing the same issue.

vaibhavgeek avatar Feb 16 '18 08:02 vaibhavgeek

Same problem here...

muety avatar Aug 12 '18 06:08 muety

Same here

paulborile avatar Mar 30 '22 14:03 paulborile