Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: inappropriately formatted position string #24

Open
Ratikant01 opened this issue Aug 1, 2014 · 3 comments
Open

ValueError: inappropriately formatted position string #24

Ratikant01 opened this issue Aug 1, 2014 · 3 comments

Comments

@Ratikant01
Copy link

Hello,

I am getting below error even after spending a lot of time in doing this!

image

Any idea where I am doing wrong?

@jasonLaster
Copy link
Member

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?

@amelon
Copy link

amelon commented Aug 8, 2014

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 :(

@Ratikant01
Copy link
Author

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants