On Tuesday, April 7, 2015 at 8:56:23 PM UTC+2, Dominique Chabord wrote: > > grep -rin account_nl.nl * > ? > > I compared both the German version with the version I created and there is no difference except for the "_de" which is replaced by "_nl". see output below
VirtualBox:/usr/local/lib/python2.7/dist-packages/trytond_account_nl-3.4.3-py2.7.egg$ grep -rin account_nl * EGG-INFO/SOURCES.txt:3:account_nl.xml EGG-INFO/SOURCES.txt:7:./account_nl.xml EGG-INFO/SOURCES.txt:9:trytond_account_nl.egg-info/PKG-INFO EGG-INFO/SOURCES.txt:10:trytond_account_nl.egg-info/SOURCES.txt EGG-INFO/SOURCES.txt:11:trytond_account_nl.egg-info/dependency_links.txt EGG-INFO/SOURCES.txt:12:trytond_account_nl.egg-info/entry_points.txt EGG-INFO/SOURCES.txt:13:trytond_account_nl.egg-info/not-zip-safe EGG-INFO/SOURCES.txt:14:trytond_account_nl.egg-info/requires.txt EGG-INFO/SOURCES.txt:15:trytond_account_nl.egg-info/top_level.txt EGG-INFO/entry_points.txt:3: account_nl = trytond.modules.account_nl Binary file trytond/modules/account_nl/__init__.pyc matches trytond/modules/account_nl/tryton.cfg:6: account_nl.xml VirtualBox:/usr/local/lib/python2.7/dist-packages/trytond_account_de_skr03-3.4.0-py2.7.egg$ grep -rin account_de * EGG-INFO/PKG-INFO:10:Description: trytond_account_de_skr03 EGG-INFO/SOURCES.txt:7:account_de.xml EGG-INFO/SOURCES.txt:12:./account_de.xml EGG-INFO/SOURCES.txt:14:trytond_account_de_skr03.egg-info/PKG-INFO EGG-INFO/SOURCES.txt:15:trytond_account_de_skr03.egg-info/SOURCES.txt EGG-INFO/SOURCES.txt:16:trytond_account_de_skr03.egg-info/dependency_links.txt EGG-INFO/SOURCES.txt:17:trytond_account_de_skr03.egg-info/entry_points.txt EGG-INFO/SOURCES.txt:18:trytond_account_de_skr03.egg-info/not-zip-safe EGG-INFO/SOURCES.txt:19:trytond_account_de_skr03.egg-info/requires.txt EGG-INFO/SOURCES.txt:20:trytond_account_de_skr03.egg-info/top_level.txt EGG-INFO/entry_points.txt:3: account_de_skr03 = trytond.modules.account_de_skr03 Binary file trytond/modules/account_de_skr03/__init__.pyc matches trytond/modules/account_de_skr03/tryton.cfg:6: account_de.xml danga@danga-VirtualBox:/usr/local/lib/python2.7/dist-packages/trytond_account_de_skr03-3.4.0-py2.7.egg$ > 2015-04-07 19:36 GMT+02:00 <[email protected] <javascript:>>: > > Dear all, > > > > I created a module 'account_nl' for loading the account_nl.xml file. > > > > I copied the "trytond_account_de_skr03-3.4.0" > > > > I made the necessary changes. > > setup.py > > tryton.cfg > > > > > > Prepared my account_nl.xml file. > > > > When i install the module I get the message : > > > > Traceback (most recent call last): > > File "/trytond/protocols/jsonrpc.py", line 150, in _marshaled_dispatch > > response['result'] = dispatch_method(method, params) > > File "/trytond/protocols/jsonrpc.py", line 179, in _dispatch > > res = dispatch(*args) > > File "/trytond/protocols/dispatcher.py", line 161, in dispatch > > result = rpc.result(meth(*c_args, **c_kwargs)) > > File "/trytond/wizard/wizard.py", line 249, in execute > > return wizard._execute(state_name) > > File "/trytond/wizard/wizard.py", line 280, in _execute > > result = self._execute(transition()) > > File "/trytond/ir/module/module.py", line 525, in transition_upgrade > > pool.init(update=update, lang=lang) > > File "/trytond/pool.py", line 151, in init > > lang=lang) > > File "/trytond/modules/__init__.py", line 421, in load_modules > > _load_modules() > > File "/trytond/modules/__init__.py", line 383, in _load_modules > > load_module_graph(graph, pool, update, lang) > > File "/trytond/modules/__init__.py", line 246, in load_module_graph > > tryton_parser.parse_xmlstream(fp) > > File "/trytond/convert.py", line 437, in parse_xmlstream > > self.sax_parser.parse(source) > > File "/xml/sax/expatreader.py", line 107, in parse > > xmlreader.IncrementalParser.parse(self, source) > > File "/xml/sax/xmlreader.py", line 123, in parse > > self.feed(buffer) > > File "/xml/sax/expatreader.py", line 210, in feed > > self._parser.Parse(data, isFinal) > > File "/xml/sax/expatreader.py", line 304, in start_element > > self._cont_handler.startElement(name, AttributesImpl(attrs)) > > File "/trytond/convert.py", line 476, in startElement > > self.taghandler.startElement(name, attributes) > > File "/trytond/convert.py", line 220, in startElement > > self.values[field_name] = self.mh.get_id(ref_attr) > > File "/trytond/convert.py", line 518, in get_id > > % ".".join([module, xml_id])) > > Exception: Reference to account_nl.nl not found > > > > > > Seems something went wrong. Can someone tell me why it seems to be > looking > > for account_nl.nl and not for account_nl.xml > > > > regards > > Danny > > >
