[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/designer/src Instance.py schema/Instance.py
From: |
Jan Ischebeck |
Subject: |
gnue/designer/src Instance.py schema/Instance.py |
Date: |
Wed, 10 Jul 2002 12:05:18 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Jan Ischebeck <address@hidden> 02/07/10 12:05:18
Modified files:
designer/src : Instance.py
designer/src/schema: Instance.py
Log message:
add missing imports to fix designer not starting up.
add error message for empty wizard modules
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/designer/src/Instance.py.diff?tr1=1.55&tr2=1.56&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/designer/src/schema/Instance.py.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
Patches:
Index: gnue/designer/src/Instance.py
diff -c gnue/designer/src/Instance.py:1.55 gnue/designer/src/Instance.py:1.56
*** gnue/designer/src/Instance.py:1.55 Tue Jul 9 00:03:45 2002
--- gnue/designer/src/Instance.py Wed Jul 10 12:05:18 2002
***************
*** 26,36 ****
# NOTES:
#
! import sys, os, time
from wxPython.wx import *
from gnue.common import GDebug
from MenuBar import MainMenuBar
! from gnue.common import RuntimeSettings
from ToolFrame import ToolFrame
from gnue.designer import VERSION, PACKAGE
from gnue.designer.Debugger import DebugSession
--- 26,36 ----
# NOTES:
#
! import sys, os, time, dircache
from wxPython.wx import *
from gnue.common import GDebug
from MenuBar import MainMenuBar
! from gnue.common import RuntimeSettings,dyn_import
from ToolFrame import ToolFrame
from gnue.designer import VERSION, PACKAGE
from gnue.designer.Debugger import DebugSession
***************
*** 491,496 ****
--- 491,500 ----
'%s.%s' % (package.__name__,base)).TemplateInformation)
except ImportError:
pass
+ except AttributeError:
+ GDebug.printMesg(2,_('Wizard %s for package %s is missing'+
+ ' an \'TemplateInformation\' attribute.') %
+ (base,package.__name__))
return templates
#
Index: gnue/designer/src/schema/Instance.py
diff -c gnue/designer/src/schema/Instance.py:1.4
gnue/designer/src/schema/Instance.py:1.5
*** gnue/designer/src/schema/Instance.py:1.4 Tue Jul 9 00:03:45 2002
--- gnue/designer/src/schema/Instance.py Wed Jul 10 12:05:18 2002
***************
*** 31,36 ****
--- 31,37 ----
from gnue.designer.Instance import BaseInstance
from parser import GSParser, Objects
import Incubator
+ import wizards
# Tool support...
from LayoutEditor import LayoutEditor
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/designer/src Instance.py schema/Instance.py,
Jan Ischebeck <=