View Single Post
Posts: 1,417 | Thanked: 2,619 times | Joined on Jan 2011 @ Touring
#38
Originally Posted by proprog View Post
Looks like maebble cannot find the config file at all. Probably something about the location of the file that isn't working, or that I have forgotten.
(snip for brevity)

EDIT: Just noticed that you get the message that the file cannot be read. Didn't someone have a problem with unicode in a previous post?
Maebble unicode error also mentioned here
https://talk.maemo.org/showpost.php?...8&postcount=26

this is with those changes

Code:
~/MyDocs/maebble $ mkdir /home/user/.config/maebble/
~/MyDocs/maebble $ cp maebble.cfg /home/user/.config/mae
bble/
~/MyDocs/maebble $ python maebbled.py --print_maemo
setup
!! Traceback (most recent call last):
!! File "maebbled.py", line 913, in configure
cfg.readfp(open(config_file, 'r'))
!! TypeError: coercing to Unicode: need string or buffer, bool found

could not read config file
!! Traceback (most recent call last):
!! File "maebbled.py", line 925, in configure
bt_address = cfg.get('btservice', 'address')
!! File "/usr/lib/python2.5/ConfigParser.py", line 511, in get
raise NoSectionError(section)
!! NoSectionError: No section: 'btservice'

find nearby devices
no device found
None
^CTraceback (most recent call last):
File "maebbled.py", line 1064, in <module>
loop.run()
KeyboardInterrupt

Last edited by biketool; 2017-09-03 at 16:49.