Skip to content

Instantly share code, notes, and snippets.

@pazz
pazz / gist:1490606
Created December 17, 2011 16:06
alot setup log
pazz@brick:~/testalot$ git clone [email protected]:pazz/alot.git
Cloning into alot...
remote: Counting objects: 4658, done.
remote: Compressing objects: 100% (1304/1304), done.
remote: Total 4658 (delta 3495), reused 4503 (delta 3342)
Receiving objects: 100% (4658/4658), 1.46 MiB | 370 KiB/s, done.
Resolving deltas: 100% (3495/3495), done.
pazz@brick:~/testalot$ cd alot/
pazz@brick:~/testalot/alot$ sudo ./setup.py install
@pazz
pazz / gist:1490611
Created December 17, 2011 16:09
alot root setup log
root@brick:~# git clone git://github.com/pazz/alot.git
Cloning into alot...
remote: Counting objects: 4658, done.
remote: Compressing objects: 100% (1304/1304), done.
remote: Total 4658 (delta 3495), reused 4503 (delta 3342)
Receiving objects: 100% (4658/4658), 1.46 MiB | 704 KiB/s, done.
Resolving deltas: 100% (3495/3495), done.
root@brick:~# cd alot/
root@brick:~/alot# python setup.py install
running install
@pazz
pazz / gist:1494756
Created December 18, 2011 23:04
alot testing setup log
pazz@brick:~/alot$ python --version
Python 2.7.1+
pazz@brick:~$ rm -r /home/pazz/.local/lib/python2.7/site-packages/alot*
pazz@brick:~$ git clone -b testing git://github.com/pazz/alot.git alot
Cloning into alot...
remote: Counting objects: 4720, done.
remote: Compressing objects: 100% (1196/1196), done.
remote: Total 4720 (delta 3543), reused 4686 (delta 3512)
@pazz
pazz / gist:1631189
Created January 18, 2012 05:36
offlineimap errors
pazz@brick:~$ offlineimap
OfflineIMAP 6.5.0
Licensed under the GNU GPL v2+ (v2 or any later version)
Account sync GMail:
*** Processing account GMail
Establishing connection to imap.gmail.com:993
Account sync UoE:
*** Processing account UoE
Establishing connection to imap.sms.ed.ac.uk:993
Folder INBOX [acc: GMail]:
><yeled> dtruss shows this when i "import notmuch"
><yeled> https://p.6core.net/p/hjopkn25vjuinli
I'm not sure, but this looks like it is trying to access
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so
whereas based on the other log, the library seems to have been installed into
/opt/local/lib/libnotmuch.2.dylib
@pazz
pazz / gist:2623562
Created May 6, 2012 18:03
alot debian
pazz@brick:~/projects/alot$ make builddeb
# build the source package in the parent directory
# then rename it to project_version.orig.tar.gz
`which python` setup.py sdist --dist-dir=../ --prune
running sdist
running check
warning: sdist: manifest template 'MANIFEST.in' does not exist (using default file list)
warning: sdist: standard file not found: should have one of README, README.txt
@pazz
pazz / gist:2623721
Created May 6, 2012 18:38
debian alot 2
dh_installlogrotate
dh_installpam
dh_installppp
dh_installudev
dh_installwm
dh_installxfonts
dh_installgsettings
dh_bugfiles
dh_ucf
dh_lintian
@pazz
pazz / gist:2624554
Created May 6, 2012 21:29
alot strace
execve("/home/pazz/.local/bin/alot", ["alot"], [/* 41 vars */]) = 0
Process 26147 attached
Process 26147 detached
--- SIGCHLD (Child exited) @ 0 (0) ---
Process 26211 attached
[pid 26211] execve("/home/pazz/bin/nottoomuch-addresses.sh", ["nottoomuch-addresses.sh", "patrick"], [/* 41 vars */]) = 0
Process 26212 attached
[pid 26212] execve("/bin/grep", ["grep", "-aiF", "patrick", "/home/pazz/.config/nottoomuch/ad"...], [/* 41 vars */]) = 0
Process 26212 detached
[pid 26211] --- SIGCHLD (Child exited) @ 0 (0) ---
@pazz
pazz / gist:2624609
Created May 6, 2012 21:32
alot strace
This file has been truncated, but you can view the full file.
execve("/home/pazz/.local/bin/alot", ["alot"], [/* 41 vars */]) = 0
brk(0) = 0xc49000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f02a2c000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=150747, ...}) = 0
mmap(NULL, 150747, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8f02a07000
close(3) = 0
#!/usr/bin/python
#
# Urwid tour. It slices, it dices..
# Copyright (C) 2004-2011 Ian Ward
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#