Changeset 168
- Timestamp:
- 08/28/06 16:54:51 (2 years ago)
- Files:
-
- PleiadesThesauri/trunk/PleiadesThesauri/Extensions/AppInstall.py (modified) (7 diffs)
- PleiadesThesauri/trunk/PleiadesThesauri/Extensions/Install.py (modified) (8 diffs)
- PleiadesThesauri/trunk/PleiadesThesauri/Term.py (modified) (4 diffs)
- PleiadesThesauri/trunk/PleiadesThesauri/Thesauri.py (modified) (6 diffs)
- PleiadesThesauri/trunk/PleiadesThesauri/Thesaurus.py (modified) (4 diffs)
- PleiadesThesauri/trunk/PleiadesThesauri/__init__.py (modified) (4 diffs)
- PleiadesThesauri/trunk/PleiadesThesauri/config.py (modified) (1 diff)
- PleiadesThesauri/trunk/PleiadesThesauri/version.txt (modified) (1 diff)
- PleiadesThesauri/trunk/archgenxml.log (modified) (113 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
PleiadesThesauri/trunk/PleiadesThesauri/Extensions/AppInstall.py
r166 r168 5 5 6 6 def install(self): 7 """ 8 Custom installation for the PleiadesThesauri product. 9 """ 7 10 installThesauri(self) 8 11 9 12 def installThesauri(self): 13 """ 14 Custom installation of specific thesauri to be managed with the PleiadesThesauri product. This code 15 looks in a subdirectory for a file with a name specified by VOCABLISTFILE (imported from AppConfig.py). 16 The contents of this file are parsed to get a list of other vdex xml files, which are loaded for installation 17 as individual thesauri. 18 """ 10 19 logger = logging.getLogger(PROJECTNAME + '.AppInstall.installThesauri') 11 20 th_list_path = os.path.join(os.environ['INSTANCE_HOME'], 'Products', PROJECTNAME, 'thesauri') … … 17 26 18 27 def installThesaurus(self, th_file_path): 28 """ 29 The full path to a vdex xml file containing a thesaurus is passed to this function. It parses the file 30 and creates appropriate content (a *thesaurus* with subordinate *terms*) in the portal_thesauri 31 tool. 32 """ 19 33 logger = logging.getLogger(PROJECTNAME + '.AppInstall.installThesaurus') 20 34 th_dom = getXMLDOM(th_file_path) … … 22 36 23 37 def getText(nodelist): 38 """ 39 Provides a concatenated string version of the content of all subordinate text nodes in the passed 40 node list. 41 """ 24 42 alltext = "" 25 43 for node in nodelist: … … 37 55 38 56 def handleTerms(terms): 57 """ 58 Loops through a list of term nodes, calling a handler for each node. 59 """ 39 60 for term in terms: 40 61 handleTerm(term) … … 43 64 logger.info('handleTerm = ' + getText(term.childNodes)) 44 65 66 # create a new thesaurus in portal_thesauri 67 # set new thesaurus title = vocabName 68 # set new thesaurus identifier = vocabIdentifier 69 # leave new thesaurus description empty (there's nothing in vdex to correspond) 70 # for each term in the thesaurus 71 # create a new term in this thesaurus 72 # title = english caption of term 73 # identifier = termIdentifier 74 # description = english description 45 75 handleVocabName(thesaurus[0].getElementsByTagName("vocabName")[0]) 46 76 handleVocabIdentifier(thesaurus[0].getElementsByTagName("vocabIdentifier")[0]) … … 50 80 51 81 def getThesaurusList(self, th_list_path, th_list_file): 82 """ 83 Loads the specified xml file and parses it in order to construct a python list of the individual 84 thesaurus files that are to be installed. 85 """ 52 86 th_list = [] 53 87 th_list_dom = getXMLDOM(os.path.join(th_list_path, th_list_file)) … … 59 93 60 94 def getXMLDOM(file_path): 95 """ 96 Opens and reads the indicated file, parsing the contents into a minidom, which is returned to the 97 calling function. 98 """ 61 99 xmlfile = open(file_path, 'r') 62 100 xmldom = parse(xmlfile) PleiadesThesauri/trunk/PleiadesThesauri/Extensions/Install.py
r161 r168 1 # -*- coding: utf-8 -*- 2 # 1 3 # File: Install.py 2 4 # 3 5 # Copyright (c) 2006 by [] 4 # Generator: ArchGenXML Version 1. 4.16 # Generator: ArchGenXML Version 1.5.0 5 7 # http://plone.org/products/archgenxml 6 8 # … … 69 71 install_subskin(self, out, GLOBALS) 70 72 71 72 73 #autoinstall tools 73 # autoinstall tools 74 74 portal = getToolByName(self,'portal_url').getPortalObject() 75 75 for t in ['Thesauri']: … … 84 84 if e[0] != 'Bad Request': 85 85 raise 86 #hide tools in the navigation 86 87 # hide tools in the search form 88 portalProperties = getToolByName(self, 'portal_properties', None) 89 if portalProperties is not None: 90 siteProperties = getattr(portalProperties, 'site_properties', None) 91 if siteProperties is not None and siteProperties.hasProperty('types_not_searched'): 92 for tool in ['Thesauri']: 93 current = list(siteProperties.getProperty('types_not_searched')) 94 if tool not in current: 95 current.append(tool) 96 siteProperties.manage_changeProperties(**{'types_not_searched' : current}) 97 98 # remove workflow for tools 99 portal_workflow = getToolByName(self, 'portal_workflow') 100 for tool in ['Thesauri']: 101 portal_workflow.setChainForPortalTypes([tool], '') 102 103 # uncatalog tools 104 for toolname in ['portal_thesauri']: 105 try: 106 portal[toolname].unindexObject() 107 except: 108 pass 109 110 # hide tools in the navigation 87 111 portalProperties = getToolByName(self, 'portal_properties', None) 88 112 if portalProperties is not None: 89 113 navtreeProperties = getattr(portalProperties, 'navtree_properties', None) 90 if navtreeProperties: 91 navtreeProperties.idsNotToList = list(navtreeProperties.idsNotToList) + \ 92 [toolname for toolname in ['portal_thesauri'] \ 93 if toolname not in navtreeProperties.idsNotToList] 114 if navtreeProperties is not None and navtreeProperties.hasProperty('idsNotToList'): 115 for toolname in ['portal_thesauri']: 116 current = list(navtreeProperties.getProperty('idsNotToList')) 117 if toolname not in current: 118 current.append(toolname) 119 navtreeProperties.manage_changeProperties(**{'idsNotToList' : current}) 120 94 121 95 122 # try to call a workflow install method 96 123 # in 'InstallWorkflows.py' method 'installWorkflows' 97 124 try: 98 installWorkflows = ExternalMethod('temp', 99 'temp', 100 PROJECTNAME+'.InstallWorkflows', 125 installWorkflows = ExternalMethod('temp', 'temp', 126 PROJECTNAME+'.InstallWorkflows', 101 127 'installWorkflows').__of__(self) 102 128 except NotFound: … … 114 140 factory_tool = getToolByName(self,'portal_factory') 115 141 factory_types=[ 142 "Thesaurus", 143 "Term", 144 "Thesauri", 116 145 ] + factory_tool.getFactoryTypes().keys() 117 146 factory_tool.manage_setPortalFactoryTypes(listOfTypeIds=factory_types) … … 170 199 out = StringIO() 171 200 201 # unhide tools in the search form 202 portalProperties = getToolByName(self, 'portal_properties', None) 203 if portalProperties is not None: 204 siteProperties = getattr(portalProperties, 'site_properties', None) 205 if siteProperties is not None and siteProperties.hasProperty('types_not_searched'): 206 for tool in ['Thesauri']: 207 current = list(siteProperties.getProperty('types_not_searched')) 208 if tool in current: 209 current.remove(tool) 210 siteProperties.manage_changeProperties(**{'types_not_searched' : current}) 211 172 212 # unhide tools 173 213 portalProperties = getToolByName(self, 'portal_properties', None) 174 214 if portalProperties is not None: 175 215 navtreeProperties = getattr(portalProperties, 'navtree_properties', None) 176 if navtreeProperties :177 navtreeProperties.idsNotToList = list(navtreeProperties.idsNotToList)178 for toolname in [toolname for toolname in ['portal_thesauri'] \179 if toolname not in navtreeProperties.idsNotToList]:180 if toolname in navtreeProperties.idsNotToList:181 navtreeProperties. idsNotToList.remove(toolname)216 if navtreeProperties is not None and navtreeProperties.hasProperty('idsNotToList'): 217 for toolname in ['portal_thesauri']: 218 current = list(navtreeProperties.getProperty('idsNotToList')) 219 if toolname in current: 220 current.remove(toolname) 221 navtreeProperties.manage_changeProperties(**{'idsNotToList' : current}) 182 222 183 223 # try to call a workflow uninstall method … … 185 225 try: 186 226 uninstallWorkflows = ExternalMethod('temp', 'temp', 187 PROJECTNAME+'.InstallWorkflows', 227 PROJECTNAME+'.InstallWorkflows', 188 228 'uninstallWorkflows').__of__(self) 189 229 except NotFound: … … 200 240 # in 'AppInstall.py' method 'uninstall' 201 241 try: 202 uninstall = ExternalMethod('temp', 'temp', 242 uninstall = ExternalMethod('temp', 'temp', 203 243 PROJECTNAME+'.AppInstall', 'uninstall') 204 244 except: … … 216 256 217 257 return out.getvalue() 258 259 def beforeUninstall(self, reinstall, product, cascade): 260 """ try to call a custom beforeUninstall method in 'AppInstall.py' 261 method 'beforeUninstall' 262 """ 263 out = StringIO() 264 try: 265 beforeuninstall = ExternalMethod('temp', 'temp', 266 PROJECTNAME+'.AppInstall', 'beforeUninstall') 267 except: 268 beforeuninstall = [] 269 270 if beforeuninstall: 271 print >>out, 'Custom beforeUninstall:' 272 res = beforeuninstall(self, reinstall=reinstall 273 , product=product 274 , cascade=cascade) 275 if res: 276 print >>out, res 277 else: 278 print >>out, 'no output' 279 else: 280 print >>out, 'no custom beforeUninstall' 281 return (out,cascade) 282 283 def afterInstall(self, reinstall, product): 284 """ try to call a custom afterInstall method in 'AppInstall.py' method 285 'afterInstall' 286 """ 287 out = StringIO() 288 try: 289 afterinstall = ExternalMethod('temp', 'temp', 290 PROJECTNAME+'.AppInstall', 'afterInstall') 291 except: 292 afterinstall = None 293 294 if afterinstall: 295 print >>out, 'Custom afterInstall:' 296 res = afterinstall(self, product=None 297 , reinstall=None) 298 if res: 299 print >>out, res 300 else: 301 print >>out, 'no output' 302 else: 303 print >>out, 'no custom afterInstall' 304 return out PleiadesThesauri/trunk/PleiadesThesauri/Term.py
r161 r168 1 # -*- coding: utf-8 -*- 2 # 1 3 # File: Term.py 2 4 # 3 5 # Copyright (c) 2006 by [] 4 # Generator: ArchGenXML Version 1. 4.16 # Generator: ArchGenXML Version 1.5.0 5 7 # http://plone.org/products/archgenxml 6 8 # … … 66 68 67 69 class Term(BaseContent): 70 """ 71 """ 68 72 security = ClassSecurityInfo() 69 73 __implements__ = (getattr(BaseContent,'__implements__',()),) … … 77 81 filter_content_types = 0 78 82 global_allow = 0 79 allow_discussion = False80 83 #content_icon = 'Term.gif' 81 84 immediate_view = 'base_view' … … 95 98 96 99 97 registerType(Term, PROJECTNAME)100 registerType(Term, PROJECTNAME) 98 101 # end of class Term 99 102 PleiadesThesauri/trunk/PleiadesThesauri/Thesauri.py
r166 r168 1 # -*- coding: utf-8 -*- 2 # 1 3 # File: Thesauri.py 2 4 # 3 5 # Copyright (c) 2006 by [] 4 # Generator: ArchGenXML Version 1. 4.16 # Generator: ArchGenXML Version 1.5.0 5 7 # http://plone.org/products/archgenxml 6 8 # … … 52 54 53 55 class Thesauri(UniqueObject, BaseFolder): 56 """ 57 """ 54 58 security = ClassSecurityInfo() 55 59 __implements__ = (getattr(UniqueObject,'__implements__',()),) + (getattr(BaseFolder,'__implements__',()),) … … 63 67 filter_content_types = 1 64 68 global_allow = 0 65 allow_discussion = False66 69 #content_icon = 'Thesauri.gif' 67 70 immediate_view = 'base_view' … … 71 74 typeDescMsgId = 'description_edit_thesauri' 72 75 #toolicon = 'Thesauri.gif' 76 77 _at_rename_after_creation = True 73 78 74 79 schema = Thesauri_schema … … 81 86 def __init__(self, id=None): 82 87 BaseFolder.__init__(self,'portal_thesauri') 88 self.setTitle('Thesauri') 83 89 84 90 ##code-section constructor-footer #fill in your manual code here … … 86 92 87 93 94 # tool should not appear in portal_catalog 95 def at_post_edit_script(self): 96 self.unindexObject() 97 98 ##code-section post-edit-method-footer #fill in your manual code here 99 ##/code-section post-edit-method-footer 100 101 88 102 # Methods 89 103 90 104 91 registerType(Thesauri, PROJECTNAME)105 registerType(Thesauri, PROJECTNAME) 92 106 # end of class Thesauri 93 107 PleiadesThesauri/trunk/PleiadesThesauri/Thesaurus.py
r161 r168 1 # -*- coding: utf-8 -*- 2 # 1 3 # File: Thesaurus.py 2 4 # 3 5 # Copyright (c) 2006 by [] 4 # Generator: ArchGenXML Version 1. 4.16 # Generator: ArchGenXML Version 1.5.0 5 7 # http://plone.org/products/archgenxml 6 8 # … … 66 68 67 69 class Thesaurus(BaseFolder): 70 """ 71 """ 68 72 security = ClassSecurityInfo() 69 73 __implements__ = (getattr(BaseFolder,'__implements__',()),) … … 77 81 filter_content_types = 1 78 82 global_allow = 0 79 allow_discussion = False80 83 #content_icon = 'Thesaurus.gif' 81 84 immediate_view = 'base_view' … … 95 98 96 99 97 registerType(Thesaurus, PROJECTNAME)100 registerType(Thesaurus, PROJECTNAME) 98 101 # end of class Thesaurus 99 102 PleiadesThesauri/trunk/PleiadesThesauri/__init__.py
r161 r168 1 # -*- coding: utf-8 -*- 2 # 1 3 # File: PleiadesThesauri.py 2 4 # 3 5 # Copyright (c) 2006 by [] 4 # Generator: ArchGenXML Version 1. 4.16 # Generator: ArchGenXML Version 1.5.0 5 7 # http://plone.org/products/archgenxml 6 8 # … … 37 39 # with a method register(context) to register the policy. 38 40 39 from zLOG import LOG, INFO 41 from zLOG import LOG, INFO, DEBUG 40 42 41 LOG('PleiadesThesauri', INFO, 'Installing Product')43 LOG('PleiadesThesauri', DEBUG, 'Installing Product') 42 44 43 45 try: … … 50 52 from Products.CMFCore import CMFCorePermissions 51 53 from Products.CMFCore import DirectoryView 52 from Products.CMFPlone. PloneUtilities import ToolInit54 from Products.CMFPlone.utils import ToolInit 53 55 from Products.Archetypes.atapi import * 54 56 from Products.Archetypes import listTypes … … 81 83 ToolInit( PROJECTNAME +' Tools', 82 84 tools = tools, 83 product_name = PROJECTNAME,84 85 icon='tool.gif' 85 86 ).initialize( context ) PleiadesThesauri/trunk/PleiadesThesauri/config.py
r161 r168 1 # -*- coding: utf-8 -*- 2 # 1 3 # File: PleiadesThesauri.py 2 4 # 3 5 # Copyright (c) 2006 by [] 4 # Generator: ArchGenXML Version 1. 4.16 # Generator: ArchGenXML Version 1.5.0 5 7 # http://plone.org/products/archgenxml 6 8 # PleiadesThesauri/trunk/PleiadesThesauri/version.txt
r166 r168 1 0.1 build 1 31 0.1 build 16 PleiadesThesauri/trunk/archgenxml.log
r167 r168 3 3 main DEBUG Model file is './models/PleiadesThesauri.xmi'. 4 4 main DEBUG Figuring out the settings we're passing to the main program... 5 main DEBUG Keys available through the option parser: ['ape_support', 'author', 'backreferences_support', 'build_msgcatalog', 'config_file', 'copyright', 'creation_roles', 'customization_policy', 'default_c reation_permission', 'default_description_generation', 'default_field_generation', 'detailed_created_permissions', 'detailed_creation_permissions', 'email', 'force', 'generateActions', 'generateDefaultActions', 'generate_packages', 'generated_date', 'i18n_content_support', 'license', 'method_preservation', 'module_info_header', 'noclass', 'outfilename', 'parse_packages', 'prefix', 'rcs_id', 'relation_implementation', 'sql_storage_support', 'strip_html', 'unknownTypesAsString', 'version_info', 'widget_enhancement'].5 main DEBUG Keys available through the option parser: ['ape_support', 'author', 'backreferences_support', 'build_msgcatalog', 'config_file', 'copyright', 'creation_roles', 'customization_policy', 'default_class_type', 'default_creation_permission', 'default_description_generation', 'default_field_generation', 'detailed_created_permissions', 'detailed_creation_permissions', 'email', 'force', 'generateActions', 'generateDefaultActions', 'generate_packages', 'generated_date', 'i18n_content_support', 'license', 'method_preservation', 'module_info_header', 'noclass', 'outfilename', 'parse_packages', 'pdb_on_exception', 'prefix', 'rcs_id', 'relation_implementation', 'sql_storage_support', 'strip_html', 'unknownTypesAsString', 'version_info', 'widget_enhancement']. 6 6 main DEBUG Option 'ape_support' has value '0'. 7 7 main DEBUG Option 'author' has value '[]'. … … 12 12 main DEBUG Option 'creation_roles' has value 'python:('Manager','Owner')'. 13 13 main DEBUG Option 'customization_policy' has value '0'. 14 main DEBUG Option 'default_class_type' has value 'content_class'. 14 15 main DEBUG Option 'default_creation_permission' has value 'Add portal content'. 15 16 main DEBUG Option 'default_description_generation' has value '0'. … … 30 31 main DEBUG Option 'outfilename' has value './PleiadesThesauri'. 31 32 main DEBUG Option 'parse_packages' has value 'None'. 33 main DEBUG Option 'pdb_on_exception' has value '0'. 32 34 main DEBUG Option 'prefix' has value ''. 33 35 main DEBUG Option 'rcs_id' has value '0'. … … 38 40 main DEBUG Option 'version_info' has value '1'. 39 41 main DEBUG Option 'widget_enhancement' has value '1'. 40 generator DEBUG Initializing ArchetypesGenerator. We're being passed a file './models/PleiadesThesauri.xmi' and keyword arguments {'detailed_creation_permissions': 0, 'default_description_generation': 0, 'force': 1, 'backreferences_support': None, 'prefix': '', ' generateActions': 1, 'generated_date': 0, 'relation_implementation': 'basic', 'detailed_created_permissions': 0, 'customization_policy': 0, 'generate_packages': None, 'sql_storage_support': 0, 'copyright': '', 'author': [], 'outfilename': './PleiadesThesauri', 'generateDefaultActions': 0, 'email': [], 'config_file': None, 'version_info': 1, 'rcs_id': 0, 'module_info_header': 1, 'default_creation_permission': 'Add portal content', 'build_msgcatalog': 1, 'i18n_content_support': '', 'license': 'GPL', 'default_field_generation': 0, 'unknownTypesAsString': 0, 'method_preservation': 1, 'widget_enhancement': 1, 'strip_html': 0, 'ape_support': 0, 'noclass': 0, 'parse_packages': None, 'creation_roles': "python:('Manager','Owner')"}.42 generator DEBUG Initializing ArchetypesGenerator. We're being passed a file './models/PleiadesThesauri.xmi' and keyword arguments {'detailed_creation_permissions': 0, 'default_description_generation': 0, 'force': 1, 'backreferences_support': None, 'prefix': '', 'default_class_type': 'content_class', 'generated_date': 0, 'relation_implementation': 'basic', 'detailed_created_permissions': 0, 'customization_policy': 0, 'generate_packages': None, 'sql_storage_support': 0, 'copyright': '', 'author': [], 'outfilename': './PleiadesThesauri', 'generateDefaultActions': 0, 'email': [], 'config_file': None, 'version_info': 1, 'pdb_on_exception': 0, 'generateActions': 1, 'rcs_id': 0, 'module_info_header': 1, 'default_creation_permission': 'Add portal content', 'build_msgcatalog': 1, 'i18n_content_support': '', 'license': 'GPL', 'default_field_generation': 0, 'unknownTypesAsString': 0, 'method_preservation': 1, 'widget_enhancement': 1, 'strip_html': 0, 'ape_support': 0, 'noclass': 0, 'parse_packages': None, 'creation_roles': "python:('Manager','Owner')"}. 41 43 generator DEBUG After copying over the keyword arguments (read: OptionParser's options), outfilename is './PleiadesThesauri'. 42 44 generator DEBUG Stripped off the eventual trailing slashes: './PleiadesThesauri'. … … 60 62 TGVregistry DEBUG Checking tag 'rename_after_creation' (category 'XMIParser.XMIClass') in the registry... 61 63 TGVregistry DEBUG Tag 'rename_after_creation' (category 'class') exists in the registry. 62 XMIparser DEBUG Found the following tagged values: { u'rename_after_creation': u'true'}.64 XMIparser DEBUG Found the following tagged values: {'rename_after_creation': 'true'}. 63 65 XMIparser DEBUG Trying to find statemachines... 64 66 XMIparser DEBUG Setting ownedElement to self.domElement as fallback. 65 XMIparser DEBUG We set the owned element as: <DOM Element: UML:Class at 0xd 4ed00>.67 XMIparser DEBUG We set the owned element as: <DOM Element: UML:Class at 0xd52e90>. 66 68 XMIparser DEBUG Found the following statemachines: []. 67 69 XMIparser DEBUG Initializing from DOM: name='thesaurusIdentifier', id='.:0000000000001045'. … … 71 73 TGVregistry DEBUG Checking tag 'widget:label' (category 'XMIParser.XMIAttribute') in the registry... 72 74 TGVregistry DEBUG Tag 'widget:label' (category 'attribute') exists in the registry. 73 XMIparser DEBUG Found the following tagged values: { u'widget:label': u'Identifier'}.75 XMIparser DEBUG Found the following tagged values: {'widget:label': 'Identifier'}. 74 76 XMIparser DEBUG Initializing from DOM: name='thesaurusDescription', id='.:0000000000001053'. 75 77 XMIparser DEBUG Gathering the taggedvalues for element thesaurusDescription. … … 78 80 TGVregistry DEBUG Checking tag 'widget:label' (category 'XMIParser.XMIAttribute') in the registry... 79 81 TGVregistry DEBUG Tag 'widget:label' (category 'attribute') exists in the registry. 80 XMIparser DEBUG Found the following tagged values: {u'widget:label': u'Description'}. 81 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8. 82 XMIparser DEBUG Found the following tagged values: {'widget:label': 'Description'}. 82 83 XMIparser DEBUG Initialising class. 83 84 XMIparser DEBUG Package set to 'untitledModel'. … … 90 91 TGVregistry DEBUG Checking tag 'rename_after_creation' (category 'XMIParser.XMIClass') in the registry... 91 92 TGVregistry DEBUG Tag 'rename_after_creation' (category 'class') exists in the registry. 92 XMIparser DEBUG Found the following tagged values: { u'rename_after_creation': u'true'}.93 XMIparser DEBUG Found the following tagged values: {'rename_after_creation': 'true'}. 93 94 XMIparser DEBUG Trying to find statemachines... 94 95 XMIparser DEBUG Setting ownedElement to self.domElement as fallback. 95 XMIparser DEBUG We set the owned element as: <DOM Element: UML:Class at 0xd5 bc88>.96 XMIparser DEBUG We set the owned element as: <DOM Element: UML:Class at 0xd5fe18>. 96 97 XMIparser DEBUG Found the following statemachines: []. 97 98 XMIparser DEBUG Initializing from DOM: name='termIdentifier', id='.:000000000000104B'. … … 101 102 TGVregistry DEBUG Checking tag 'widget:label' (category 'XMIParser.XMIAttribute') in the registry... 102 103 TGVregistry DEBUG Tag 'widget:label' (category 'attribute') exists in the registry. 103 XMIparser DEBUG Found the following tagged values: { u'widget:label': u'Identifier'}.104 XMIparser DEBUG Found the following tagged values: {'widget:label': 'Identifier'}. 104 105 XMIparser DEBUG Initializing from DOM: name='termDescription', id='.:0000000000001058'. 105 106 XMIparser DEBUG Gathering the taggedvalues for element termDescription. … … 108 109 TGVregistry DEBUG Checking tag 'widget:label' (category 'XMIParser.XMIAttribute') in the registry... 109 110 TGVregistry DEBUG Tag 'widget:label' (category 'attribute') exists in the registry. 110 XMIparser DEBUG Found the following tagged values: {u'widget:label': u'Description'}. 111 XMIparser DEBUG getName has to fallback to unicode: Term. Converting to utf-8. 111 XMIparser DEBUG Found the following tagged values: {'widget:label': 'Description'}. 112 112 XMIparser DEBUG Initialising class. 113 113 XMIparser DEBUG Package set to 'untitledModel'. … … 121 121 XMIparser DEBUG Trying to find statemachines... 122 122 XMIparser DEBUG Setting ownedElement to self.domElement as fallback. 123 XMIparser DEBUG We set the owned element as: <DOM Element: UML:Class at 0xdc f8f0>.123 XMIparser DEBUG We set the owned element as: <DOM Element: UML:Class at 0xdcea80>. 124 124 XMIparser DEBUG Found the following statemachines: []. 125 XMIparser DEBUG getName has to fallback to unicode: Thesauri. Converting to utf-8.126 125 XMIparser DEBUG Found the following state machines: []. 127 126 XMIparser DEBUG Getting value for tag 'use_workflow' (default=). Note: we're not doing this recursively. … … 137 136 TGVregistry DEBUG Tag 'use_workflow' (category 'class') exists in the registry. 138 137 XMIparser DEBUG Returning value '', 139 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.140 XMIparser DEBUG getName has to fallback to unicode: Term. Converting to utf-8.141 XMIparser DEBUG getName has to fallback to unicode: Thesauri. Converting to utf-8.142 138 XMIparser DEBUG Ok, weve found an aggregation. 143 XMIparser DEBUG Master '<DOM Element: UML:AssociationEnd at 0xd 67dc8>', detail '<DOM Element: UML:AssociationEnd at 0xdc4a30>'.139 XMIparser DEBUG Master '<DOM Element: UML:AssociationEnd at 0xdbef58>', detail '<DOM Element: UML:AssociationEnd at 0xdc3bc0>'. 144 140 XMIparser DEBUG Initializing from DOM: name='', id='.:000000000000103D'. 145 141 XMIparser DEBUG Gathering the taggedvalues for element . … … 152 148 XMIparser DEBUG Found nothing. 153 149 XMIparser DEBUG Ok, weve found an aggregation. 154 XMIparser DEBUG Master '<DOM Element: UML:AssociationEnd at 0xdd 3530>', detail '<DOM Element: UML:AssociationEnd at 0xdd7198>'.150 XMIparser DEBUG Master '<DOM Element: UML:AssociationEnd at 0xdd26c0>', detail '<DOM Element: UML:AssociationEnd at 0xdd6328>'. 155 151 XMIparser DEBUG Initializing from DOM: name='', id='.:000000000000106A'. 156 152 XMIparser DEBUG Gathering the taggedvalues for element . … … 165 161 generator DEBUG We've got an self.outfilename: ./PleiadesThesauri. 166 162 generator DEBUG We've split off the last directory name: PleiadesThesauri. 167 XMIparser DEBUG getName has to fallback to unicode: untitledModel. Converting to utf-8.168 163 XMIparser DEBUG Setting our name to 'PleiadesThesauri' the hard way. The automatic mechanism set it to 'untitledModel' already. 169 164 generator DEBUG Set the name of the root generator to that directory name. … … 225 220 utils DEBUG Trying to make directory '.\PleiadesThesauri\skins\PleiadesThesauri' (force=1). 226 221 utils DEBUG Directory already exists. Fine. 227 XMIparser DEBUG Getting value for tag 'module' (default=). Note: we're not doing this recursively.228 TGVregistry DEBUG Checking tag 'module' (category 'XMIParser.XMIModel') in the registry...229 TGVregistry DEBUG Tag 'module' (category 'model') exists in the registry.230 XMIparser DEBUG Returning value '',231 XMIparser DEBUG Getting value for tag 'module_name' (default=). Note: we're not doing this recursively.232 TGVregistry DEBUG Checking tag 'module_name' (category 'XMIParser.XMIModel') in the registry...233 TGVregistry DEBUG Tag 'module_name' (category 'model') exists in the registry.234 XMIparser DEBUG Returning value '',235 XMIparser DEBUG Getting value for tag 'module' (default=). Note: we're not doing this recursively.236 TGVregistry DEBUG Checking tag 'module' (category 'XMIParser.XMIModel') in the registry...237 TGVregistry DEBUG Tag 'module' (category 'model') exists in the registry.238 XMIparser DEBUG Returning value '',239 XMIparser DEBUG Getting value for tag 'module_name' (default=). Note: we're not doing this recursively.240 TGVregistry DEBUG Checking tag 'module_name' (category 'XMIParser.XMIModel') in the registry...241 TGVregistry DEBUG Tag 'module_name' (category 'model') exists in the registry.242 XMIparser DEBUG Returning value '',243 generator DEBUG Calling makeDir to create 'PleiadesThesauri\skins\PleiadesThesauri_public'.244 generator DEBUG Together with the targetroot that means '.\PleiadesThesauri\skins\PleiadesThesauri_public'.245 utils DEBUG Trying to make directory '.\PleiadesThesauri\skins\PleiadesThesauri_public' (force=1).246 utils DEBUG Directory already exists. Fine.247 XMIparser DEBUG Getting value for tag 'module' (default=). Note: we're not doing this recursively.248 TGVregistry DEBUG Checking tag 'module' (category 'XMIParser.XMIModel') in the registry...249 TGVregistry DEBUG Tag 'module' (category 'model') exists in the registry.250 XMIparser DEBUG Returning value '',251 XMIparser DEBUG Getting value for tag 'module_name' (default=). Note: we're not doing this recursively.252 TGVregistry DEBUG Checking tag 'module_name' (category 'XMIParser.XMIModel') in the registry...253 TGVregistry DEBUG Tag 'module_name' (category 'model') exists in the registry.254 XMIparser DEBUG Returning value '',255 XMIparser DEBUG Getting value for tag 'module' (default=). Note: we're not doing this recursively.256 TGVregistry DEBUG Checking tag 'module' (category 'XMIParser.XMIModel') in the registry...257 TGVregistry DEBUG Tag 'module' (category 'model') exists in the registry.258 XMIparser DEBUG Returning value '',259 XMIparser DEBUG Getting value for tag 'module_name' (default=). Note: we're not doing this recursively.260 TGVregistry DEBUG Checking tag 'module_name' (category 'XMIParser.XMIModel') in the registry...261 TGVregistry DEBUG Tag 'module_name' (category 'model') exists in the registry.262 XMIparser DEBUG Returning value '',263 generator DEBUG Calling makeFile to create 'PleiadesThesauri\skins\PleiadesThesauri_public\readme.txt'.264 generator DEBUG Together with the targetroot that means '.\PleiadesThesauri\skins\PleiadesThesauri_public\readme.txt'.265 utils DEBUG Making file '.\PleiadesThesauri\skins\PleiadesThesauri_public\readme.txt' (force=1).266 utils DEBUG Opening the file for writing and returning it.267 222 XMIparser DEBUG Getting value for tag 'module' (default=). Note: we're not doing this recursively. 268 223 TGVregistry DEBUG Checking tag 'module' (category 'XMIParser.XMIModel') in the registry... … … 294 249 XMIparser DEBUG Params: aggtypes='['none']', aggtypesTo='['none']'. 295 250 XMIparser DEBUG Associations found: []. 296 generator DEBUG Generating package <XMIParser.XMIModel instance at 0x00D4 0508>.251 generator DEBUG Generating package <XMIParser.XMIModel instance at 0x00D436E8>. 297 252 XMIparser DEBUG Looking if element has stereotype ['odStub', 'stub'] 298 253 umlprofile DEBUG Finding stereotypes for entities ['XMIParser.XMIModel']. … … 314 269 utils DEBUG Trying to make directory '.\PleiadesThesauri' (force=1). 315 270 utils DEBUG Directory already exists. Fine. 316 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.317 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.318 271 XMIparser DEBUG Looking if element has stereotype ['odStub', 'stub'] 319 272 umlprofile DEBUG Finding stereotypes for entities ['XMIParser.XMIClass']. … … 331 284 TGVregistry DEBUG Tag 'module_name' (category 'class') exists in the registry. 332 285 XMIparser DEBUG Returning value '', 333 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.334 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.335 286 XMIparser DEBUG Getting value for tag 'module' (default=). Note: we're not doing this recursively. 336 287 TGVregistry DEBUG Checking tag 'module' (category 'XMIParser.XMIModel') in the registry... … … 344 295 pyparser DEBUG Initialising module parser for file '.\PleiadesThesauri\Thesaurus.py'. 345 296 pyparser DEBUG In total, we found 5 protected sections. 346 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.347 297 generator DEBUG Existing sources found for element Thesaurus: PleiadesThesauri\Thesaurus.py. 348 298 XMIparser DEBUG Getting value for tag 'module' (default=). Note: we're not doing this recursively. … … 414 364 TGVregistry DEBUG Tag 'module_name' (category 'class') exists in the registry. 415 365 XMIparser DEBUG Returning value '', 416 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.417 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.418 366 basegenerator DEBUG Trying to get value of option 'generated_date' for element 'Thesaurus' (default value is 'False', aggregate is 'False'). 419 367 basegenerator DEBUG Found the element. … … 431 379 basegenerator DEBUG The value is '1'. 432 380 basegenerator DEBUG We want version info in every file. 381 basegenerator DEBUG Trying to get value of option 'encoding' for element 'Thesaurus' (default value is 'utf-8', aggregate is 'False'). 382 basegenerator DEBUG Found the element. 383 basegenerator DEBUG Trying our parent: PleiadesThesauri. 384 basegenerator DEBUG Found nothing in the assorted taggedvalues. 385 basegenerator DEBUG Now looking in the options. 386 basegenerator DEBUG Returning default value 'utf-8'. 387 basegenerator DEBUG Encoding for python files is set to utf-8 433 388 basegenerator DEBUG Finding suitable dispatching stereotype for element... 434 389 umlprofile DEBUG Finding stereotypes for entities ['XMIClass']. 435 390 umlprofile DEBUG Stripped off 'XMIParser.': ['XMIClass']. 436 basegenerator DEBUG Dispatching stereotypes found in our UML profile: [<StereoType name=plone_testcase entities=['XMIClass']>, <StereoType name=widget entities=['XMIClass']>, <StereoType name=content_class entities=['XMIClass']>, <StereoType name=field entities=['XMIClass']>, <StereoType name=setup_testcase entities=['XMIClass']>, <StereoType name=interface_testcase entities=['XMIClass']>, <StereoType name=testcase entities=['XMIClass']>, <StereoType name=doc_testcase entities=['XMIClass']>, <StereoType name= python_class entities=['XMIClass']>].391 basegenerator DEBUG Dispatching stereotypes found in our UML profile: [<StereoType name=plone_testcase entities=['XMIClass']>, <StereoType name=widget entities=['XMIClass']>, <StereoType name=content_class entities=['XMIClass']>, <StereoType name=field entities=['XMIClass']>, <StereoType name=setup_testcase entities=['XMIClass']>, <StereoType name=interface_testcase entities=['XMIClass']>, <StereoType name=testcase entities=['XMIClass']>, <StereoType name=doc_testcase entities=['XMIClass']>, <StereoType name=zope_class entities=['XMIClass']>, <StereoType name=python_class entities=['XMIClass']>]. 437 392 XMIparser DEBUG Looking if element has stereotype 'plone_testcase' 438 393 XMIparser DEBUG Looking if element has stereotype 'widget' … … 443 398 XMIparser DEBUG Looking if element has stereotype 'testcase' 444 399 XMIparser DEBUG Looking if element has stereotype 'doc_testcase' 400 XMIparser DEBUG Looking if element has stereotype 'zope_class' 445 401 XMIparser DEBUG Looking if element has stereotype 'python_class' 446 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.447 402 generator INFO Generating class 'Thesaurus'. 448 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.449 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.450 403 basegenerator DEBUG Trying to get value of option 'creation_permission' for element 'Thesaurus' (default value is 'None', aggregate is 'False'). 451 404 basegenerator DEBUG Found the element. … … 547 500 XMIparser DEBUG Also looking recursively further down the family tree. 548 501 XMIparser DEBUG Found: '[]'. 549 XMIparser DEBUG getName has to fallback to unicode: Term. Converting to utf-8.550 502 XMIparser DEBUG Getting value for tag 'allowed_content_types' (default=). Note: we're not doing this recursively. 551 503 TGVregistry DEBUG Checking tag 'allowed_content_types' (category 'XMIParser.XMIClass') in the registry... … … 566 518 XMIparser DEBUG Returning value '', 567 519 generator DEBUG Determining whether the element 'Thesaurus' is folderish... 568 XMIparser DEBUG getName has to fallback to unicode: Term. Converting to utf-8.569 520 generator DEBUG Found 1 aggregated classes. 570 521 XMIparser DEBUG Looking for this class's parents... … … 637 588 TGVregistry DEBUG Tag 'module_name' (category 'model') exists in the registry. 638 589 XMIparser DEBUG Returning value '', 639 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.640 XMIparser DEBUG getName has to fallback to unicode: thesaurusIdentifier. Converting to utf-8.641 590 TGVregistry DEBUG Checking tag 'widget:label' (category 'XMIParser.XMIAttribute') in the registry... 642 591 TGVregistry DEBUG Tag 'widget:label' (category 'attribute') exists in the registry. … … 690 639 basegenerator DEBUG Now looking in the options. 691 640 basegenerator DEBUG Returning default value '[]'. 692 XMIparser DEBUG getName has to fallback to unicode: thesaurusIdentifier. Converting to utf-8.693 641 TGVregistry DEBUG Checking tag 'widget:label' (category 'XMIParser.XMIAttribute') in the registry... 694 642 TGVregistry DEBUG Tag 'widget:label' (category 'attribute') exists in the registry. … … 709 657 XMIparser DEBUG Returning value '', 710 658 XMIparser DEBUG Didn't find a tagged value 'documentation'. Returning empty string. 711 XMIparser DEBUG getName has to fallback to unicode: thesaurusIdentifier. Converting to utf-8.712 generator DEBUG Trying to get formatted field. name='thesaurusIdentifier', fieldtype='StringField', doc='', rawType='string'.713 XMIparser DEBUG getName has to fallback to unicode: thesaurusDescription. Converting to utf-8.714 659 TGVregistry DEBUG Checking tag 'widget:label' (category 'XMIParser.XMIAttribute') in the registry... 715 660 TGVregistry DEBUG Tag 'widget:label' (category 'attribute') exists in the registry. … … 763 708 basegenerator DEBUG Now looking in the options. 764 709 basegenerator DEBUG Returning default value '[]'. 765 XMIparser DEBUG getName has to fallback to unicode: thesaurusDescription. Converting to utf-8.766 710 TGVregistry DEBUG Checking tag 'widget:label' (category 'XMIParser.XMIAttribute') in the registry... 767 711 TGVregistry DEBUG Tag 'widget:label' (category 'attribute') exists in the registry. … … 782 726 XMIparser DEBUG Returning value '', 783 727 XMIparser DEBUG Didn't find a tagged value 'documentation'. Returning empty string. 784 XMIparser DEBUG getName has to fallback to unicode: thesaurusDescription. Converting to utf-8.785 generator DEBUG Trying to get formatted field. name='thesaurusDescription', fieldtype='TextField', doc='', rawType='text'.786 728 basegenerator DEBUG Trying to get value of option 'generate_reference_fields' for element 'Thesaurus' (default value is 'True', aggregate is 'False'). 787 729 basegenerator DEBUG Found the element. … … 796 738 XMIparser DEBUG Params: aggtypes='['none']', aggtypesTo='['none']'. 797 739 XMIparser DEBUG Associations found: []. 740 generator DEBUG field_spec is {'map': {'widget': 'StringWidget(\n label="Identifier",\n label_msgid=\'PleiadesThesauri_label_thesaurusIdentifier\',\n i18n_domain=\'PleiadesThesauri\',\n)'}, 'rawType': 'string', 'doc': '', 'array_field': False, 'name': 'thesaurusIdentifier', 'fieldtype': 'StringField', 'indent_level': 1}. 741 generator DEBUG Trying to get formatted field. name='thesaurusIdentifier', fieldtype='StringField', doc='', rawType='string'. 742 generator DEBUG field_spec is {'map': {'widget': 'TextAreaWidget(\n label="Description",\n label_msgid=\'PleiadesThesauri_label_thesaurusDescription\',\n i18n_domain=\'PleiadesThesauri\',\n)'}, 'rawType': 'text', 'doc': '', 'array_field': False, 'name': 'thesaurusDescription', 'fieldtype': 'TextField', 'indent_level': 1}. 743 generator DEBUG Trying to get formatted field. name='thesaurusDescription', fieldtype='TextField', doc='', rawType='text'. 798 744 XMIparser DEBUG Getting value for tag 'marshaller' (default=). Note: we're not doing this recursively. 799 745 TGVregistry DEBUG Checking tag 'marshaller' (category 'XMIParser.XMIClass') in the registry... … … 812 758 TGVregistry DEBUG Tag 'module_name' (category 'model') exists in the registry. 813 759 XMIparser DEBUG Returning value '', 814 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.815 760 XMIparser DEBUG Looking for this class's parents... 816 761 XMIparser DEBUG Found the following parents: '[]'. … … 830 775 TGVregistry DEBUG Tag 'module_name' (category 'model') exists in the registry. 831 776 XMIparser DEBUG Returning value '', 832 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.833 777 XMIparser DEBUG Trying to find documentation for this element. 834 778 XMIparser DEBUG First trying a tagged value. … … 870 814 XMIparser DEBUG Looking for this class's parents... 871 815 XMIparser DEBUG Found the following parents: '[]'. 872 XMIparser DEBUG Getting value for tag 'base_actions' (default=). Note: we're not doing this recursively.873 TGVregistry DEBUG Checking tag 'base_actions' (category 'XMIParser.XMIClass') in the registry...874 TGVregistry DEBUG Tag 'base_actions' (category 'class') exists in the registry.875 XMIparser DEBUG Returning value '',876 XMIparser DEBUG Getting value for tag 'default_actions' (default=). Note: we're not doing this recursively.877 TGVregistry DEBUG Checking tag 'default_actions' (category 'XMIParser.XMIClass') in the registry...878 TGVregistry DEBUG Tag 'default_actions' (category 'class') exists in the registry.879 XMIparser DEBUG Returning value '',880 generator DEBUG Generating method actions...881 generator DEBUG First finding our methods.882 XMIparser DEBUG Getting method definitions (recursive=0)...883 XMIparser DEBUG Our own methods: [].884 816 XMIparser DEBUG Getting value for tag 'immediate_view' (default=). Note: we're not doing this recursively. 885 817 TGVregistry DEBUG Checking tag 'immediate_view' (category 'XMIParser.XMIClass') in the registry... … … 901 833 XMIparser DEBUG Finding associations pointing at this class... 902 834 XMIparser DEBUG Params: aggtypes='['composite']', aggtypesTo='['none']'. 903 XMIparser DEBUG Associations found: [<XMIParser.XMIAssociation instance at 0x00DD E3F0>].904 XMIparser DEBUG Found compositions that contain us: [<XMIParser.XMIAssociation instance at 0x00DD E3F0>].835 XMIparser DEBUG Associations found: [<XMIParser.XMIAssociation instance at 0x00DDD788>]. 836 XMIparser DEBUG Found compositions that contain us: [<XMIParser.XMIAssociation instance at 0x00DDD788>]. 905 837 XMIparser DEBUG We *are* part of a composition plus we are not part of an aggregation, so we're stuck inside whatever it is that 'compositions' us. 906 838 XMIparser DEBUG Check, though, if one of the parents is dependent.If True, count the class as dependent. 907 839 XMIparser DEBUG Looking for this class's parents... 908 840 XMIparser DEBUG Found the following parents: '[]'. 909 XMIparser DEBUG End verdict: dependent = ' 1'.841 XMIparser DEBUG End verdict: dependent = 'True'. 910 842 XMIparser DEBUG Looking if element has stereotype 'hidden' 911 843 umlprofile DEBUG Finding stereotypes for entities ['XMIParser.XMIClass']. … … 942 874 TGVregistry DEBUG Tag 'content_icon' (category 'class') exists in the registry. 943 875 XMIparser DEBUG Returning value '', 944 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.945 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.946 876 XMIparser DEBUG Getting value for tag 'module' (default=). Note: we're not doing this recursively. 947 877 TGVregistry DEBUG Checking tag 'module' (category 'XMIParser.XMIModel') in the registry... … … 971 901 TGVregistry DEBUG Tag 'toolicon' (category 'tool') exists in the registry. 972 902 XMIparser DEBUG Returning value '', 973 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.974 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.975 XMIparser DEBUG Getting value for tag 'allow_discussion' (default=False). Note: we're not doing this recursively.976 TGVregistry DEBUG Checking tag 'allow_discussion' (category 'XMIParser.XMIClass') in the registry...977 TGVregistry DEBUG Tag 'allow_discussion' (category 'class') exists in the registry.978 XMIparser DEBUG Returning value 'False',979 903 generator DEBUG Determining whether the element 'Thesaurus' is folderish... 980 XMIparser DEBUG getName has to fallback to unicode: Term. Converting to utf-8.981 904 generator DEBUG Found 1 aggregated classes. 982 905 XMIparser DEBUG Looking for this class's parents... … … 1001 924 TGVregistry DEBUG Tag 'label' (category 'class') exists in the registry. 1002 925 XMIparser DEBUG Returning value '', 1003 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.1004 926 XMIparser DEBUG Getting value for tag 'typeDescription' (default=Thesaurus). Note: we're not doing this recursively. 1005 927 TGVregistry DEBUG Checking tag 'typeDescription' (category 'XMIParser.XMIClass') in the registry... 1006 928 TGVregistry DEBUG Tag 'typeDescription' (category 'class') exists in the registry. 1007 929 XMIparser DEBUG Returning value 'Thesaurus', 1008 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8. 1009 basegenerator DEBUG Trying to get value of option 'rename_after_creation' for element 'Thesaurus' (default value is 'False', aggregate is 'False'). 930 XMIparser DEBUG Getting value for tag 'allow_discussion' (default=NOTSET). Note: we're not doing this recursively. 931 TGVregistry DEBUG Checking tag 'allow_discussion' (category 'XMIParser.XMIClass') in the registry... 932 TGVregistry DEBUG Tag 'allow_discussion' (category 'class') exists in the registry. 933 XMIparser DEBUG Returning value 'NOTSET', 934 XMIparser DEBUG Getting value for tag 'base_actions' (default=). Note: we're not doing this recursively. 935 TGVregistry DEBUG Checking tag 'base_actions' (category 'XMIParser.XMIClass') in the registry... 936 TGVregistry DEBUG Tag 'base_actions' (category 'class') exists in the registry. 937 XMIparser DEBUG Returning value '', 938 XMIparser DEBUG Getting value for tag 'default_actions' (default=). Note: we're not doing this recursively. 939 TGVregistry DEBUG Checking tag 'default_actions' (category 'XMIParser.XMIClass') in the registry... 940 TGVregistry DEBUG Tag 'default_actions' (category 'class') exists in the registry. 941 XMIparser DEBUG Returning value '', 942 generator DEBUG Generating method actions... 943 generator DEBUG First finding our methods. 944 XMIparser DEBUG Getting method definitions (recursive=0)... 945 XMIparser DEBUG Our own methods: []. 946 basegenerator DEBUG Trying to get value of option 'rename_after_creation' for element 'Thesaurus' (default value is 'True', aggregate is 'False'). 1010 947 basegenerator DEBUG Found the element. 1011 948 basegenerator DEBUG The element has a matching tagged value. … … 1028 965 TGVregistry DEBUG Tag 'module_name' (category 'model') exists in the registry. 1029 966 XMIparser DEBUG Returning value '', 1030 XMIparser DEBUG getName has to fallback to unicode: Thesaurus. Converting to utf-8.
