b***@public.gmane.org
2010-10-24 18:46:56 UTC
http://bugs.openzim.org/show_bug.cgi?id=31
Summary: -s argument seems to be (newly) invalid
Product: openZIM
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P5
Component: zimwriter
AssignedTo: tommi-+ciCUjOJn3Ednm+***@public.gmane.org
ReportedBy: emmanuel-***@public.gmane.org
CC: dev-l-***@public.gmane.org
Estimated Hours: 0.0
In the trunk (r335) if you call zimwriterdb with -s 1024 (for example) you get
the usage(): no zim file with be generated.
$/usr/local/bin/zimwriterdb -s 1024 --db "postgresql:dbname=wiki2b user=kiwix
port=5432" titi
create zim file from db
usage: /usr/local/bin/zimwriterdb [options] output-filename
".zim" is appended to the output filename if not already given.
options:
-s <number> specify chunk size for compression in kB (default 1024)
--db <dburl> specify a db source (default: postgresql:dbname=zim,
tntdb is used here)
-Z <articlefile> create a fulltext index for specified article
-S <words> search in zim file for articles
-I <articlefile> article file for search
-X <indexfile> use indexfile as full text search index
-D <directory> create zim file from directory content
additional options for full text indexer:
-T <file> trivial words file for full text index (a text file with
words, which are not indexed)
-M <number> memory factor (default 64, smaller factors reduce memory
usage but makes indexer slower,
try smaller values when you run out of memory)
-t <filename> temporary file name (default zimwriter.tmp)
But if you call the same command line but without "-s 1024"... it works.
$ /usr/local/bin/zimwriterdb --db "postgresql:dbname=wiki2b user=kiwix
port=5432" titi
create zim file from db
create directory entries
collect articles
sort 6 directory entries (aid)
remove invalid redirects from 6 directory entries
sort 6 directory entries (url)
set index
translate redirect aid to index
6 directory entries created
create title index
6 title index created
create clusters
0% ready
10% ready
20% ready
30% ready
40% ready
50% ready
60% ready
70% ready
80% ready
1 clusters created
fill header
write zimfile
ready
zim file ready
Summary: -s argument seems to be (newly) invalid
Product: openZIM
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P5
Component: zimwriter
AssignedTo: tommi-+ciCUjOJn3Ednm+***@public.gmane.org
ReportedBy: emmanuel-***@public.gmane.org
CC: dev-l-***@public.gmane.org
Estimated Hours: 0.0
In the trunk (r335) if you call zimwriterdb with -s 1024 (for example) you get
the usage(): no zim file with be generated.
$/usr/local/bin/zimwriterdb -s 1024 --db "postgresql:dbname=wiki2b user=kiwix
port=5432" titi
create zim file from db
usage: /usr/local/bin/zimwriterdb [options] output-filename
".zim" is appended to the output filename if not already given.
options:
-s <number> specify chunk size for compression in kB (default 1024)
--db <dburl> specify a db source (default: postgresql:dbname=zim,
tntdb is used here)
-Z <articlefile> create a fulltext index for specified article
-S <words> search in zim file for articles
-I <articlefile> article file for search
-X <indexfile> use indexfile as full text search index
-D <directory> create zim file from directory content
additional options for full text indexer:
-T <file> trivial words file for full text index (a text file with
words, which are not indexed)
-M <number> memory factor (default 64, smaller factors reduce memory
usage but makes indexer slower,
try smaller values when you run out of memory)
-t <filename> temporary file name (default zimwriter.tmp)
But if you call the same command line but without "-s 1024"... it works.
$ /usr/local/bin/zimwriterdb --db "postgresql:dbname=wiki2b user=kiwix
port=5432" titi
create zim file from db
create directory entries
collect articles
sort 6 directory entries (aid)
remove invalid redirects from 6 directory entries
sort 6 directory entries (url)
set index
translate redirect aid to index
6 directory entries created
create title index
6 title index created
create clusters
0% ready
10% ready
20% ready
30% ready
40% ready
50% ready
60% ready
70% ready
80% ready
1 clusters created
fill header
write zimfile
ready
zim file ready
--
Configure bugmail: http://bugs.openzim.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Configure bugmail: http://bugs.openzim.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.