acpmasquerade / httrack-py Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/httrack-py
License: GNU General Public License v2.0
Automatically exported from code.google.com/p/httrack-py
License: GNU General Public License v2.0
What steps will reproduce the problem?
class T(threading.Thread):
def __init__(self):
threading.Thread.__init__(self)
def run(self):
print "Starting thread: %s" % self.getName()
httracklib.httrack(..)
for i in xrange(5):
t = T()
t.start()
What is the expected output? What do you see instead?
Starting thread: Thread-1
Starting thread: Thread-2
Starting thread: Thread-3
Starting thread: Thread-4
Starting thread: Thread-5
and instead i'm getting Starting thread: Thread-1 (and locks here until
httracklib finish)...
What version of the product are you using? On what operating system?
SVN head. Linux 2.6.23.
Please provide any additional information below.
There is any way to start many instances?
Original issue reported on code.google.com by [email protected]
on 23 Jan 2008 at 1:30
Compilation fails with error about missing "httrack-library.h".
I installed libhttrack-dev and libhttrack2.
I think the problem is the missing import of /usr/include/httrack, where
httrack-library.h is located.
$ sudo pip install httrack-py
Downloading/unpacking httrack-py
Downloading httrack-py-0.6.1.tar.gz
Running setup.py (path:/tmp/pip_build_root/httrack-py/setup.py) egg_info for package httrack-py
Installing collected packages: httrack-py
Running setup.py install for httrack-py
building 'httracklib' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/petri/downloads/httrack-source -I/home/petri/downloads/httrack-source/src -I/usr/include -I/usr/include/python2.7 -I/usr/include/python2.7 -c src/httrack-py.c -o build/temp.linux-x86_64-2.7/src/httrack-py.o
src/httrack-py.c:45:29: fatal error: httrack-library.h: No such file or directory
#include "httrack-library.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/httrack-py/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-dsOIkq-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying httrack.py -> build/lib.linux-x86_64-2.7
running build_ext
building 'httracklib' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -fPIC -I/home/petri/downloads/httrack-source
-I/home/petri/downloads/httrack-source/src -I/usr/include
-I/usr/include/python2.7 -I/usr/include/python2.7 -c src/httrack-py.c -o
build/temp.linux-x86_64-2.7/src/httrack-py.o
src/httrack-py.c:45:29: fatal error: httrack-library.h: No such file or
directory
#include "httrack-library.h"
^
Original issue reported on code.google.com by [email protected]
on 12 Sep 2014 at 8:21
Compilation passes ok, but importing httracklib produces an ImportError.
Trying with version 3.33.15 produces the same error, except that the
undefined symbol is htswrap_add.
Original issue reported on code.google.com by [email protected]
on 8 May 2007 at 4:54
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC
-I/usr/local/src/httrack-3.42.1 -I/usr/local/src/httrack-3.42.1/src
-I/usr/include/httrack -I/usr/include/python2.5
-I/usr/local/src/httrack-3.42.1 -I/usr/include/python2.5 -c
src/httrack-py.c -o build/temp.linux-i686-2.5/src/httrack-py.o
src/httrack-py.c: In function 'initialize':
src/httrack-py.c:300: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:300: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:300: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:306: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:306: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:306: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:307: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:307: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:307: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:308: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:308: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:308: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:309: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:309: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:309: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:310: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:310: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:310: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:312: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:312: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:312: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:313: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:313: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:313: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:314: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:314: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:314: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:315: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:315: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:315: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:316: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:316: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:316: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:317: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:317: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:317: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:318: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:318: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:318: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:319: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:319: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:319: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:320: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:320: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:320: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:321: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:321: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:321: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:322: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:322: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:322: error: too few arguments to function 'htswrap_add'
src/httrack-py.c:323: warning: passing argument 1 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:323: warning: passing argument 2 of 'htswrap_add' from
incompatible pointer type
src/httrack-py.c:323: error: too few arguments to function 'htswrap_add'
src/httrack-py.c: In function 'set_option_dict':
src/httrack-py.c:759: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c:762: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c:763: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c:764: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c:765: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c:766: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c:767: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c:781: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c:803: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c:806: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c:807: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c:810: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c:811: error: incompatible type for argument 1 of
'PyString_FromString'
src/httrack-py.c: In function 'get_option_dict':
src/httrack-py.c:854: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c:857: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c:858: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c:859: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c:860: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c:861: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c:862: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c:876: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c:890: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c:893: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c:894: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c:897: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c:898: error: incompatible type for argument 1 of 'strncpy'
src/httrack-py.c: In function 'setup_lien_back':
src/httrack-py.c:1330: error: 'lien_back' has no member named 'pass2_ptr'
src/httrack-py.c:1331: error: 'lien_back' has no member named 'pass2_ptr'
src/httrack-py.c: In function 'hts_py_hts_main':
src/httrack-py.c:2035: error: too few arguments to function 'hts_errmsg'
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
Original issue reported on code.google.com by [email protected]
on 23 Jan 2008 at 1:36
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.