MIsc



So I'm trying to write an html importer. While trying
to setup storage here I found have some misc problems/questions.

- The script assume you are using gargamel as user. Is this patch ok ?

Index: create-storage-db.sh
===================================================================
RCS file: /cvs/gnome/storage/create-storage-db/create-storage-db.sh,v
retrieving revision 1.1
diff -u -r1.1 create-storage-db.sh
--- create-storage-db.sh        26 Aug 2003 00:06:38 -0000      1.1
+++ create-storage-db.sh        7 Sep 2003 12:34:36 -0000
@@ -1,4 +1,7 @@
 #!/bin/sh
-dropdb gargamel
-createdb gargamel
-psql -f create-storage-db
+
+DB_NAME=gargamel
+
+dropdb $DB_NAME
+createdb $DB_NAME
+psql -f create-storage-db $DB_NAME

- Redhat (>=8 I think) use a local setup for postgre by default.
This means you dont have to pass an host name. I'm not sure how we want
to handle this ... should we require rh users to change their config
or should we support hostname == NULL and use that by default ?

I'm not clear about user/password/host is going to work too. How
applications know what to pass for these values ?

- I get a crash in libstorage, on the binary test.

#0  _gnome_vfs_handle_do_write (handle=0x19, buffer=0x804a33b,
num_bytes=3221005800, bytes_written=0xbffca5e8, context=0x0)
    at gnome-vfs-handle.c:146
#1  0x00238422 in gnome_vfs_write_cancellable (handle=0x19,
buffer=0x804a33b, bytes=4, bytes_written=0xbffca5e8,
    context=0x0) at gnome-vfs-cancellable-ops.c:149
#2  0x0024a015 in gnome_vfs_write (handle=0x19, buffer=0x804a33b,
bytes=4, bytes_written=0xbffca5e8) at gnome-vfs-ops.c:209
#3  0x08049e52 in testBinary () at test-storage.c:237
#4  0x0804969a in main (argc=1, argv=0xbffca6f4) at test-storage.c:32
#5  0x00b3a678 in __libc_start_main () from /lib/tls/libc.so.6

Is this something known, before I start investigate it ?

- Any suggestion on what to use to parse html ? libwww maybe ?

Marco




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]