Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudden crash #51

Closed
hammyau opened this issue Sep 13, 2022 · 4 comments
Closed

sudden crash #51

hammyau opened this issue Sep 13, 2022 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@hammyau
Copy link
Member

hammyau commented Sep 13, 2022

Hi whilst I was able to connect and ispf started it suddenly stopped.
Trace below.

File "/Library/Frameworks/Python.framework/Versions/3.10/bin/zti", line 8, in
sys.exit(main())

File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tnz/zti.py", line 3850, in main
zti.cmdloop(intro)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tnz/zti.py", line 200, in cmdloop
super().cmdloop(intro=text)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/cmd.py", line 217, in onecmd
return func(arg)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tnz/zti.py", line 675, in do_goto
r2d2rv = self.__r2d2(self.stdscr, _WAIT_GOTO, -1)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tnz/zti.py", line 2184, in __r2d2
self.__display(win, not show)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tnz/zti.py", line 1918, in __display
self.write(tns, faddr, saddr, eaddr)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tnz/zti.py", line 1443, in write
self.__write_group(tns, faddr, saddr1, eaddr1)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tnz/zti.py", line 3600, in __write_group
text = tns.scrstr(caddr1, endpos)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tnz/tnz.py", line 1503, in scrstr
strl.append(codec_info[cii].decode(bytes1)[0])
KeyError: 241

Make any sense?

@hammyau
Copy link
Member Author

hammyau commented Sep 13, 2022

FYI this was running on a Mac.

@najohnsn
Copy link
Member

This was resolved by #39. But fix has not been built into a release yet. To install the latest (with #39): pip3 install git+https://github.com/IBM/tnz.

@najohnsn najohnsn added the duplicate This issue or pull request already exists label Sep 13, 2022
@hammyau
Copy link
Member Author

hammyau commented Sep 14, 2022

Excellent, that did the job.
Thanks for the quick reply.

I also needed the export ZTI_SECLEVEL=1 that Kip told me about.
And all looks much like my Windows PComm.
Well done.

@najohnsn
Copy link
Member

Thanks! Glad to hear it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants