Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399597 - net-mail/offlineimap-6.5.2 doesn't sync with error "'NoneType' object is not subscriptable"
Summary: net-mail/offlineimap-6.5.2 doesn't sync with error "'NoneType' object is not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Thomas Kahle (RETIRED)
URL: http://offlineimap.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-21 10:51 UTC by Stefan Wimmer
Modified: 2012-01-25 09:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Wimmer 2012-01-21 10:51:24 UTC
I'm not able to sync my IMAP-account to local Maildir with offlineimap-6.5.2 - it throws out the error ""'NoneType' object is not subscriptable". The same seems to happen as in discussed here (http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/5324). The same thread offers a solution (http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/5363) and in the meantime there is already a fix published (http://news.offlineimap.org/announce-offlineimap-6521-rc1-fixing-crashers).

Reproducible: Always

Steps to Reproduce:
1. run offlineimap
Actual Results:  
2. Doesn't sync with error "'NoneType' object is not subscriptable"

Expected Results:  
Successful sync of my remote mail-account.

emerge --info                                                                                                                                                        11:35:05
Portage 2.1.10.44 (default/linux/amd64/10.0, gcc-4.4.6, glibc-2.14.1-r2, 3.2.0-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.2.0-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_870_@_2.93GHz-with-gentoo-2.1
Timestamp of tree: Sat, 21 Jan 2012 02:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.2-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo lcd-filtering mpd xwing x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /et
c/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--color y --with-bdeps y --keep-going --quiet-build y"
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans u
serfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="--jobs=9 --load-average=8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/lcd-filtering /var/lib/layman/mpd /var/lib/layman/xwing /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 berkdb bzip2 cairo cli consolekit cracklib crypt cups cxx dbus device-mapper dirac dri encode exif flac fortran gdbm gif gphoto2 gpm gtk iconv id3 jpeg libnotify
 maildir mmx modules mp3 mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre png policykit pppd qt3support qt4 readline scanner semantic-desktop session sse sse2 ssl startup-
notification svg sysfs tcpd tiff truetype udev unicode vim-syntax vorbis x264 xorg xulrunner xvid zlib zsh-completion" ALSA_CARDS="hda-intel emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmi
x dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_
alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cach
e env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 
CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="directory ptp2 usb" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD
_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate
 tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VID
EO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account
"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2012-01-25 09:56:13 UTC
(In reply to comment #0)
> I'm not able to sync my IMAP-account to local Maildir with offlineimap-6.5.2 -
> it throws out the error ""'NoneType' object is not subscriptable". The same
> seems to happen as in discussed here
> (http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/5324). The same
> thread offers a solution
> (http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/5363) and in
> the meantime there is already a fix published
> (http://news.offlineimap.org/announce-offlineimap-6521-rc1-fixing-crashers).

Hi, thank you for your report.  We are following offlineimap development quite closely in Gentoo.  To fix your issue I have bumped the ebuild to 
6.5.2.1_rc1, but generally I'd prefer to only include the actual releases and not the release candidates in Gentoo.  If you need offlineimap for production use, please consider following the stable tree.

+*offlineimap-6.5.2.1_rc1 (25 Jan 2012)
+
+  25 Jan 2012; Thomas Kahle <tomka@gentoo.org> +offlineimap-6.5.2.1_rc1.ebuild:
+  bump to 6.5.2.1_rc1 to fix bug 399597