Re: [Demexp-dev] Character encoding
Hi, Le Mon, 22 Oct 2007 14:40:46 +0900, Lyu Abe [EMAIL PROTECTED] a écrit : There's one thing I do not understand in character coding of the server's reply. When I display, for example, tag sets, I can read this: 'a_tag_label': u'citoyennet\xe9' in which u'citoyennet\xe9' corresponds to an unicode encoded text, right? Then I do not understand why we get unicode encoded strings, while DEMEXP is supposed to have UTF-8 encoding... The string you mention is encoded in ISO-8859-1 (or ISO-8859-15) : the special character é is encoded on one byte only, so it's not UTF-8. You're also making a confusion between Unicode and UTF-8. Unicode associates each character with an unique number, and UTF-8 allows to encode that number is a certain way. There are various way of encoding Unicode numbers (UTF-7, UTF-8, UTF-16, UTF-32, UCS-2, etc.). See http://en.wikipedia.org/wiki/Unicode for more information. Sincerly, Thomas -- Thomas Petazzoni - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - http://www.toulibre.org http://www.{livret,agenda}dulibre.org ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] Character encoding
Hi, Le Mon, 22 Oct 2007 09:18:23 +0200, David MENTRE [EMAIL PROTECTED] a écrit : I'm not sure of that. If you look at the Unicode table for Latin1 (http://www.unicode.org/charts/PDF/U0080.pdf), the encoding of é is 00E9 (p. 7). I'm not sure too :-) On a system with LANG=fr_FR, I run a Python interpreter: s = ucitoyennet\xe9 s u'citoyennet\xe9' print s citoyenneté - It is displayed correctly. s.encode('utf-8') 'citoyennet\xc3\xa9' And here we have the string encoded in utf-8. print s.encode('utf-8') citoyenneté - It is not displayed correctly But even with that, I'm still not sure to understand completely. These encodings issues are really tough to grasp. Sincerly, Thomas -- Thomas Petazzoni - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - http://www.toulibre.org http://www.{livret,agenda}dulibre.org ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] Instructions to compile demexp on Ubuntu Feisty Fawn (7.04) (and other Debian systems using OCaml 3.09)
Hi, Le Sat, 15 Sep 2007 16:35:33 +0200, David MENTRE [EMAIL PROTECTED] a écrit : Note on modifications: the most important modification I had to do on demexp sources was to add libraries libtasn1, libgrcypt, libgpg-error when compiling the servers. I really don't understand why. I anybody has an explanation... Maybe it's related to what I reported last year: http://thread.gmane.org/gmane.politics.organizations.demexp.devel/993/focus=1043 http://thread.gmane.org/gmane.politics.organizations.demexp.devel/993/focus=1059 Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: PGP signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
[Demexp-dev] [PATCH] Fix typo in a message
# HG changeset patch # User Thomas Petazzoni [EMAIL PROTECTED] # Date 1173622668 -3600 # Node ID 7f612de04c378d608d3e5641bff5baaeda73d2ae # Parent 1560469c9ee79c48c88c39fcf57eee43582aa07f Fix typo in a message diff -r 1560469c9ee7 -r 7f612de04c37 srv/work.ml.nw --- a/srv/work.ml.nwFri Oct 27 22:13:11 2006 +0200 +++ b/srv/work.ml.nwSun Mar 11 15:17:48 2007 +0100 @@ -210,7 +210,7 @@ let new_question (cookie, q_desc) = log !! question already in base; { question_id_return_code = rt_already_exists; question_id_id = 0 } | Norm.Invalid_format - - log !! invalid quesiton format; + log !! invalid question format; { question_id_return_code = rt_bad_format; question_id_id = -1 } @ ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] demexp 0.8.1
Hi, Le Sat, 14 Oct 2006 21:49:01 +0200, David MENTRE [EMAIL PROTECTED] a écrit : I *think* you can use: $ grep 'v0.8.1' .hgtags |cut -f1 -d ' '|xargs hg update hg update can receive a tag name as argument: $ man hg [...] SPECIFYING SINGLE REVISIONS Mercurial accepts several notations for identifying individual revisions. [...] Any other string is treated as a tag name, which is a symbolic name associated with a revision identifier. Tag names may not contain the : character. [...] Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: PGP signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] Re: Before merging ketty's branch
Hi ! Le Fri, 13 Oct 2006 22:45:53 +0200, David MENTRE [EMAIL PROTECTED] a écrit : Yes. A clean fix (Caml_int CDuce type) is available in latest CDuce release (0.4.1 IIRC). As soon as Thomas updates his Debian package of cduce, I'll use that type and that should work out of the box on AMD64. cduce 0.4.1 is available in Debian unstable since 9 days, and will migrate to testing tomorrow. See http://packages.qa.debian.org/c/cduce.html Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: PGP signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] Compilation issue with demexp 0.7
Hi, Le Thu, 5 Oct 2006 05:26:30 +0200, ketty . [EMAIL PROTECTED] a écrit : Is there a patch for this one yet? I have the same problem. (forgot to mention that, sorry) Certainly: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/demexp/trunk/debian/patches/fix-static-compilation.dpatch?op=filerev=0sc=0 Sincerly, Thomas -- Thomas Petazzoni - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - http://www.toulibre.org http://www.{livret,agenda}dulibre.org ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] demexp 0.8.0 is out!!
Hi, Le Sun, 01 Oct 2006 16:30:43 +0200, David MENTRE [EMAIL PROTECTED] a écrit : I'm pleased to announce the availability of demexp 0.8.0: http://www.linux-france.org/~dmentre/demexp/latest-src/demexp-0.8.0.tar.gz The Debian package for Sid is available for my repository [1]. Packages for other distributions should be available soon, but some work is needed to produce them. Just to give an idea of the problem: - demexp now depends on ocaml-gettext - ocaml-gettext is not in Debian (but already packaged in the Debian OCaml SVN repository) - ocaml-gettext depends on ocaml-ast-analyze - ocaml-ast-analyze is not in Debian (but fortunately already packaged in the Debian OCaml SVN repository) Add to this: - ocaml-gettext packaging was buggy (wrong build-depends and depends) - ocaml-gettext depends on camomile which is buggy in Debian (bug #389470) - demexp depends on cameleon, which is buggy in Debian (doesn't generate native object file usable with ocamlopt) - demexp had also some troubles (static compilation + detection of config_file) So, besides demexp, I had to produce packages for ocaml-gettext, ocaml-ast-analyze, cameleon and camomile (they are all available on my Debian repository, for those who want to recompile demexp easily). And this is for unstable, which has the latest version of the different packages. I'm sure that packaging for stable will be a lot more fun ;) Do not hesitate to report bugs found in this package, Sincerly, Thomas [1] http://thomas.enix.org/DebianRepository -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: PGP signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] Compilation issue with demexp 0.7
Hi, Le Fri, 29 Sep 2006 20:05:55 +0200, David MENTRE [EMAIL PROTECTED] a écrit : The compilation log is available at http://thomas.enix.org/pub/log Well, I can't say nothing from such logs. After some thoughts, just an idea: all missing symbols come from gcrypt library. Have you it on your system? (libgcrypt11-dev on Debian Sarge). I made some progress on that front. In fact, the problem is that curl depends on libgnutls, which depends on libgcrypt and other libraries. curl - libgnutls - libgcrypt When doing dynamic linking, using -lgnutls is enough. However, when doing static linking, you *must* list all the libraries (even the one that you don't use directly, but that are used by other libraries you depend on). I have not yet found informations about this on the Web, but Julien Cristau (from the Debian OCaml Maintainer team) told this to me yesterday on IRC. And my experiments seems to validate this assertion. The same problem can be reproduced without any OCaml stuff. When I try to statically compile one of the simple example provided by libgnutls3-dev on Debian, it borks with the same errors. So, by adding -cclib -lgcrypt -ltasn1 -lgpg-error to the compilation lines of the static version of the server (both bytecode and native), I've been able to compile demexp 0.8 completely. However, the Debian package itself is not ready. Some work is still needed to do it. Sincerly, Thomas -- Thomas Petazzoni - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - http://www.toulibre.org http://www.{livret,agenda}dulibre.org ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] Compilation issue with demexp 0.7
Hi, Le Tue, 26 Sep 2006 22:17:09 +0200, David MENTRE [EMAIL PROTECTED] a écrit : No worry, you're welcome. Ok, so I'll annoy again the list with my compilation issues. Now that I have hacked camomile, cameleon and recompiled a few other things, the compilation of demexp 0.7 goes further. However, generation of the static version of the server fails with an incredible amount of messages. There are some warning messages like « warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking » (a dozen). And then, hundreds of error messages like « (.text+0xda): undefined reference to `gcry_mpi_print' /usr/lib/libgnutls.a(gnutls_dh.o): In function `gnutls_calc_dh_key' ». Everything seems to be related to the OCaml Curl module. But do you have an idea of what could be wrong ? The compilation log is available at http://thomas.enix.org/pub/log Thanks for your help, Thomas -- Thomas Petazzoni - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - http://www.toulibre.org http://www.{livret,agenda}dulibre.org ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
[Demexp-dev] Compilation issue with demexp 0.7
Hi, The compilation of demexp 0.7 fails for me: ocamlopt.opt -I net -I lib -I gtk2-clnt -I /usr/lib/ocaml/3.09.2/equeue -I /usr/lib/ocaml/3.09.2/rpc -I /usr/lib/ocaml/3.09.2/gz -I /usr/lib/ocaml/3.09.2/camlp4 -I /usr/lib/ocaml/3.09.2/ulex -I /usr/lib/ocaml/3.09.2/pcre -I /usr/lib/ocaml/3.09.2/netstring -I /usr/lib/ocaml/3.09.2/cgi -I /usr/lib/ocaml/3.09.2/curl -I /usr/lib/ocaml/3.09.2/expat -I /usr/lib/ocaml/3.09.2/camlp4 -I /usr/lib/ocaml/3.09.2/cduce -I /usr/lib/ocaml/3.09.2/fileutils -I /usr/lib/ocaml/3.09.2/gettext -I /usr/lib/ocaml/3.09.2/gettext -I /usr/lib/ocaml/3.09.2/gettext-stub -I /usr/lib/ocaml/3.09.2/cameleon -I +lablgtk2 -w Ale -c gtk2-clnt/miscUI.ml File gtk2-clnt/miscUI.ml.nw, line 129, characters 6-14: Warning Y: unused variable user_msg. File gtk2-clnt/miscUI.ml.nw, line 74, characters 9-43: Unbound type constructor Demexp_gladeui.progress_bar_window make: *** [gtk2-clnt/miscUI.cmx] Erreur 2 Any idea ? The file demexp_gladeui.ml really contains a class called progress_bar_window. Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: PGP signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] On web client, XML and ONC RPC and their integration with demexp
Hi, Le Thu, 31 Aug 2006 13:48:07 +0200, David MENTRE [EMAIL PROTECTED] a écrit : This leads me to a fourth approach: implement a XML RPC - ONC RPC proxy as an interface between the XML RPC side (Drupal) and the ONC RPC side (demexp server). It would act as a server on the XML RPC side and as a client on the ONC RPC side. This approach seems to me nicer because there is no need for a re-implementation of all server network API: the same ONC RPC interface is used for both the web and native clients on the server side. Moreover, such a proxy would be an independant software, with well defined interfaces, so easier to maintain, understand and modify. At first, I thought that this approach was overkill, but after thinking a bit about it, I think like David that it's the best option. It allows to not bloatify the code of the demexp server itself by not supporting two RPCs types, and it's better since we don't know if XML RPC will be kept on the long term. However, I suggest to be careful about the complexity of the demexp software. It's starting to be: - a server in OCaml with lots of dependencies, making it hard to compile when you're not using a good distribution (Debian) - a proxy in Python that uses unpackaged library (pyrpc) - a web client in PHP/Drupal which runs over Apache. For the newcomer, it's probably going to be harder and harder to get involved in the projet if so many languages, library and compilers are used, and if the architecture becomes more complex. Anyway, I think that the current experimentations around Drupal are a nice thing, and the motivation of Augustin is promising. Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: PGP signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] First XML RPC proxy available
Hi Augustin, Thanks for your work on motivation! Le Thu, 7 Sep 2006 23:50:04 +0800, Augustin [EMAIL PROTECTED] a écrit : But I'm making some progress already. I have a rough code outline. The main theming functions and the most important hooks are in place. Cron can already import and store the 270 questions (and the new ones, if any). I don't understand how Drupal interacts with the demexp server. From this paragraph, I understand that you make a replica of the questions of the demexp server on the Drupal side using a cron job. Am I understanding correctly ? Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: PGP signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] Compilation of demexp
Hi, On Mon, 16 Jan 2006 10:18:47 +0100 Sylvain Chevillard [EMAIL PROTECTED] wrote: srv/io.cmx srv/work.cmx srv/demexp-server.cmx ld: Undefined symbols: _camlAst _camlAtoms This was the kind of errors I had when trying to compile CDuce with OCaml 3.09 for the CDuce Debian package. I'm using the official distribution of Ocaml 3.09.1 downloaded from Ocaml's site and compiled from sources over a Powerbook (powerpc G4) under Mac OS X 10.3.9, Cduce 0.4.0 downloaded from http://www.cduce.org/download/cduce-0.4.0.tar.gz and demexp 0.7 downloaded from http://www.linux-france.org/~dmentre/demexp/latest-src The bug should have been fixed in OCaml 3.09.1, but I didn't try yet, because all libraries have not been recompiled with it in Debian. But, it seems that it still doesn't work. Maybe you can report your problem on the [EMAIL PROTECTED] list ? Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: PGP signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] camlgz, camlrpc, cduce for Ocaml 3.09
Hi, On Mon, 5 Dec 2005 23:35:16 +0100 Thomas Petazzoni [EMAIL PROTECTED] wrote: Moreover, the application that I use to test cduce, camlrpc and camlgz doesn't compile. I get a lot of messages like: /usr/lib/ocaml/3.09.0/cduce/cduce_lib.a(cduce_lib.o): In function `camlCduce_lib__code_begin': undefined reference to `camlStats' /usr/lib/ocaml/3.09.0/cduce/cduce_lib.a(cduce_lib.o): In function `camlCduce_lib__code_begin': undefined reference to `camlCustom' As expected, this is not a demexp issue, but an CDuce/Ocaml one. Serge Leblanc reported the same problem on the CDuce users list [1]. Alain Frisch mentionned that a patch was pending in the Ocaml BTS, and Serge tried but said that it still didn't work. I've just sent a mail inside this thread to mention that I have the same prroblem. Sincerly, Thomas [1] http://sympa.cduce.org/wws/arc/users/2005-11/msg00012.html -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: PGP signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
[Demexp-dev] Re: camlgz, camlrpc, cduce for Ocaml 3.09
Hi, Sven Luther wrote: I am curious, how does camlgz compare with camlzip ? Eric Cooper said on July, 29th: « I'd like to see this in Debian so I can use it in approx. Right now I am forking gunzip/bunzip2 processes with Sys.command (and that's still faster than using Camlzip). » On my side, I'm simply packaging it because the demexp project needs it. Maybe David Mentré (the demexp developer) will give his motivations behind the choice of camlgz instead of camlzip. Sincerly, Thomas -- Thomas Petazzoni [EMAIL PROTECTED] ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] demexp packages for Ubuntu Breezy
Hi, On Wed, 02 Nov 2005 01:03:23 +1100 skaller [EMAIL PROTECTED] wrote: Ooo .. does Breezy work yet? Have you been on another planet the last couple of weeks ? ;-) Ubuntu Breezy has been released on mid-October, and it has been discussed in many websites and mailing lists dedicated to Free Software ;) Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: PGP signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
[Demexp-dev] demexp packages for Ubuntu Breezy
Hello, demexp packages are now available for the Ubuntu Breezy distribution, by simply adding the following line to your /etc/apt/sources.list: deb http://thomas.enix.org/pub/debian/packages/breezy ./ demexp has also been recompiled against the new version 0.4.0 of CDuce. All the packages are now available for Debian Sarge, Debian Etch, Debian Sid, Ubuntu Hoary and Ubuntu Breezy. Of course, as I don't have an installation of Ubuntu Breezy, I was not able to test these packages. Do not hesitate to report encountered problems. Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: PGP signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
[Demexp-dev] Debian packages: new versions
Hi, Yesterday, I've updated the Debian packages of CDuce (to version 0.3.92) and CamlGz (to version 0.5.7). I've also recompiled demexp against these new versions of CDuce and CamlGz (and changed the 'latex' dependency to 'tetex-base'). The new demexp version is labelled 0.6.3-2. As usual, it's available from my Debian repository [1]. By the way, I've tried to use debarchiver and other tools to set up a real Debian repository, with signed packages and Release files, but didn't succeed. Does anyone have some experience with such tools, or other tools that allow to set up Debian repositories. Sincerly, Thomas [1] http://thomas.enix.org/DebianRepository -- Thomas Petazzoni [EMAIL PROTECTED] ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
[Demexp-dev] About OCaml Debian packaging
Hi, Stefano Zacchiroli, an OCaml Debian packager, which worked on CDuce with Alain Frisch, made a conference about OCaml and OCaml Debian packaging at LinuxTag 2005 (Germany). The slides of this presentation are available at: http://meetings-archive.debian.net/pub/debian-meetings/2005/linuxtag-karlsruhe/debianday/stefano_zacciroli-ocaml_debian.pdf There are very interesting informations about how OCaml applications, compilers and libraries are packaged inside Debian. By the way, http://meetings-archive.debian.net/pub/debian-meetings/ is a new repository set up by Debian, which will contain slides, videos and other reports of previous Debian-related conferences. Have a nice day, Thomas -- Thomas Petazzoni [EMAIL PROTECTED] ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] About OCaml Debian packaging
Hi, David MENTRE wrote: Regarding the rebuild of packages after an API change, I'm wondering why Debian developers don't setup a build infrastructure to systematically rebuild all packages. OCaml is not C++ and one can easily rebuild *all* ocaml packages of Debian in a reasonable amount of time. They are working on this, using a new debhelper called dh_ocaml. I didn't had time to look precisely at it, but you can read the presentation mail by Stefano at http://lists.debian.org/debian-ocaml-maint/2005/08/msg7.html. I think this will not rebuild automatically the packages, but will at least automatically report interface inconsistencies. And anyway, for people maintaining backport packages, this doesn't solve everything. When Debian developers will upload ocaml 3.08.4, I'll have to compile unstable packages for this version of the compiler, but keep testing and stable version against ocaml 3.08.3. Once the compiler will move to testing, I'll have to convert the testing package. But, hey, this is the funny part of packaging ! ;-) Sincerly, Thomas -- Thomas Petazzoni [EMAIL PROTECTED] ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
[Demexp-dev] Problem to see added questions
Hi, I'm facing a new problem with demexp. I'm running a personnal demexp-server, on which I'm able to login as root, thanks to the quick and dirty patch discussed a couple of days ago. Using the client, I'm able to add tags, add questions, put some tags inside questions, but I'm not able to see the questions. Tags are displayed on the left of the main demexp window, but questions are never displayed. However, I can see them from the « Classification » window, and when I add a question, the server says that it has been successfully added. I've tried to remove my ~/.demexp/ directory to see if the cache wasn't breaking the thing, but it still doesn't work. Ideas ? Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: OpenPGP digital signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] Problem with preference saving ?
Hi, David MENTRE wrote: This should work if you start the client with demexp://localhost:5 URL in the command line. Ok, works with the URL on the command line. However, I wasn't able to login on the locally running demexp server with root/demexp. Is it really the default root password ? Sincerly, Thomas -- Thomas Petazzoni [EMAIL PROTECTED] ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] Problem with preference saving ?
Hi, David MENTRE a écrit : 2005/9/27, Thomas Petazzoni [EMAIL PROTECTED]: However, I wasn't able to login on the locally running demexp server with root/demexp. Is it really the default root password ? Yes. I have checked in 0.6.2 sources, in participants.ml.nw: Function [[initialize_default_participant_base]] initializes the base of participants with an empty base containing only one participant: an administrator of name ``[[root]]'', of login ``[[demexp]]'' and belonging to the group [[administration_group]]. \nextchunklabel{code:root-login} participants.ml= let administration_group = admin let classification_group = classifier let initialize_default_participant_base () = the_participant_base := create_participant_base (); ignore(add_participant root demexp [administration_group; classification_group]); check_invariants () @ Have you tried following procedure? 1. demexp-gtk2-client demexp://localhost:5 2. In Preferences, set login/pass to root/demexp 3. quit and restart client with demexp-gtk2-client demexp://localhost:5 Okay, I've tried this. The client correctly sends root/demexp, according to the following 'ngrep': crazy:/home/thomas# ngrep -d lo port 5 interface: lo (127.0.0.0/255.0.0.0) filter: (ip or ip6) and ( port 5 ) T 127.0.0.1:34057 - 127.0.0.1:5 [AP] [EMAIL PROTECTED] ...rootdemexp.. However, I still got the « login invalid » dialog box. Here are the logs of the server when run with -d: [EMAIL PROTECTED]:~$ demexp-server -d 02005-09-27T22:16:26+0200 demexp server (0.6.2 -- U2: Unscalable Unsecure) demexp server comes with ABSOLUTELY NO WARRANTY. This program is free software, and you are welcome to redistribute it under certain conditions (see http://www.gnu.org/licenses/gpl.html). 02005-09-27T22:16:26+0200 server: use bases 'bases.dmxp' 02005-09-27T22:16:26+0200 File bases.dmxp does not exists. Don't load bases. 02005-09-27T22:16:26+0200 server: opening main socket (127.0.0.1:5) 02005-09-27T22:16:26+0200 server: ready 02005-09-27T22:16:28+0200 RPC login(1, root, **passw**) 02005-09-27T22:16:28+0200 = participant 'root' failed to log in, remains Anonymous (cookie:150854162) 02005-09-27T22:16:29+0200 RPC get_timestamps(150854162) 02005-09-27T22:16:29+0200 update timestamp list 02005-09-27T22:16:29+0200 RPC max_question_id(150854162) 02005-09-27T22:16:29+0200 = return max_question_id:-1 02005-09-27T22:16:29+0200 RPC max_tag_id(150854162) 02005-09-27T22:16:29+0200 = return max_tag:-1 I must be doing something really really wrong. But I can't see what. Is the message regarding the non-existing bases.dmxp a problem ? Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: OpenPGP digital signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] Problem with preference saving ?
Hi David, David MENTRE wrote: Did you try to specify a new default server different that tuxinette.linux-france.org:5? Did you launch the client with the URL of the new server in the command line? Here are the steps to reproduce (from my remembers): - rm -rf ~/.demexp* - demexp-client-gtk2 - warns about login as Anonymous - the client lists all question of tuxinette:5 - go in Edit-Preferences - change login to root/demexp, put something in delegate, and change server to localhost - save, quit the client - demexp-client-gtk2 - still the warning about login as Anonymous - client logged on tuxinette:5, and not localhost:5 Note: I might be doing something wrong. But I think it worked previously. Sincerly, Thomas -- Thomas Petazzoni [EMAIL PROTECTED] ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
[Demexp-dev] XDR _int32 attribute
Hi, While trying to compile the demexp XDR file with an other RPC generator, I found that this generator doesn't understand the « _int32 » attribute used at three places in the XDR file. I've grepped RFC 1014, and haven't found any occurence for this attribute. What is it ? Is it specific to ocamlrpcgen ? Defined in a revised RFC ? Thanks, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: OpenPGP digital signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
[Demexp-dev] Problem with preference saving ?
Hi, Today, when I tried to modify the preferences in my 0.6.2 demexp client, the new preferences were not taken into account when restarting the client. I've tried to remove my ~/.demexp/, tried with an other Unix user, same problem. I recompiled the tarball from scratch (in case of a trouble with the Debian packaging). Still the same problem. Am I the only one in this case ? Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: OpenPGP digital signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] Possible fix for the after classification bug
Hi, Felix HENRY a écrit : ocamlfind: Package `wd-xmlcompiler' not found I guess you need to compile ocaml-wdialog. (http://wdialog.sourceforge.net/) Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://thomas.enix.org - Jabber: [EMAIL PROTECTED] KOS: http://kos.enix.org/ - SOS: http://sos.enix.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: OpenPGP digital signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] Short doc to install ocamlgraph on Debian Sarge
Hello, David MENTRE wrote: Installing ocamlgraph on Debian Sarge = FWIW, a libocamlgraph-ocaml-dev package is available in Debian Sarge, Etch and Sid. Why do you need to compile it ? Because the Sarge version is too old ? Sincerly, Thomas -- Thomas Petazzoni [EMAIL PROTECTED] ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
[Demexp-dev] Re: Testing latest CDuce
Hello, David MENTRE wrote: Can you leave somewhere the old cduce package so I can roll back my cduce version to 0.3.2? CDuce 0.3.2 is available in sarge, etch and sid on all official mirrors, so it shouldn't be much of a trouble to roll back to this version ;-) Sincerly, Thomas -- Thomas Petazzoni [EMAIL PROTECTED] ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
[Demexp-dev] Re: [cduce-users] Problem while using cduce --mlstub
Hello, Alain Frisch wrote: I guess the problem comes from different behaviors between shells (they can put whatever they want in argv[0]). The next version of CDuce will get rid of the external tool. Okay, thanks. Will the other external tool mlcduce_wrapper disappear in next version ? Currently, CDuce intalls these externals tools in /usr/bin, but Debian policy doesn't like undocumented binaries in /usr/bin. Debian wants either man-documented binaries in /usr/bin, or private undocumented tools in /usr/lib/packagename/. To correctly package the current version of the CDuce, I would have to hack it to that I can move cdo2ml and mlcduce_wrapper to /usr/lib/cduce/. So, if these tools are going to disappear soon, I think I'll wait for the next version ;-) Sincerly, Thomas -- Thomas Petazzoni [EMAIL PROTECTED] ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] DemExp 0.4 compilation issue with CDuce 0.3.9
Hello, Thomas Petazzoni a écrit : I'm trying to compile DemExp 0.4 with CDuce 0.3.9, but I'm facing a compilation problem. The compilation process stalls at: I traced down the issue a bit further, and I come to the conclusion that cdo2ml doesn't work the way it worked, or it is buggy. Trying to manually run cdo2ml doesn't work (it waits forever). Running it with strace gives interesting stuff : $ strace cdo2ml -static 'srv/xml.cdo' /tmp/camlppef6c24 [...] _llseek(0, 0, 0xb720, SEEK_CUR) = -1 ESPIPE (Illegal seek) _llseek(1, 0, [0], SEEK_CUR)= 0 _llseek(2, 0, 0xb710, SEEK_CUR) = -1 ESPIPE (Illegal seek) read(0, unfinished ... It stalls on the read(0, system call. I have no idea why it doesn't work. And you ? ;-) Sincerly, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://thomas.enix.org - Jabber: [EMAIL PROTECTED] KOS: http://kos.enix.org/ - SOS: http://sos.enix.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: OpenPGP digital signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev
Re: [Demexp-dev] DemExp 0.4 compilation issue with CDuce 0.3.9
Hello, David MENTRE a écrit : A possible explanation: when you run cduce directly, the calling process cd to the directory where cduce lives and starts ./cduce, which does not happen if you give the absolute path. If the process calling cduce cd'ed into the cduce directory (i.e /usr/bin), then calling ./cdo2ml should work, because cdo2ml is in /usr/bin ;-) Yours, Thomas -- PETAZZONI Thomas - [EMAIL PROTECTED] http://thomas.enix.org - Jabber: [EMAIL PROTECTED] KOS: http://kos.enix.org/ - SOS: http://sos.enix.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7 signature.asc Description: OpenPGP digital signature ___ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev