rtcTo / rtc2git

A tool made for migrating code from an existing IBM's RTC SCM repository into a Git repository
https://rtc.to
MIT License
80 stars 61 forks source link

OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'https://github.com/ #167

Open abubakarmkarajagi opened 1 year ago

abubakarmkarajagi commented 1 year ago

When ran migration.py it gives me error saying incorrect syntax.

it connects to Gitub and asks me to login . After login getting below error. Could you please help on resolving this issue ?

Here is the error which I receied.

remote: Enumerating objects: 3, done. remote: Counting objects: 100% (3/3), done. remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (3/3), done. Checking connectivity... done. Traceback (most recent call last): File "C:\CC_GIT_migration\RTC_GIT\rtc2git\migration.py", line 173, in migrate() File "C:\CC_GIT_migration\RTC_GIT\rtc2git\migration.py", line 65, in migrate initialize() File "C:\CC_GIT_migration\RTC_GIT\rtc2git\migration.py", line 28, in initialize git.initalize() File "C:\CC_GIT_migration\RTC_GIT\rtc2git\gitFunctions.py", line 51, in initalize self.createrepo() File "C:\CC_GIT_migration\RTC_GIT\rtc2git\gitFunctions.py", line 64, in createrepo os.chdir(self.clonedRepoName) OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'https://github.com/repository name

ripudamann commented 1 year ago

Hi, which version of python are you using? I do not even get to this point and I was wondering if I am using the correct python version. I am using 3.8.10

abubakarmkarajagi commented 1 year ago

Hello ,

I am using 3.11.2 version of Python.

Regards, Abubakar.M.K From: ripudamann @.> Sent: Wednesday, March 15, 2023 9:45 PM To: rtcTo/rtc2git @.> Cc: Karajagi, Abubakar @.>; Author @.> Subject: [EXTERNAL] Re: [rtcTo/rtc2git] OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'https://github.com/ (Issue #167)

Hi, which version of python are you using? I do not even get to this point and I was wondering if I am using the correct python version. I am using 3.8.10

— Reply to this email directly, view it on GitHubhttps://github.com/rtcTo/rtc2git/issues/167#issuecomment-1470333497, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUNTFYIENJXZYQN23J4YUK3W4HTHTANCNFSM6AAAAAAVSFRL2Y. You are receiving this because you authored the thread.Message ID: @.**@.>>

abubakarmkarajagi commented 1 year ago

Will you be able to help on this issue ?

Regards, Abubakar.M.K From: ripsingh-cg-fi @.> Sent: Thursday, March 16, 2023 4:18 PM To: rtcTo/rtc2git @.> Cc: Karajagi, Abubakar @.>; Author @.> Subject: [EXTERNAL] Re: [rtcTo/rtc2git] OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'https://github.com/ (Issue #167)

Hi, Thanks for letting me know.

— Reply to this email directly, view it on GitHubhttps://github.com/rtcTo/rtc2git/issues/167#issuecomment-1471717368, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUNTFYI673NJLNOIWCGTA2DW4LVXNANCNFSM6AAAAAAVSFRL2Y. You are receiving this because you authored the thread.Message ID: @.**@.>>

ripudamann commented 1 year ago

I cannot say for sure, but it could be that the target directory mentioned in the config.ini need to be corrected

Have you mentioned it like as specified in the config.ini.sample as below:

Folder to be created - where migration will take place

Directory = \dir\targetDir

abubakarmkarajagi commented 1 year ago

Hello ,

I already gave the path @.*** . Could you please let me know what could be the issue ?

Regards, Abubakar.M.K From: ripudamann @.> Sent: Saturday, March 18, 2023 5:55 PM To: rtcTo/rtc2git @.> Cc: Karajagi, Abubakar @.>; Author @.> Subject: [EXTERNAL] Re: [rtcTo/rtc2git] OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'https://github.com/ (Issue #167)

I cannot say for sure, but it could be that the target directory mentioned in the config.ini need to be corrected

Have you mentioned it like as specified in the config.ini.sample as below:

Folder to be created - where migration will take place

Directory = \dir\targetDir

— Reply to this email directly, view it on GitHubhttps://github.com/rtcTo/rtc2git/issues/167#issuecomment-1474835555, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUNTFYPEC2EYDYYCVX5VJLDW4WSQTANCNFSM6AAAAAAVSFRL2Y. You are receiving this because you authored the thread.Message ID: @.**@.>>