Yes, it does fix the value crash issue, however it breaks right-click.
The error spits out to the console as follows:
AttributeError: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/home/vadmin/Documents/Python-Src/trunk/leo/plugins/qtGui.py",
line 6146, in onContextMenu
h(c,p,menu)
File "/home/vadmin/Documents/Python-Src/trunk/leo/plugins/
contextmenu.py", line 158, in editnode_rclick
editor = g.guessExternalEditor()
File "/home/vadmin/Documents/Python-Src/trunk/leo/core/
leoGlobals.py", line 2168, in guessExternalEditor
g.app.db.db.get("LEO_EDITOR"))
Alex
On May 26, 8:34 am, "Edward K. Ream" <[email protected]> wrote:
> On Mon, May 24, 2010 at 5:21 PM, a'Lex Mumme <[email protected]> wrote:
> > A slew of other problems appears using --no-cache
>
> [snip]
>
> > File "/home/vadmin/Documents/Python-Src/trunk/leo/core/
> > leoAtFile.py", line 490, in read
> > s,loaded,fileKey = c.cacher.readFile(fileName,root)
> > ValueError: need more than 2 values to unpack
>
> I fixed this several days ago. The start of leoCache.py:readFile should have:
>
> if not g.enableDB:
> if trace: g.trace('g.enableDB is False')
> return '',False,None
>
> Does this fix ValueError crash?
>
> Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.