jfrog / nexus2artifactory

NexusToArtifactory - A tool designed to ease migration from Sonatype Nexus to JFrog Artifactory.
Apache License 2.0
67 stars 54 forks source link

TypeError: string indices must be integers, not str #79

Open boobathi08 opened 3 years ago

boobathi08 commented 3 years ago

Getting below error when trying to migrate a single repo. is there a workaround or fix, I am trying to migrate a nexus repo hosted on Linux machine,.

//// [root@ip-192-168-71-176 nexus2artifactory-master]# python NexusToArtifactory.py Traceback (most recent call last): File "NexusToArtifactory.py", line 70, in else: initInteractive(setup) File "NexusToArtifactory.py", line 27, in initInteractive win.show() File "/home/C960250/nexus2artifactory-master/nex2art/core/Menu.py", line 179, in show if self.runact(sel, sel['act']): return File "/home/C960250/nexus2artifactory-master/nex2art/core/Menu.py", line 203, in runact elif hasattr(act, 'call'): cont = self.showCall(sel, act) File "/home/C960250/nexus2artifactory-master/nex2art/core/Menu.py", line 223, in showCall cont = act(sel) File "/home/C960250/nexus2artifactory-master/nex2art/menu/Main.py", line 66, in runmigration status, msg = Progress(self.scr).show(self.scr.state.todict()) File "/home/C960250/nexus2artifactory-master/nex2art/core/Progress.py", line 30, in show result = self.scr.artifactory.migrate(self, conf) File "/home/C960250/nexus2artifactory-master/nex2art/core/Artifactory.py", line 63, in migrate if counts['repo'] > 0: self.migraterepos(conn, conf) File "/home/C960250/nexus2artifactory-master/nex2art/core/Artifactory.py", line 190, in migraterepos for res in result: repos[res['key']] = True TypeError: string indices must be integers, not str [root@ip-192-168-71-176 nexus2artifactory-master]# /////