fman icon indicating copy to clipboard operation
fman copied to clipboard

Command 'CreateAndEditFile' raised error.

Open rasivasu opened this issue 6 years ago • 4 comments

When I try to create a new file using "Shift+F", I get the following error. But a file without extension is getting created, though.

Command 'CreateAndEditFile' raised error.

Traceback (most recent call last):
  File "fman\impl\plugins\command_registry.py", line 128, in _execute_command
  File "C:\Users\rsivasub\AppData\Local\fman\Versions\1.5.6\Plugins\Core\core\commands\__init__.py", line 486, in __call__
    super().__call__(file_to_edit)
  File "C:\Users\rsivasub\AppData\Local\fman\Versions\1.5.6\Plugins\Core\core\commands\__init__.py", line 393, in __call__
    popen_kwargs = strformat_dict_values(editor, {'file': path})
  File "C:\Users\rsivasub\AppData\Local\fman\Versions\1.5.6\Plugins\Core\core\util.py", line 17, in strformat_dict_values
    value = list(map(replace, value))
  File "C:\Users\rsivasub\AppData\Local\fman\Versions\1.5.6\Plugins\Core\core\util.py", line 13, in replace
    return value.format(**replacements)
KeyError: '90150000-0011-0000-0000-0000000FF1CE'

rasivasu avatar Feb 18 '19 11:02 rasivasu

Shift+F is not a default fman shortcut. Are you using a plugin? Also, from the error message it appears that the Core Settings.json file in the Plugins/User/Settings subdirectory of your data directory is corrupted.

mherrmann avatar Feb 21 '19 15:02 mherrmann

Sorry, that was a typo. I was using Shift+F4.

rasivasu avatar Feb 22 '19 12:02 rasivasu

I see :-) Do the problems go away if you delete Core Settings.json in the location I mentioned?

mherrmann avatar Feb 22 '19 13:02 mherrmann

I tried the command again and am not getting the error. Had a look at Core Settings.json and didn't find any wrong. So left it untouched. Thanks for quick responses.

Regards, Ravi

On Fri, Feb 22, 2019 at 6:40 PM Michael Herrmann [email protected] wrote:

I see :-) Do the problems go away if you delete Core Settings.json in the location I mentioned?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fman-users/fman/issues/628#issuecomment-466391323, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGaLoDv2oWzlDw2qpderW0NCD_vZiTzks5vP-xRgaJpZM4bAtoZ .

-- Regards, Ravi

rasivasu avatar Feb 22 '19 17:02 rasivasu