I've completed the MivaLearn course and read through the docs for MMT.
I have the most recent installs of both python and MMT.
The credentials and remote are set up in line with the documentation.
I have set the config for the editor correctly (VS Code).
When I attempt any checkout the files will download, but I get the following error.
(file locations truncated)
If I am reading correctly, the error seems to be related to a branch property. I double-checked my remote and branch settings and everything lines up with the docs.
The files still download and I can successfully push changes from my local machine to my dev store. However, the MMT commands "info", "pull", "log" all show the message
This message displays regardless of which directory I am in. What am I missing? I know it has to be something simple.
Any MMT users out there that can provide some insight?
I have the most recent installs of both python and MMT.
The credentials and remote are set up in line with the documentation.
I have set the config for the editor correctly (VS Code).
When I attempt any checkout the files will download, but I get the following error.
Code:
D:\randomFolder\> mmt checkout dev devtest
Traceback (most recent call last):
File "\python\python39\lib\runpy.py", line 197 , in _run_module_as_main
return _run_code(code, main_globals, None,
File "\python\python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "\Python\Python39\Scripts\mmt.exe\__main__.py", line 7, in <module>
File "\python\python39\lib\site-packages\mmt\__init__.py", line 190, in main
run( parser )
File "\python\python39\lib\site-packages\mmt\__init__.py", line 228, in run
mmt_command.run()
File "\python\python39\lib\site-packages\mmt\commands\checkout.py", line 84, in ru n
self._process_branchpropertyversion( branchpro pertyversion )
File "\python\python39\lib\site-packages\mmt\commands\checkout.py", line 224, in _ process_branchpropertyversion
property_settings_filepath = self.build_property_settings_filepath( branchpropertyversion )
File "\python\python39\lib\site-packages\mmt\commands\__init__.py", line 405, in b uild_property_settings_filepath
return self._build_property_filepath_lowlevel( branchpropertyversion, '.json' )
File "\python\python39\lib\site-packages\mmt\commands\__init__.py", line 429, in _ build_property_filepath_lowlevel
return os.path.join( self._build_property_path ( branchpropertyversion ), f'{self.get_branchprope rtyversion_code( branchpropertyversion )}{suffix}' )
File "\python\python39\lib\site-packages\mmt\commands\__init__.py", line 339, in g et_branchpropertyversion_code
return branchpropertyversion.get_category().ge t( 'code' )
AttributeError: 'NoneType' object has no attribute 'get'
If I am reading correctly, the error seems to be related to a branch property. I double-checked my remote and branch settings and everything lines up with the docs.
The files still download and I can successfully push changes from my local machine to my dev store. However, the MMT commands "info", "pull", "log" all show the message
Code:
MMT-COMMAND-00001: MMT has not been configured for path '.'
Any MMT users out there that can provide some insight?
Comment