First of all thanks a lot for your allways valuable help ! 

After my *-bib files have become longer and longer, I decided to try with 
Leo and the bibtex.py plugin. Simply because I feel myself very confident 
with the Leos' possibilities for structuring the information.  

I had indeed already activated the bibtex.py plugin. The reactions under 
Linux was nothing. Under Windows XP better. Now the same problem arises 
under both operating systems. 

After having downloaded the fixed version on the trunk via git, I realized 
that now the behavior under Linux is much better, something happens. The 
templates are inserted as defined in the templates in the section << 
globals >> of bibtex.py, but writing and reading is still a problem on my 
Debian and XP systems. 

The global name "file" cannot be found. It is possible that I have simply 
to activate another plugin...? 

Below you find the output on the log pane and a list of the activated 
plugins on my system.

Again thanks in advance for any hint. 

Best regards,   Juaco

Log pane output
===============

Leo Log Window

Leo 5.0-final, build 20141127165348, Thu Nov 27 16:53:48 CST 2014

Git repo info: branch = master, commit = ad0392f8b698

Python 3.4.2, PyQt version 4.8.6
linux

reading: /media/juaco/KINGSTON/tmp/bibtex/ensayobib.leo

hook failed: headdclick1, <function onIconDoubleClick at 0x7f56cecdbd90>, 
leo.plugins.bibtex

Traceback (most recent call last):

  File 
"/dn/home2/Sistema/LoAbstracto/Leo/leoGit/leo-editor5.0_20141127/leo/core/leoPlugins.py",
 line 357, in callTagHandler
    result = handler(tag,keywords)

  File 
"/dn/home2/Sistema/LoAbstracto/Leo/leoGit/leo-editor5.0_20141127/leo/plugins/bibtex.py",
 line 173, in onIconDoubleClick
    bibFile = file(fname,'w')

NameError: name 'file' is not defined

reading: NTSonido.bib

hook failed: headdclick1, <function onIconDoubleClick at 0x7f56cecdbd90>, 
leo.plugins.bibtex

Traceback (most recent call last):

  File 
"/dn/home2/Sistema/LoAbstracto/Leo/leoGit/leo-editor5.0_20141127/leo/core/leoPlugins.py",
 line 357, in callTagHandler
    result = handler(tag,keywords)

  File 
"/dn/home2/Sistema/LoAbstracto/Leo/leoGit/leo-editor5.0_20141127/leo/plugins/bibtex.py",
 line 184, in onIconDoubleClick
    bibFile = file(fname,'r')

NameError: name 'file' is not defined


Activated plugins
==============
 
leo.plugins.todo          myLeoSettings.leo
leo.plugins.printing      myLeoSettings.leo
leo.plugins.stickynotes   myLeoSettings.leo
leo.plugins.quicksearch   myLeoSettings.leo
leo.plugins.contextmenu   myLeoSettings.leo
leo.plugins.bibtex        myLeoSettings.leo
leo.plugins.mod_scripting myLeoSettings.leo
leo.plugins.nav_qt        myLeoSettings.leo
leo.plugins.leo_to_html   myLeoSettings.leo
leo.plugins.viewrendered  myLeoSettings.leo
leo.plugins.plugins_menu  myLeoSettings.leospace

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to