Søndag 23 juli 2006 03:53 skrev Riku Leino:
Hi
matiphas@...9... wrote:
Hi again Rune,
i've downloaded da.po, de.po and fr.po from svn. Then compiled those files as inkscape.mo and placed them in my locale inkscape directory under windows (svn build from 19 July 2006). I get the same error as you when launching inkscape with the file generated from da.po, but no error with fr.po and de.po
Did the same thing here and both french and german works fine, still not danish though.
Ah, i guess you're right then. It indicates an issue with da.po.
Well, i'm going to test the previous versions of da.po you had sent us. So that you don't have to loose too much time/energy on this. Anyway thanks a lot for your commitment.
Was having the same issue with the fi.po too. After I saw the bt from gdb (below) I instantly remembered (sp_file_new_default()) I hadn't copied the "default.fi.svg" template to the share/inkscape/template directory. Once I did that everything worked ok.
#0 0x00002b366c8fdaa5 in raise () from /lib64/libc.so.6 #1 0x00002b366c8fee60 in abort () from /lib64/libc.so.6 #2 0x00002b366c412d24 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib64/libstdc++.so.6 #3 0x00002b366c410e56 in std::set_unexpected () from /usr/lib64/libstdc++.so.6 #4 0x00002b366c410e83 in std::terminate () from /usr/lib64/libstdc++.so.6 #5 0x00002b366c410f6a in __cxa_throw () from /usr/lib64/libstdc++.so.6 #6 0x00002b366c3ac7e7 in std::__throw_logic_error () from /usr/lib64/libstdc++.so.6 #7 0x00002b366c3efc79 in std::string::_S_copy_chars () from /usr/lib64/libstdc++.so.6 #8 0x00002b366c3efd82 in std::basic_string<char, std::char_traits<char>, std::a llocator<char> >::basic_string () from /usr/lib64/libstdc++.so.6 #9 0x00002b366907f4ce in Glib::ustring::ustring () from /opt/gnome/lib64/libglibmm-2.4.so.1 #10 0x0000000000584368 in sp_file_new_default () #11 0x0000000000577f59 in sp_main_gui () #12 0x0000000000578382 in main ()
Hi Riku
I tried creating a default.da.svg to the templates directory, even though I did not translate the name in the da.po file yet. Here's the trace:
runerl $ gdb /home/runerl/inkscape-test/bin/inkscape GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run Starting program: /home/runerl/inkscape-test/bin/inkscape [Thread debugging using libthread_db enabled] [New Thread -1226778960 (LWP 24999)] terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid
Program received signal SIGABRT, Aborted. [Switching to Thread -1226778960 (LWP 24999)] 0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb6e63d3d in raise () from /lib/tls/libc.so.6 #2 0xb6e65353 in abort () from /lib/tls/libc.so.6 #3 0xb7b43793 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 #4 0xb7b415cd in __cxa_call_unexpected () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 #5 0xb7b41602 in std::terminate () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 #6 0xb7b41755 in __cxa_throw () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 #7 0xb7ae294f in std::__throw_logic_error () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 #8 0xb7b23c10 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 #9 0xb7b23cd2 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 #10 0xb7bd776b in Glib::ustring::ustring () from /usr/lib/libglibmm-2.4.so.1 #11 0x08082b85 in sp_file_new_default () at file.cpp:133 #12 0x08073c97 in sp_main_gui (argc=1, argv=0xbfa752f4) at main.cpp:639 #13 0x0816a9ac in Inkscape::NSApplication::Application::run (this=0xbfa75230) at application.cpp:117 #14 0x0807366b in main (argc=1, argv=0xbfa752f4) at main.cpp:489 (gdb) quit
I'm runnning out of possible solutions here. Whaa!
Best regards Rune