Open SimonDarksideJ opened 2 years ago
A little more info, not sure if it helps.
However, if I run a test script to just import the Requests module,
I did try running the migrate.py with just "python" but it filed with the following error:
Traceback (most recent call last):
File "C:\LocalDevelopment\Scratch\bitbucket-issue-migration\migrate.py", line 897, in <module>
sys.exit(main(options))
File "C:\LocalDevelopment\Scratch\bitbucket-issue-migration\migrate.py", line 142, in main
users_bb_gh_mapping = [line.rstrip() for line in open(''.join(options._map_users), "r")]
FileNotFoundError: [Errno 2] No such file or directory: ''
OK, last update, I think I fixed Requests not being accessible from the Python3 command by using:
python3 -m pip install requests
Running my requests version check script then works from Python3
However, now running the migrate script under Python3 still results in the above error :S
So this line is bombing out: https://github.com/jeffwidman/bitbucket-issue-migration/blob/ead99475e70d55a7cd9157ecb44ba1962ad5fa16/migrate.py#L142
That leverages a passed-in option to specify a mappings file, but the intent was that file should be optional...
I'm unlikely to have the time to fix this, but I'd happily accept a PR if someone else wants to fix it, so the following information would be helpful:
I followed the install instructions on the Repository on Windows, yet when I run the migrate script is still says:
I ran "pip3 install -r requirements.pip" again and it certainly seems to think it's installed
Any ideas?