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

x: Run Migration Failed #57

Closed An-zhe closed 4 years ago

An-zhe commented 4 years ago

I have Initialed Setup , and Verify Configuration sucessfully , but when run x (Run Migration) the log show as follow :

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

my license is EnterpriseX license 7.3.2 rev