]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> [IRCServices Coding] xml-import | |
5 | </TITLE> | |
6 | <LINK REL="Index" HREF="index.html" > | |
7 | <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.esper.net?Subject=%5BIRCServices%20Coding%5D%20xml-import&In-Reply-To=debb3bc0601160605g5c7f8f6dvaaab83f37407631%40mail.gmail.com"> | |
8 | <META NAME="robots" CONTENT="index,nofollow"> | |
9 | <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> | |
10 | <LINK REL="Previous" HREF="003183.html"> | |
11 | <LINK REL="Next" HREF="003186.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices Coding] xml-import</H1> | |
15 | <B>Vitaliy Ovsyannikov</B> | |
16 | <A HREF="mailto:ircservices-coding%40ircservices.esper.net?Subject=%5BIRCServices%20Coding%5D%20xml-import&In-Reply-To=debb3bc0601160605g5c7f8f6dvaaab83f37407631%40mail.gmail.com" | |
17 | TITLE="[IRCServices Coding] xml-import">V.Ovsyannikov at kr.ru | |
18 | </A><BR> | |
19 | <I>Mon Jan 16 21:22:21 PST 2006</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="003183.html">[IRCServices Coding] xml-import | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="003186.html">[IRCServices Coding] xml-import | |
24 | </A></li> | |
25 | <LI> <B>Messages sorted by:</B> | |
26 | <a href="date.html#3185">[ date ]</a> | |
27 | <a href="thread.html#3185">[ thread ]</a> | |
28 | <a href="subject.html#3185">[ subject ]</a> | |
29 | <a href="author.html#3185">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>Hello, IRC. | |
35 | ||
36 | ><i> You need to to add the -import parameter with the XML file name when | |
37 | </I>><i> starting Services. | |
38 | </I> | |
39 | I've got troubles! With database/standard: | |
40 | All data is imported well, but services exited on segm. fault. | |
41 | Here is backtrace from core file: | |
42 | ||
43 | (gdb) bt | |
44 | #0 0x281c061e in write_string (s=0xc <Address 0xc out of bounds>, f=0x82e2000) at modules/database/fileutil.c:398 | |
45 | #1 0x281bf951 in standard_save_table (table=0x282220bc) at modules/database/standard.c:734 | |
46 | #2 0x08050295 in save_all_dbtables () at databases.c:128 | |
47 | #3 0x080525f5 in init (ac=3, av=0xbfbfec00) at init.c:952 | |
48 | #4 0x08054d8d in main (ac=3, av=0xbfbfec00, envp=0xbfbfec10) at main.c:216 | |
49 | ||
50 | All .sdb files look good except whis one: | |
51 | chan-access.sdb.new | |
52 | ||
53 | I've deleted this file and run ircservices anyway and got segmentation | |
54 | fault again. Backtrace: | |
55 | ||
56 | #0 0x281f7cfd in new_nickgroupinfo (seed=0x10 <Address 0x10 out of bounds>) at modules/nickserv/util.c:102 | |
57 | 102 modules/nickserv/util.c: No such file or directory. | |
58 | in modules/nickserv/util.c | |
59 | (gdb) bt | |
60 | #0 0x281f7cfd in new_nickgroupinfo (seed=0x10 <Address 0x10 out of bounds>) at modules/nickserv/util.c:102 | |
61 | #1 0x281beeb8 in standard_load_table (table=0x281fca48) at modules/database/standard.c:411 | |
62 | #2 0x0805019c in register_dbtable (table=0x281fca48) at databases.c:78 | |
63 | #3 0x281f5d76 in init_module () at modules/nickserv/main.c:2725 | |
64 | #4 0x0805813b in load_module (modulename=0x808e120 "nickserv/main") at modules.c:424 | |
65 | #5 0x080525a9 in init (ac=2, av=0xbfbfec28) at init.c:937 | |
66 | #6 0x08054d8d in main (ac=2, av=0xbfbfec28, envp=0xbfbfec34) at main.c:216 | |
67 | ||
68 | With database/version4: | |
69 | services just imported the data and exited with message in | |
70 | ircservices.log: Terminating, reason unknown | |
71 | Starting it up says: (database/version4) Invalid format in chan.db | |
72 | And services continue to work with no registered channels at all. | |
73 | ||
74 | Nicknames are okay. | |
75 | Please give me some ideas why channels importing doesn't work. | |
76 | Thanks. | |
77 | ||
78 | -- | |
79 | Sincerely, | |
80 | Vitaliy Ovsyannikov | |
81 | JSC Skala, Krasnoyarsk, Russia | |
82 | ||
83 | </PRE> | |
84 | ||
85 | ||
86 | <!--endarticle--> | |
87 | <HR> | |
88 | <P><UL> | |
89 | <!--threads--> | |
90 | <LI>Previous message: <A HREF="003183.html">[IRCServices Coding] xml-import | |
91 | </A></li> | |
92 | <LI>Next message: <A HREF="003186.html">[IRCServices Coding] xml-import | |
93 | </A></li> | |
94 | <LI> <B>Messages sorted by:</B> | |
95 | <a href="date.html#3185">[ date ]</a> | |
96 | <a href="thread.html#3185">[ thread ]</a> | |
97 | <a href="subject.html#3185">[ subject ]</a> | |
98 | <a href="author.html#3185">[ author ]</a> | |
99 | </LI> | |
100 | </UL> | |
101 | ||
102 | </body></html> |