Bug#498737: (no subject)

2008-09-30 Thread Daniel Rittmeyer
You can't find wx-config via packages.debian.org because it is only a 
(indirect) link to /usr/lib/wx/config/gtk2-unicode-release-2.6:

/usr/bin/wx-config - /etc/alternatives/wx-config
/etc/alternatives/wx-config - /usr/lib/wx/config/gtk2-unicode-release-2.6

These links are installed by the postinst script of the 
package libwxgtk2.6-dev
So you have to install libwxgtk2.6-dev (or libwxgtk2.8-dev).

This statement is also valid for version 2.8 (replace 2.6 by 2.8).

Maybe the manpage of wx-config is in the wrong package?

Would it be reasonable to add the keyword wx-config to the package 
description of libwxgtk2.6-dev and libwxgtk2.8-dev?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#407201: python-libgmail: Can not read files from GmailFS

2007-01-16 Thread Daniel Rittmeyer
Package: python-libgmail
Version: 0.1.5.1-2
Severity: important

I mount gmailfs:
mount.gmailfs none /mnt/gmail -o 
username=my_username,password=my_password,fsname=fs_name

Copy a file to gmail:
cp ~/test.txt /mnt/gmail

However, when trying to read a file:
cat /mnt/gmail/test.txt

I get this error:

Traceback (most recent call last):
  File /usr/lib/python2.4/site-packages/gmailfs.py, line 983, in read
buf = f.read(readlen,offset)
  File /usr/lib/python2.4/site-packages/gmailfs.py, line 489, in read
outbuf[upto:] = 
self.readFromGmail((offset+upto)/self.blocksize,0)[readoffset:readoffset+thisread]
  File /usr/lib/python2.4/site-packages/gmailfs.py, line 519, in readFromGmail
a = msg.attachments[0]
IndexError: list index out of range


Therefore I compared libgmail.py from v0.1.5.1-1 with the one from v0.1.5.1-2 
(and also v0.1.5.1+cvs20070102)
and found out, that there is a difference which causes this error:

0.1.5.1-1:
line 1418
self.attachments = [GmailAttachment(self, attachmentInfo)
for attachmentInfo in msgData[MI_ATTACHINFO]]

0.1.5.1-2:
line 1430
self.attachments = [GmailAttachment(self, attachmentInfo)
for attachmentInfo in msgData[MI_ATTACHINFO-1]]


If I change MI_ATTACHINFO-1 to MI_ATTACHINFO I can read files from GmailFS and 
everything works for me.




-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages python-libgmail depends on:
ii  python2.4.4-2An interactive high-level object-o
ii  python-central0.5.12 register and build utility for Pyt

python-libgmail recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]