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

UnicodeEncodeError: 'ascii' codec can't encode characters in position 8-9: ordinal not in range(128) #53

Open GoDllkE opened 4 years ago

GoDllkE commented 4 years ago

Got this error when running a migration:

$ python nexus2artifactory/./NexusToArtifactory.py Traceback (most recent call last): File "nexus2artifactory/./NexusToArtifactory.py", line 70, in <module> else: initInteractive(setup) File "nexus2artifactory/./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 64, in migrate if counts['group'] > 0: self.migrategroups(conn, conf) File "/root/nexus2artifactory/nex2art/core/Artifactory.py", line 349, in migrategroups self.prog.refresh() File "/root/nexus2artifactory/nex2art/core/Progress.py", line 50, in refresh self.render() File "/root/nexus2artifactory/nex2art/core/Progress.py", line 110, in render unicurses.waddstr(self.scr.win, self.current + "\n") File "/root/nexus2artifactory/unicurses.py", line 766, in waddstr return scr_id.addstr(str(cstr)) UnicodeEncodeError: 'ascii' codec can't encode characters in position 8-9: ordinal not in range(128)