https://bugs.meego.com/show_bug.cgi?id=25596

           Summary: syncevolution fails for users without an active (kde)
                    session
    Classification: MeeGo Projects
           Product: SyncEvolution
          Platform: ---
           Version: unspecified
          Platform: Common
      Architecture: ---
            Status: NEW
          Severity: normal
          Priority: Undecided
         Component: SyncEvolution
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected],
                    [email protected]
   Estimated Hours: 0.0


Running syncevolution fails for a user without an active (kde) session: It only
outputs "sock_file=/.../socket-hostname/kdeinit4__0".

gdb outputs the following:

Starting program: /usr/bin/syncevolution 
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3200.4-gdb.py",
line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGABRT, Aborted.
0x00007ffff5323f55 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff5323f55 in raise () from /lib64/libc.so.6
#1  0x00007ffff53253c7 in abort () from /lib64/libc.so.6
#2  0x00007ffff207da1f in qt_message_output(QtMsgType, char const*) () from
/usr/lib64/qt4/libQtCore.so.4
#3  0x00007ffff1ad930c in QDebug::~QDebug() () from
/usr/lib64/../lib64/libkdeui.so.5
#4  0x00007ffff1bc5a6b in KApplicationPrivate::init(bool) () from
/usr/lib64/../lib64/libkdeui.so.5
#5  0x00007ffff1bc6ad8 in KApplication::KApplication(bool) () from
/usr/lib64/../lib64/libkdeui.so.5
#6  0x00007fffe9691c9c in SyncEvo::KDEInitMainSlot(char const*) () from
/usr/lib64/syncevolution/backends/platformkde.so
#7  0x00007ffff6dfc740 in boost::signals2::detail::signal1_impl<void, char
const*, boost::signals2::optional_last_value<void>, int, std::less<int>,
boost::function<void (char const*)>, boost::function<void
(boost::signals2::connection const&, char const*)>,
boost::signals2::mutex>::operator()(char const*) () from
/usr/lib64/libsyncevolution.so.0
#8  0x00007ffff6ded0cd in SyncEvo::SyncContext::initMain(char const*) () from
/usr/lib64/libsyncevolution.so.0
#9  0x00000000004135c8 in main ()
(gdb) quit
A debugging session is active.

This is an issue for source based distributions that build a new version of
syncevolution when an old version is installed.
The patching of the README.RST fails in line 2:

perl -e '$syncfound=0; $sourcefound=0; $res=0;' \
                -e 'sub run { $cmd = shift; $buffer = `env
LD_LIBRARY_PATH=src/syncevo/.libs:src/gdbus/.libs:src/gdbusxx/.libs:src/build-synthesis/src/.libs:$ENV{LD_LIBRARY_PATH}
$cmd`; die if $?; return $buffer; }' \
                -e 'while (<>) {' \
                -e 's/^:Version: .*/:Version: 1.2.99.3/;' \
                -e 's/:Date: .*/":Date: " . `date +%Y-%m-%d`/e;' \
                -e 'if (s;(<< see "syncevolution --sync-property ."
>>\n);run("src/syncevolution --daemon=no --sync-property ?") || $1;e) {
$syncfound=1; }' \
                -e 'if (s;(<< see "syncevolution --source-property ."
>>\n);run("src/syncevolution --daemon=no --source-property ?") || $1;e) {
$sourcefound=1; }' \
                -e 'print;' \
                -e '}' \
                -e 'die "<<sync-property>> tag not in README.rst?!" unless
$syncfound;' \
                -e 'die "<<source-property>> tag not in README.rst?!" unless
$sourcefound;' \
                -e 'exit $res;' \
                README.rst >README.patched.rst

Died at -e line 2, <> line 674.

This problem does not occur when syncevolution is not installed when building
it.

--------
Product: SyncEvolution
Component: SyncEvolution
MeeGo Release: unspecified
Severity: normal
Priority: Undecided
Keywords: 
Status: NEW
Who: [email protected]
Assigned To: [email protected]
Target Build: ---
Flags: 
Changed: 
--------

https://bugs.meego.com/show_bug.cgi?id=25596


-- 
Configure bugmail: https://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to