LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-02-2013, 02:55 AM   #1
emgee_1
Member
 
Registered: Aug 2009
Location: Nijmegen, The Netherlands
Distribution: Slackware 14
Posts: 41

Rep: Reputation: 6
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
 
Old 10-02-2013, 08:07 PM   #2
NoStressHQ
Member
 
Registered: Apr 2010
Location: Lausanne - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware Leet - 32/64bit
Posts: 317

Rep: Reputation: 109Reputation: 109
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...

Last edited by NoStressHQ; 10-02-2013 at 08:09 PM. Reason: Oh typos...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs: Tips for running python code within emacs gripip Linux - Newbie 0 10-02-2010 02:54 AM
Thunderbird and Image Magick as a "helper app" dguy Linux - Desktop 3 02-06-2008 06:55 AM
emacs - html-helper-mode- edit template flebber Programming 3 12-12-2007 11:02 PM
Acrobat5.06 as a Mozilla Helper App raypen Slackware 1 02-08-2006 01:09 AM
Mozzilla as helper app in Evoloution ekp Linux - Software 0 06-24-2003 02:00 PM


All times are GMT -5. The time now is 10:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration