LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   memacs a helper app for emacs orgmode; has anyone at slackware got it running? (http://www.linuxquestions.org/questions/slackware-14/memacs-a-helper-app-for-emacs-orgmode%3B-has-anyone-at-slackware-got-it-running-4175479288/)

emgee_1 10-02-2013 02:55 AM

memacs a helper app for emacs orgmode; has anyone at slackware got it running?
 
Hi slackers,

I want to extend emacs orgmode with memacs.

memacs is supposed to give your more context in your agenda view in emacs orgmode:
you pick a date and it shows you your agenda; if you want more context then memacs can give you the files you saved on that date; the pictures you took on that date the tweets you made etc.

Now memacs is a set of helper apps in python

You are required to set up a virtual environment using virtualenv,
setting you pythonpath and install memacs using pip.

I used sbopkg to install pip and its dependecies set the pythonpath and startedmemacs but get python errors.

Has anyone here at slackware attempted to use memacs?

https://github.com/novoid/Memacs/blo..._Practices.org

Thank you in advance


the errors are:
Quote:

Traceback (most recent call last):
File "/home/slack/memacs-pip/lib/python2.7/site-packages/memacs/lib/memacs.py", line 183, in handle_main
self.__init()
File "/home/slack/memacs-pip/lib/python2.7/site-packages/memacs/lib/memacs.py", line 130, in __init
timestamp_delta=self._args.timestamp_delta)
File "/home/slack/memacs-pip/lib/python2.7/site-packages/memacs/lib/orgwriter.py", line 54, in __init__
logging.debug("orgwriter: timestamp_delta found: " + timestamp_delta)
TypeError: cannot concatenate 'str' and 'NoneType' objects
Traceback (most recent call last):
File "bin/memacs_filenametimestamps.py", line 39, in <module>
memacs.handle_main()
File "/home/slack/memacs-pip/lib/python2.7/site-packages/memacs/lib/memacs.py", line 183, in handle_main
self.__init()
File "/home/slack/memacs-pip/lib/python2.7/site-packages/memacs/lib/memacs.py", line 130, in __init
timestamp_delta=self._args.timestamp_delta)
File "/home/slack/memacs-pip/lib/python2.7/site-packages/memacs/lib/orgwriter.py", line 54, in __init__
logging.debug("orgwriter: timestamp_delta found: " + timestamp_delta)
TypeError: cannot concatenate 'str' and 'NoneType' objects
and my .profile where my pythonpath is set
Quote:

eval `dircolors ~/.dir_colors/dircolors.ansi-light `
export LANG=en_US.UTF8
export PYTHONPATH=$PYTHONPATH:/home/slack/memacs-pip/
Regards

Marcel

NoStressHQ 10-02-2013 08:07 PM

Not a Python programer, neither a memacs user ( bad at organizing myself :) )... Anyway your error seems to be:

Code:

logging.debug("orgwriter: timestamp_delta found: " + timestamp_delta)
TypeError: cannot concatenate 'str' and 'NoneType' objects

A quick google search informs that what it seems is that timestamp_delta is not a string...
For some reason... You might want to search around that, maybe you're missing some dependency and the type is unknown ?

Just a hint...


All times are GMT -5. The time now is 01:30 AM.