issue 4
(Unhandled UnicodeEncodeErrors) reported by kjdyck
- When printing status messages that contain characters that the default
encoding can not translate, twish dies from an unhandled
UnicodeEncodeError. The reason for the UnicodeEncodeError is that Python
uses 'strict' error handling in the default encoding.
I'm using v0.02 (r16 in svn) of twish on Windows XP and Vista.
Attached is a patch that wraps stdout and stderr with encoders that use
'backslashreplace' error handling.
When printing status messages that contain characters that the default
encoding can not translate, twish dies from an unhandled
UnicodeEncodeError. The reason for the UnicodeEncodeError is that Python
uses 'strict' error handling in the default encoding.
I'm using v0.02 (r16 in svn) of twish on Windows XP and Vista.
Attached is a patch that wraps stdout and stderr with encoders that use
'backslashreplace' error handling.
Nov 13, 2008
issue 3
(Doesn't run on Windows) reported by kjdyck
- Python reports an ImportError when attempting to import the readline
module. When the import statement is wrapped in a try/except block, the
output is garbled with terminal control characters.
I'm running v0.02 (r16 in the svn repository) on Windows XP and Vista.
I've attached a patch that ignores the import error and sets the control
characters to blank strings on windows.
Python reports an ImportError when attempting to import the readline
module. When the import statement is wrapped in a try/except block, the
output is garbled with terminal control characters.
I'm running v0.02 (r16 in the svn repository) on Windows XP and Vista.
I've attached a patch that ignores the import error and sets the control
characters to blank strings on windows.
Oct 30, 2008
issue 2
(Entering a password is shown in the terminal) commented on by cmsimike
- No idea why this submitted twice. Apologies.
No idea why this submitted twice. Apologies.
Oct 30, 2008
issue 2
(Entering a password is shown in the terminal) reported by cmsimike
- What steps will reproduce the problem?
1. Start up twish (python twish.py)
2. When prompted, put in your username and press enter
3. When prompted, type in your password
What is the expected output? What do you see instead?
The expected output is nothing. Not only do I see my password, but anyone
else can as well.
What version of the product are you using? On what operating system?
Whatever is in the trunk. Version .02 I guess. r16 from subversion.
Please provide any additional information below.
I've downloaded your source and made the modifications so that this is
fixed. I will post the diff here and attach it as a file. Please let me
know if you have any other questions.
8a9
> import getpass
331c332
< password = config.get('password') or raw_input('Please enter your
twitter password: ')
---
> password = config.get('password') or getpass.getpass('Please enter
your twitter password: ')
What steps will reproduce the problem?
1. Start up twish (python twish.py)
2. When prompted, put in your username and press enter
3. When prompted, type in your password
What is the expected output? What do you see instead?
The expected output is nothing. Not only do I see my password, but anyone
else can as well.
What version of the product are you using? On what operating system?
Whatever is in the trunk. Version .02 I guess. r16 from subversion.
Please provide any additional information below.
I've downloaded your source and made the modifications so that this is
fixed. I will post the diff here and attach it as a file. Please let me
know if you have any other questions.
8a9
> import getpass
331c332
< password = config.get('password') or raw_input('Please enter your
twitter password: ')
---
> password = config.get('password') or getpass.getpass('Please enter
your twitter password: ')
Oct 30, 2008
issue 1
(Entering a password is shown in the terminal) reported by cmsimike
- What steps will reproduce the problem?
1. Start up twish (python twish.py)
2. When prompted, put in your username and press enter
3. When prompted, type in your password
What is the expected output? What do you see instead?
The expected output is nothing. Not only do I see my password, but anyone
else can as well.
What version of the product are you using? On what operating system?
Whatever is in the trunk. Version .02 I guess. r16 from subversion.
Please provide any additional information below.
I've downloaded your source and made the modifications so that this is
fixed. I will post the diff here and attach it as a file. Please let me
know if you have any other questions.
8a9
> import getpass
331c332
< password = config.get('password') or raw_input('Please enter your
twitter password: ')
---
> password = config.get('password') or getpass.getpass('Please enter
your twitter password: ')
What steps will reproduce the problem?
1. Start up twish (python twish.py)
2. When prompted, put in your username and press enter
3. When prompted, type in your password
What is the expected output? What do you see instead?
The expected output is nothing. Not only do I see my password, but anyone
else can as well.
What version of the product are you using? On what operating system?
Whatever is in the trunk. Version .02 I guess. r16 from subversion.
Please provide any additional information below.
I've downloaded your source and made the modifications so that this is
fixed. I will post the diff here and attach it as a file. Please let me
know if you have any other questions.
8a9
> import getpass
331c332
< password = config.get('password') or raw_input('Please enter your
twitter password: ')
---
> password = config.get('password') or getpass.getpass('Please enter
your twitter password: ')