Re: Tried out Agide, some bugs

Bram Moolenaar <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Tim Hemel wrote:

> Some helpful information, that was hiding in my xterm:
> 
> Traceback (most recent call last):
>   File "/home/tim/aap/Agide/NavTree.py", line 163, in OnRightUp
>     name = program_path(name)
> NameError: global name 'program_path' is not defined

The program_path() function was moved to another module in Aap.  That is
easy to fix:


*** NavTree.py~	Sun Aug  3 15:13:02 2003
--- NavTree.py	Wed Aug 27 12:06:51 2003
***************
*** 160,165 ****
--- 160,166 ----
              if actyitem.node:
                  name = actyitem.node.name
                  if not os.path.exists(name):
+                     from RecPython import program_path
                      name = program_path(name)
                  if os.access(name, os.X_OK):
                      menu.Append(ID_CMENU_EXECUTE, _("&Execute"),

-- 
hundred-and-one symptoms of being an internet addict:
236. You start saving URL's in your digital watch.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.