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

Bug#449066: marked as done (konsolekalendar: confuses relative paths containing a slash with remote URL)



Your message dated Sun, 18 Apr 2010 00:41:41 -0400
with message-id <t2g9f694b821004172141xabea79b2j78fdd61c3c6fe9bd@mail.gmail.com>
and subject line Closing bug # 449066
has caused the Debian Bug report #449066,
regarding konsolekalendar: confuses relative paths containing a slash with remote URL
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
449066: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=449066
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: konsolekalendar
Version: 4:3.5.8-1
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

the --file option of konsolekalendar is buggy. It thinks it handles
a remote URL instead of a local file if the given path contains a slash:

$ konsolekalendar  --file kalender/std.ics  --view  --date 2007-11-02 --time 00:00:00 --end-date 2007-11-02 --end-time 23:59:59
libkcal: ERROR: Can't read uid map file '/home/calvin/.kde/share/apps/kcal/uidmaps/remote_t0FzeVpdkg'

The attached patch fixes this by looking first for a local file, then
assuming it is remote.

Regards,
  Bastian

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-ck1treasure5 (PREEMPT)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages konsolekalendar depends on:
ii  kdelibs4c2a             4:3.5.8.dfsg.1-3 core libraries and binaries for al
ii  libc6                   2.6.1-6          GNU C Library: Shared libraries
ii  libgcc1                 1:4.2.2-3        GCC support library
ii  libkcal2b               4:3.5.8-1        KDE calendaring library
ii  libkdepim1a             4:3.5.8-1        KDE PIM library
ii  libqt3-mt               3:3.3.7-9        Qt GUI Library (Threaded runtime v
ii  libstdc++6              4.2.2-3          The GNU Standard C++ Library v3

konsolekalendar recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHK3U3eBwlBDLsbz4RAnTXAJ9rBdohuxjueaVaUAvgTK7CDigL1ACglZA2
bByn2zBrVXx2Z4CqG4cYKm4=
=0tdn
-----END PGP SIGNATURE-----
--- kdepim-3.5.8/konsolekalendar/main.cpp.orig	2006-07-22 10:14:27.000000000 +0200
+++ kdepim-3.5.8/konsolekalendar/main.cpp	2007-11-02 19:57:51.425194213 +0100
@@ -664,14 +664,16 @@
       variables.setCalendarFile( url.path() );
       exists = QFile::exists( variables.getCalendarFile() );
       remote = false;
-    } else if ( !variables.getCalendarFile().contains( '/' ) ) {
-      QFileInfo info( variables.getCalendarFile() );
-      variables.setCalendarFile( info.absFilePath() );
-      exists = QFile::exists( variables.getCalendarFile() );
-      remote = false;
     } else {
-      exists = true; // really have no idea if the remote file exists
-      remote = true;
+      QFileInfo info( variables.getCalendarFile() );
+      if (info.isFile()) {
+        variables.setCalendarFile( info.absFilePath() );
+        exists = QFile::exists( variables.getCalendarFile() );
+        remote = false;
+      } else {
+        exists = true; // really have no idea if the remote file exists
+        remote = true;
+      }
     }
 
     if ( create ) {

--- End Message ---
--- Begin Message ---
fixed. closing


--- End Message ---

Reply to: