ofxclient icon indicating copy to clipboard operation
ofxclient copied to clipboard

Unable to run from cron

Open scanlom opened this issue 12 years ago • 0 comments

This library has been a fantastic help, thanks a lot for this.

I'm having trouble running this from cron though, as from cron dbus is not available. I've tried sourcing the DBUS_SESSION_BUS_ADDRESS variable in my cron job but that is a bit of a hack.

Do you know any way around this or use a different scheduling system?

The exception I get when DBUS is not available is when the password is accessed

File "/usr/local/lib/python2.7/dist-packages/ofxclient-1.3.8-py2.7.egg/ofxclient/client.py", line 202, in _field return "<"+tag+">"+value TypeError: cannot concatenate 'str' and 'NoneType' objects

Thanks, Mike

scanlom avatar Oct 06 '13 07:10 scanlom