Marionette.Upgrade
Marionette.Upgrade copied to clipboard
ValueError: inappropriately formatted position string
Hello,
I am getting below error even after spending a lot of time in doing this!
Any idea where I am doing wrong?
Hi @Ratikant01 - I apologize for the confusion.
Unfortunately I don't have a windows computer, so I'm not sure how to reproduce what you're seeing. Would you mind updating the script locally to remove the formatting and let me know if this fixes the problem?
In windows, use relative path to project:
python c:\Marionette.Upgrade\upgrade.py .\
It will fix this issue but add another one:
Searching for first instance...
Traceback (most recent call last):
File "c:/Marionette.Upgrade/bin/codemod.py", line 813, in <module>
run_interactive(**options)
File "c:/Marionette.Upgrade/bin/codemod.py", line 145, in run_interactive
_ask_about_patch(patch, editor)
File "c:/Marionette.Upgrade/bin/codemod.py", line 572, in _ask_about_patch
terminal_clear()
File "c:/Marionette.Upgrade/bin/codemod.py", line 699, in terminal_clear
if not _terminal_use_capability('clear'):
File "c:/Marionette.Upgrade/bin/codemod.py", line 714, in _terminal_use_capability
import curses, sys
File "c:\Python27\lib\curses\__init__.py", line 15, in <module>
from _curses import *
ImportError: No module named _curses
I don't know how to fix this second issue :(
@jasonLaster, Can you please verify codemod.py & upgrade.py script for Windows OS and provide the updated scripts? It would be a really great help indeed!