documancer-users Mailing List for Documancer
Status: Beta
Brought to you by:
vaclavslavik
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(10) |
Feb
(9) |
Mar
(6) |
Apr
(11) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(9) |
Dec
(4) |
2005 |
Jan
(1) |
Feb
(10) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Vaclav S. <vs...@fa...> - 2007-04-09 20:25:16
|
Roy Schilderman wrote: > But when I try a new book, I cannot choose the man type, whereas I > can view in the screenshots it should be able. My man pages are > simply in some dirs called man1.. man8, with filenames like > "pureftpd.8" Anybody got a hint for me? Man and info pages are only available when running on Unix (i.e.=20 where man and info are installed on the system). Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://pgp.mit.edu/ |
From: Roy S. <ri...@zo...> - 2007-04-09 20:22:48
|
Hi all, I installed documancer on my WinXP machine since I need to read the man pages from pure-ftpd, running on my QNX host. QNX does not now the "man concept". It looks good, the dependencies window says: Fulltext search: PyLucene 0.9.3 using Lucene 1.4.3 HTML browser: Mozilla (wxMozilla 0.5.3) wxPython: 2.6.0.0 (wxPython >= 2.5.3 is recommended) But when I try a new book, I cannot choose the man type, whereas I can view in the screenshots it should be able. My man pages are simply in some dirs called man1.. man8, with filenames like "pureftpd.8" Anybody got a hint for me? Regards, Roy |
From: Vaclav S. <vs...@fa...> - 2006-05-16 18:50:22
|
Hi, I switched Documancer mailing lists into subscriber-only mode in order=20 to cut down the volume of spam getting through (SF.net's spam filter=20 leaves much to be desired). Contrary to the subject, this does _not_=20 mean that non-subscribers cannot post -- it only means that=20 subscribers' posts are delivered straight away while non-members'=20 mails are held for moderator's approval. I'll change it back if=20 there's strong opposition to it, but I hope it's OK, as the worst it=20 may cause is that some legitimate posts will be delayed by ~ one day. Regards, Vaclav=20 =2D-=20 PGP key: 0x465264C9, available from http://pgp.mit.edu/ |
From: Vaclav S. <vs...@fa...> - 2005-07-11 19:47:32
|
Sascha Heid wrote: > I made a new book of html sites and when i try to open it i get > this error: Unable to open requested HTML document: I told you: you're going to be disappointed without wxMozilla... > Also it does still not detect wxmozilla, even though i recompiled > mozilla, wxpython and wxmozilla (with --enable-python). Clearly, you don't have wxMozilla installed properly. Maybe it's=20 included in wrong wxPython version, maybe it's compiled against wrong=20 wxGTK, maybe you're missing some libraries, I don't know. But either=20 way, it's a problem with your wxMozilla installation, not Documancer=20 =2D- Documancer doesn't do anything special, just "import=20 wxPython.mozilla". You need to verify wxMozilla works. Incomplete,=20 but usually sufficient test is: >>> import wxPython >>> import wxPython.mozilla >>> wxPython.mozilla.__version__ (0, 5, 6) >>> HTH, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://pgp.mit.edu/ |
From: Sascha H. <sas...@gm...> - 2005-07-11 19:25:19
|
I could get rid of the error by deleting ~/.documancer and now it is starting but it is still not working right. I made a new book of html sites and when i try to open it i get this error: Unable to open requested HTML document: http://localhost:54554/abs-guide//usr/share/doc/abs-guide-3.5/HTML/index.ht= ml Also it does still not detect wxmozilla, even though i recompiled mozilla, wxpython and wxmozilla (with --enable-python). Regards, Sascha |
From: Vaclav S. <vs...@fa...> - 2005-07-11 18:49:10
|
Hi, Sascha Heid wrote: > sascha@sta ~ $ documancer > warning: using minimalistic HTML renderer (wxHTML), > please install wxMozilla! You're going to be disappointed without wxMozilla... > File "/usr/lib/documancer/book.py", line 246, in loadBook > burl =3D string.replace(node.getAttribute('url'), "/" + > utils.mangleBookName(title), "") > NameError: global name 'string' is not defined This is fixed in SVN now, so you can fix it either by fetching the=20 latest sources or by applying this patch: http://tinyurl.com/9v2w2 HTH, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://pgp.mit.edu/ |
From: Sascha H. <sas...@gm...> - 2005-07-11 16:20:53
|
Hi all, i get this error on startup: sascha@sta ~ $ documancer=20 warning: using minimalistic HTML renderer (wxHTML), please install wxMozilla! Traceback (most recent call last): File "/usr/bin/documancer", line 89, in ? gui.app.run() File "/usr/lib/documancer/gui/app.py", line 109, in run app =3D DocumancerApp() File "/usr/lib/documancer/gui/app.py", line 65, in __init__ wxApp.__init__(self, redirect=3DdoRedirect) File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_core.py", line 6151, in __init__ self._BootstrapApp() File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_core.py", line 5803, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/usr/lib/documancer/gui/app.py", line 79, in OnInit book.loadBooks() File "/usr/lib/documancer/book.py", line 265, in loadBooks book =3D loadBook(file) File "/usr/lib/documancer/book.py", line 246, in loadBook burl =3D string.replace(node.getAttribute('url'), "/" + utils.mangleBookName(title), "") NameError: global name 'string' is not defined I have this software installed: documancer-0.26 python-2.4 wxpython-2.6 Blackdown JDK 1.4.2.02 wxmozilla-0.5.4 OS is gentoo linux. Regards, Sascha PS: Documancer is a great piece of software, thank you very much :) |
From: Vaclav S. <vs...@fa...> - 2005-02-20 08:57:57
|
Vaclav Slavik wrote: > It seems that Python 2.4 is not affected, so if can upgrade to > Python 2.4, it's done. I still don't know how to solve this for > Python 2.3... This patch helps here: http://tinyurl.com/54eue Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://wwwkeys.pgp.net/ |
From: Vaclav S. <vs...@fa...> - 2005-02-19 23:36:26
|
Hi, Vaclav Slavik wrote: > Any ideas how to fix the mess? It seems that Python 2.4 is not affected, so if can upgrade to Python=20 2.4, it's done. I still don't know how to solve this for Python=20 2.3... Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://wwwkeys.pgp.net/ |
From: Vaclav S. <vs...@fa...> - 2005-02-19 23:22:51
|
Vaclav Slavik wrote: > It should just work, but it doesn't, thanks to wxPython :-/ Correction: thanks to wxPython _and_ PyLucene... Vaclav =2D-=20 PGP key: 0x465264C9, available from http://wwwkeys.pgp.net/ |
From: Vaclav S. <vs...@fa...> - 2005-02-19 23:18:23
|
Hi, Arnd Baecker wrote: > Do you think that it is possible that documancer > reacts a bit more "helpful" when one has the wrong > locale settings? It should just work, but it doesn't, thanks to wxPython :-/ See here: http://aspn.activestate.com/ASPN/Mail/Message/wxpython-users/631186 It messes up the locales. Worse, differently in different versions, so=20 a fix that works for wxPy 2.5 doesn't work for 2.4 (which works=20 fine). Finally, fixing the Java version of indexer is out of reach... Here, with cs_CZ locale (which should behave in same way as yours), it=20 works fine with wxPy 2.4 and PyLucene (but not Java!) backend and=20 works with wxPy 2.5 and PyLucene if I add this to pylucene_srv.py: import locale locale.setlocale(locale.LC_ALL, '') Any ideas how to fix the mess? Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://wwwkeys.pgp.net/ |
From: Arnd B. <arn...@we...> - 2005-02-16 08:32:11
|
Hi Vaclav, thanks for your rapid response! On Tue, 15 Feb 2005, Vaclav Slavik wrote: > Hi, > > Arnd Baecker wrote: > > This is with python 2.3.4, wxmozilla-0.5.3, documancer 0.2.5. > > Just a guess: what is your locale and what is decimal point deliminer > used in it? Does running it with LC_ALL=en_GB or =C help? env shows that LANG=de_DE.UTF-8 With export LC_ALL=en_GB everything seems to work fine! ((Note that without this setting for example I played around with the new search a bit more: - searching for "lists dafdsf" (in the python 2.3.4 docs) also gives not error and the expected hits (the second word is just garbage) )) Do you think that it is possible that documancer reacts a bit more "helpful" when one has the wrong locale settings? (this is not too important for me but helpful as the fix is easy to put in a script which calls documancer, but some users might start documancer directly and get into trouble) > > BTW: creating the index seems (if my memory serves me correctly) > > to be much slower than with swish. > > Yes, that's true. But I think it's worth it -- no other fulltext > search I evaluated, SWISH-E included, supports Unicode. And Lucene's > API is really useful... OK, so this makes it even more important to supply pre-generated indizes system wide (as we did last year for our students). Many thanks, Arnd |
From: Vaclav S. <vs...@fa...> - 2005-02-15 19:49:07
|
Hi, Kevin Ollivier wrote: > I haven't tried Documancer on Linux recently, but IIRC PyLucene =A0 > versions above 0.9.5 require Python 2.4. So the author claims, but it probably only applies to running PyLucene=20 in a separate thread (which Documancer doesn't do if Python is <=20 2.4), because I'm running 0.9.7 without problems myself. And yes, it=20 was a pleasant surprise ;-) Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://wwwkeys.pgp.net/ |
From: Kevin O. <ke...@tu...> - 2005-02-15 18:46:45
|
Hi, On Feb 15, 2005, at 6:52 AM, Arnd Baecker wrote: [snip] > I just checked out the new version and having problems with > the search (I downloaded the linux pyLucene, > http://downloads.osafoundation.org/PyLucene/linux/PyLucene > -0.9.7.tar.gz). I haven't tried Documancer on Linux recently, but IIRC PyLucene versions above 0.9.5 require Python 2.4. On Windows, I'm working successfully with 0.9.3 on Python 2.3, so you may want to give this a shot and see if it affects things. Thanks, Kevin |
From: Vaclav S. <vs...@fa...> - 2005-02-15 17:05:28
|
Hi, Arnd Baecker wrote: > This is with python 2.3.4, wxmozilla-0.5.3, documancer 0.2.5. Just a guess: what is your locale and what is decimal point deliminer=20 used in it? Does running it with LC_ALL=3Den_GB or =3DC help? > BTW: creating the index seems (if my memory serves me correctly) > to be much slower than with swish. Yes, that's true. But I think it's worth it -- no other fulltext=20 search I evaluated, SWISH-E included, supports Unicode. And Lucene's=20 API is really useful... > And one more: is there a way that documancer could > "automatically" extract a table of contents when > dealing with html files? Yes, I assume there is, but it's not a trivial task, so even though I=20 do want to have that feature myself, I'm unlikely to do it before I=20 implements tons of other more urgently needed things... Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://wwwkeys.pgp.net/ |
From: Arnd B. <arn...@we...> - 2005-02-15 14:52:29
|
Hi Vaclav, On Sun, 6 Feb 2005, Vaclav Slavik wrote: > I released new version of Documancer, upgrade is highly recommended. > The most notable change is the switch to Lucene fulltext indexer, > which gives Documancer ability to search texts in languages other > than English. > > Changelog: > > - added "Update index" menu entry > - added contents panel > - books are now stored in XML files in ~/.documancer/books/ instead of > in config file > - added Refresh and Stop buttons > - PyLucene is now used instead of SWISH-E for fulltext search and > Unicode is fully supported > - search UI improvements > - Python 2.3+ is now required I just checked out the new version and having problems with the search (I downloaded the linux pyLucene, http://downloads.osafoundation.org/PyLucene/linux/PyLucene-0.9.7.tar.gz). After creating the index (e.g. for the python documentation) any search gives this error: Traceback (most recent call last): File "/opt/python//lib/documancer/gui/MainFrame.py", line 556, in OnSearch for title, url, score in indexer.search(self.currentBook, query): File "/opt/python//lib/documancer/indexer.py", line 299, in search for r in getFulltextIndexer().search(idir, myquery): File "/opt/python//lib/documancer/indexers/_external.py", line 133, in search for r in self.proxy.search(directory, query): File "/opt/python//lib/python2.3/xmlrpclib.py", line 1029, in __call__ return self.__send(self.__name, args) File "/opt/python//lib/python2.3/xmlrpclib.py", line 1316, in __request verbose=self.__verbose File "/opt/python//lib/python2.3/xmlrpclib.py", line 1080, in request return self._parse_response(h.getfile(), sock) File "/opt/python//lib/python2.3/xmlrpclib.py", line 1214, in _parse_response p.feed(response) File "/opt/python//lib/python2.3/xmlrpclib.py", line 528, in feed self._parser.Parse(data, 0) File "/opt/python//lib/python2.3/xmlrpclib.py", line 772, in end return f(self, join(self._data, "")) File "/opt/python//lib/python2.3/xmlrpclib.py", line 813, in end_double self.append(float(data)) ValueError: invalid literal for float(): 1.0 This is with python 2.3.4, wxmozilla-0.5.3, documancer 0.2.5. Is something wrong with my setup - or is there a simple fix ? BTW: creating the index seems (if my memory serves me correctly) to be much slower than with swish. And one more: is there a way that documancer could "automatically" extract a table of contents when dealing with html files? Best, Arnd |
From: Vaclav S. <vs...@fa...> - 2005-02-06 13:39:58
|
Hi, I released new version of Documancer, upgrade is highly recommended.=20 The most notable change is the switch to Lucene fulltext indexer,=20 which gives Documancer ability to search texts in languages other=20 than English. Changelog: =2D added "Update index" menu entry =2D added contents panel =2D books are now stored in XML files in ~/.documancer/books/ instead of in config file =2D added Refresh and Stop buttons =2D PyLucene is now used instead of SWISH-E for fulltext search and Unicode is fully supported =2D search UI improvements =2D Python 2.3+ is now required Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://wwwkeys.pgp.net/ |
From: Vaclav S. <vs...@fa...> - 2005-01-30 21:13:26
|
Hi, I did two changes in CVS that may break Documancer for people using=20 CVS version: 1. on Windows, the directory where data are stored changed from=20 $HOME/.documancer to $HOME/Application Data/Documancer 2. in book definition XML files, the <provider> attribute has =20 different values now: "HTML" -> "html" "Man pages" -> "man" "Info pages" -> "info" "Python docs" -> "pydoc" This change will not affect people upgrading from 0.2.3 to the next=20 release, there is conversion code to take care of the upgrade, but I=20 did not write code that would upgrade from one CVS snapshot to=20 another, as it's a matter of running a simple shell script. Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://wwwkeys.pgp.net/ |
From: Vaclav S. <vs...@fa...> - 2004-12-19 08:58:46
|
Hi, Arnd Baecker wrote: > (and _maybe_ also: > apt-get install python-gtk2-dev I think you'll need this one for building wxMozilla for wx-2.5. > This sounds crucial: are you saying with this that > wxMozilla has not (yet) been "ported" to wx-2.5 ?? It was ported, but it takes more effort to get it running. wxPython=20 2.5 is still changing rapidly and the Python<->C++ bridge code is=20 different in different versions, so we can't include pre-generated=20 SWIG wrapper. So you need devel version of wxPython (including *.i=20 files and its custom version of SWIG [until it's ported to latest=20 SWIG which no longer needs any patches]) and you have to use SWIG to=20 regenerate the wrapper. I don't how to do this myself, I'm afraid : ( The setup.py script in mozilla25 is supposed to help with it. > To summarize: overall things went fine in the > end, but when doing `make install` I get the error below, > which might have to do with the wxmozilla/python part ... I'll make it possible to disable building bundled copy of wxmozilla,=20 thanks for pointing this out. Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://wwwkeys.pgp.net/ |
From: Arnd B. <arn...@we...> - 2004-12-17 20:20:23
|
Hi Vaclav, thanks for your reply - that got me going a bit further: On Fri, 17 Dec 2004, Vaclav Slavik wrote: > Hi, > > > Sorry for the late reply, I was swamped with other stuff. > > > > I just tried it out and get the following: > > > > ./autogen.sh > > aclocal: configure.in: 11: macro `AM_OPTIONS_WXCONFIG' not found in > > library > > aclocal: configure.in: 37: macro `AM_PATH_WXCONFIG' not found in > > library aclocal: configure.in: 197: macro `AM_PATH_GTK' not found > > in library aclocal: configure.in: 199: macro `AM_PATH_GTK_2_0' not > > found in library > > You have to have all the packages Documancer depends on installed on > the system, wxGTK and GTK+ included. Well, first I thought I had everything installed correctly, but it turns out that for wx 2.5 the file wxwin.m4 is in devel/wx2.5-common (and not as it used to be in the corresponding devel/wx2.5-headers So with the following packages from sarge ii libwxgtk2.5-dev ii libwxgtk2.5.3 ii libwxgtk2.5.3-python ii wxpython2.5.3 apt-get install swish-e apt-get install libwxgtk2.5-dev wx2.5-headers apt-get install wx2.5-common apt-get install libgtk2.0-dev apt-get install libgtk-dev apt-get install mozilla-dev (and _maybe_ also: apt-get install python-gtk2-dev apt-get install libnspr-dev) > > ./configure --prefix=/usr/opt/ > > > > [...] > > configure: running /bin/sh admin/configure --prefix=/usr/opt/ > > '--prefix=/usr/opt/' --cache-file=/dev/null --srcdir=. > > admin/configure: admin/configure: No such file or directory > > You have to generate it using autogen.sh. I actually did ./autogen.sh, but it stopped before entering the wxmozilla part (so it this was a follow-up error from the AM_... stuff above). > > configure: error: /bin/sh admin/configure failed for > > bundled/wxmozilla > > > > So this looks more serious: actually there is no configure in > > bundled/wxmozilla/ > > (and no autogen.sh there either). > > The autogen.sh script is in root directory and regenerates all > makefiles, wxMozilla's ones included. You are (of course) absolutely right - I should have had a look at autogen.sh ;-) > > I hope that I could use documancer with this package > > You can, but you must make wxMozilla work there first yourself (or use > the low-quality wxHTML engine). This sounds crucial: are you saying with this that wxMozilla has not (yet) been "ported" to wx-2.5 ?? (In bundled/wxmozilla/wxPython/contrib one finds the directories mozilla and mozilla25, but the contents looks different ...) I fear this point goes beyond my knowledge ... (OTOH: maybe you would like to guide me through that procedure? - but only if your really want) > > Are there any configure switches to convince > > the installation to use wx-2.5.3-gtk2-unicode > > instead of the wx (which is 2.4 and also installed)? > > See the output of wxMozilla's configure --help, it lists several > switches that affect wx-config searching. It turned out that on my new machine I have not yet installed and wx 2.4 dev related packages. So it automatically picked the 2.5.3. stuff (presumably this would not work if 2.4 dev things were installed). To summarize: overall things went fine in the end, but when doing `make install` I get the error below, which might have to do with the wxmozilla/python part ... Best and many thanks, Arnd ---------------------------------------------------------------------- make[2]: Leaving directory `/tmp/baecker/documancer/bundled/wxmozilla/src' make[1]: Leaving directory `/tmp/baecker/documancer/bundled/wxmozilla/src' (cd bundled/wxmozilla/wxPython ; make install) make[1]: Entering directory `/tmp/baecker/documancer/bundled/wxmozilla/wxPython' make[2]: Entering directory `/tmp/baecker/documancer/bundled/wxmozilla/wxPython' make[2]: Nothing to be done for `install-exec-am'. /bin/sh ../mkinstalldirs /usr/opt//lib/documancer /bin/sh ../libtool --mode=install /usr/bin/install -c mozillac.la /usr/opt//lib/documancer/mozillac.la libtool: install: warning: relinking `mozillac.la' (cd /tmp/baecker/documancer/bundled/wxmozilla/wxPython; /bin/sh ../libtool --mode=relink g++ -I/usr/include/mozilla/nspr -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string -I/usr/include/mozilla/gtkembedmoz -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string -I/usr/include/mozilla/nspr -I/usr/include/mozilla -I/usr/include/mozilla/unix -I/usr/include/mozilla/dom -I/usr/include/mozilla/windowwatcher -I/usr/include/mozilla/webbrowserpersist -I/usr/include/mozilla/appcomps -I/usr/include/mozilla/find -I/usr/include/mozilla/txtsvc -I/usr/include/mozilla/docshell -I/usr/include/mozilla/shistory -I/usr/include/mozilla/webshell -I/usr/include/mozilla/gfx -I/usr/include/mozilla/necko -I/usr/include/mozilla/widget -I/usr/include/mozilla/content -I/usr/include/mozilla/layout -I/usr/include/mozilla/browser -I/usr/include/mozilla/webbrwsr -I/usr/include/mozilla/uconv -I/usr/include/mozilla/embed_base -I/usr/include/mozilla/uriloader -I/usr/include/mozilla/editor -I/usr/include/mozilla/commandhandler -I/usr/include/mozilla/composer -I/usr/include/mozilla/pref -I/usr/include/mozilla/profdirserviceprovider -I/usr/lib/wx/include/gtk2-unicode-release-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I../src -I/usr/include/python2.3 -g -O2 -o mozillac.la -rpath /usr/opt//lib/documancer -avoid-version -module -Wl,--rpath,/usr/opt//lib/documancer mozilla_wrap.lo -L/usr/lib/mozilla -lxpcom -lplds4 -lplc4 -lnspr4 -ldl -lc -lpthread -L/usr/lib/mozilla -lgtkembedmoz -lxpcom -lplds4 -lplc4 -lnspr4 -ldl -lc -lpthread -Wl,-rpath,/usr/local/netscape -pthread -L/usr/X11R6/lib -lwx_gtk2u_xrc-2.5 -lwx_gtk2u_html-2.5 -lwx_gtk2u_adv-2.5 -lwx_gtk2u_core-2.5 -lwx_baseu_xml-2.5 -lwx_baseu_net-2.5 -lwx_baseu-2.5 ../src/libwxmozilla_gtk2u-2.5.la ) mv: cannot stat `mozillac': No such file or directory libtool: install: error: relink `mozillac.la' with the above command before installing it make[2]: *** [install-wxpythonLTLIBRARIES] Error 1 make[2]: Leaving directory `/tmp/baecker/documancer/bundled/wxmozilla/wxPython' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/tmp/baecker/documancer/bundled/wxmozilla/wxPython' |
From: Vaclav S. <vs...@fa...> - 2004-12-16 23:08:10
|
Hi, > Sorry for the late reply, I was swamped with other stuff. > > I just tried it out and get the following: > > ./autogen.sh > aclocal: configure.in: 11: macro `AM_OPTIONS_WXCONFIG' not found in > library > aclocal: configure.in: 37: macro `AM_PATH_WXCONFIG' not found in > library aclocal: configure.in: 197: macro `AM_PATH_GTK' not found > in library aclocal: configure.in: 199: macro `AM_PATH_GTK_2_0' not > found in library You have to have all the packages Documancer depends on installed on=20 the system, wxGTK and GTK+ included. > ./configure --prefix=3D/usr/opt/ > > [...] > configure: running /bin/sh admin/configure --prefix=3D/usr/opt/ > '--prefix=3D/usr/opt/' --cache-file=3D/dev/null --srcdir=3D. > admin/configure: admin/configure: No such file or directory You have to generate it using autogen.sh. > configure: error: /bin/sh admin/configure failed for > bundled/wxmozilla > > So this looks more serious: actually there is no configure in > bundled/wxmozilla/ > (and no autogen.sh there either). The autogen.sh script is in root directory and regenerates all=20 makefiles, wxMozilla's ones included. > I hope that I could use documancer with this package You can, but you must make wxMozilla work there first yourself (or use=20 the low-quality wxHTML engine). > Are there any configure switches to convince > the installation to use wx-2.5.3-gtk2-unicode > instead of the wx (which is 2.4 and also installed)? See the output of wxMozilla's configure --help, it lists several=20 switches that affect wx-config searching. Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://wwwkeys.pgp.net/ |
From: Arnd B. <arn...@we...> - 2004-12-16 08:59:26
|
Hi Vaclav, On Mon, 15 Nov 2004, Vaclav Slavik wrote: > Hi, > > Arnd Baecker wrote: > > Neither mozilla.py nor mozillac.so in that directory. > > It seems they ended up in > > $prefix/lib/python2.3/site-packages/wxPython > > I must have forgotten to update wxMozilla's Makefile.in files. It's > fixed now: I removed generated files from Documancer's CVS copy and > modified autogen.sh to renegerate them. Sorry for the late reply, I was swamped with other stuff. I just tried it out and get the following: ./autogen.sh aclocal: configure.in: 11: macro `AM_OPTIONS_WXCONFIG' not found in library aclocal: configure.in: 37: macro `AM_PATH_WXCONFIG' not found in library aclocal: configure.in: 197: macro `AM_PATH_GTK' not found in library aclocal: configure.in: 199: macro `AM_PATH_GTK_2_0' not found in library ./configure --prefix=/usr/opt/ [...] configure: running /bin/sh admin/configure --prefix=/usr/opt/ '--prefix=/usr/opt/' --cache-file=/dev/null --srcdir=. admin/configure: admin/configure: No such file or directory configure: error: /bin/sh admin/configure failed for bundled/wxmozilla So this looks more serious: actually there is no configure in bundled/wxmozilla/ (and no autogen.sh there either). And one more question (I am pretty certain that I will get to a problem at this point once the above one is solved ;-): with debian sarge one can now get wx-2.5.3-gtk2-unicode I hope that I could use documancer with this package (which would mean that I only have to install documancer+the bundled wxmozilla!). Are there any configure switches to convince the installation to use wx-2.5.3-gtk2-unicode instead of the wx (which is 2.4 and also installed)? The wxversion.py scrips are available - so there might be a trick? If this route works it would be fairly simple to install documancer on debian (I promise to provide notes if it does ;-). Best, Arnd |
From: Vaclav S. <vac...@ma...> - 2004-11-15 10:15:20
|
Hi, Arnd Baecker wrote: > Neither mozilla.py nor mozillac.so in that directory. > It seems they ended up in > $prefix/lib/python2.3/site-packages/wxPython I must have forgotten to update wxMozilla's Makefile.in files. It's=20 fixed now: I removed generated files from Documancer's CVS copy and=20 modified autogen.sh to renegerate them. Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://pgp.mit.edu/ |
From: Arnd B. <arn...@we...> - 2004-11-09 13:08:26
|
On Tue, 9 Nov 2004, Vaclav Slavik wrote: > Arnd Baecker wrote: > > The only thing I had to change was in HtmlBrowser.py > > > > try: > > =A0 =A0 from wxPython.mozilla import * > > =A0 =A0 try: > > =A0 =A0 =A0 =A0 import wxPython.mozilla as mozilla > > =A0 =A0 =A0 =A0 MOZILLA_VERSION =3D mozilla.__version__ > > Err, no, you are not supposed to change anything here. I feared so ;-) > The module is > not called "wxPython.mozilla", it's "mozilla" now that wxMozilla is > bundled with Documancer. You should already have it installed as > $prefix/lib/documancer/{mozilla.py,mozillac.so}. Neither mozilla.py nor mozillac.so in that directory. It seems they ended up in $prefix/lib/python2.3/site-packages/wxPython When I reverse change to HtmlBrowser.py and do export LD_LIBRARY_PATH=3D/usr/opt/wx/2.4/lib:/usr/lib/mozilla-firefox:${LD_= LIBRARY_PATH}: export PYTHONPATH=3D/usr/opt/wx/2.4/lib/python2.3/site-packages:/usr/opt/wx= /2.4/lib/python2.3/site-packages/wxPython:${PYTHONPATH} export PATH=3D/usr/opt/wx/2.4/bin:${PATH} documancer everything works fine (i.e I had to add the wxPython dir to PYTHONPATH) Best, Arnd |
From: Vaclav S. <vac...@ma...> - 2004-11-09 12:52:17
|
Arnd Baecker wrote: > The only thing I had to change was in HtmlBrowser.py > > try: > =A0 =A0 from wxPython.mozilla import * > =A0 =A0 try: > =A0 =A0 =A0 =A0 import wxPython.mozilla as mozilla > =A0 =A0 =A0 =A0 MOZILLA_VERSION =3D mozilla.__version__ Err, no, you are not supposed to change anything here. The module is=20 not called "wxPython.mozilla", it's "mozilla" now that wxMozilla is=20 bundled with Documancer. You should already have it installed as=20 $prefix/lib/documancer/{mozilla.py,mozillac.so}. Regards, Vaclav =2D-=20 PGP key: 0x465264C9, available from http://pgp.mit.edu/ |