-
Notifications
You must be signed in to change notification settings - Fork 9
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
Problems running upgrade.py for Windows7 #22
Comments
Download and unpack colorama (currently v.0.3.1)
in your upgrade.py, include the following just below the line codemod = "./bin/codemod.py" from colorama import init While this gets rid of the color codes in stdout, I get no actual decoration in Win7 terminal :| |
Oh and I actually got it to run by changing that codemod = "./bin/codemod.py" line to: |
yeah ./ is bad in windows :| I am sure there is a way to fix this |
https://docs.python.org/2/library/os.path.html os.path.join(os.path.abspath(__file__), '..', '..', 'file_two_levels_up_from_me.txt')) |
@CNSKnight see #23 |
Hello,
Thanks a lot... |
I'm having a similar issue to the above (Windows 7 with Python 2.7 installed) - none of the changes are being made to the files and I receive errors as shown below. In upgrade.py I made the change The attached image shows my issue (NB. I added two print statements to upgrade.py at approx. line 49 to try to figure out what was going on - I haven't used python before).
Anyone have any suggestions? |
I'm having the same problem, after following the instructions here. Prior to following those instructions, I was getting "cannot find the file specified" errors. I've looked into the command that it's running, and it looks like the issue may be the ' characters it's using for bounding the search and replace strings: python C:\sources\Marionette.Upgrade\bin\codemod.py -m --extensions js,coffee - |
Hi, I was able to successfully upgrade a project to Marionette 2.0.1 in Linux but I'm having problems with a similar project in my Windows7 environment.
Windows7 seems to be having problems with the print statement in line #27
I installed Python 2.7.8
I've tried both the DOS cmd console and the git/bash console. It no worky...
Any ideas?
The text was updated successfully, but these errors were encountered: