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

qubes-manager: UnicodeEncodeError in search #2562

Closed
yaqu opened this Issue Jan 8, 2017 · 2 comments

Comments

3 participants
@yaqu

yaqu commented Jan 8, 2017

Qubes OS version (e.g., R3.2):

R3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

dom0


$ rpm -q qubes-manager
qubes-manager-3.2.5-1.fc23.x86_64

Entering non-ascii characters (e.g. "ą") in qubes manager's search causes an UnicodeEncodeError:

UnicodeEncodeError: 'ascii' codec can't encode
character u'\u0105' in position 0: ordinal not in
range(128)

This is most likely a bug in Qubes Manager
----
line: self.search = str(search)
func: do_search
line no.: 702
file: /usr/lib64/python2.7/site-packages/qubesmanager/main.py

@andrewdavidwong andrewdavidwong added this to the Release 3.2 updates milestone Jan 8, 2017

@yaqu yaqu referenced this issue in QubesOS/qubes-manager Jan 9, 2017

Merged

Fix for UnicodeEncodeError in search #22

@marmarek marmarek closed this Jan 22, 2017

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Jan 22, 2017

Automated announcement from builder-github

The package qubes-manager-3.2.6-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Automated announcement from builder-github

The package qubes-manager-3.2.6-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

jpouellet added a commit to jpouellet/qubes-manager that referenced this issue Feb 13, 2017

Restrict VM search field to valid VM names
Properly fixes QubesOS/qubes-issues#2562

This regex is starting to get duplicated in too many places...
I think it belongs in core somewhere.

jpouellet added a commit to jpouellet/qubes-manager that referenced this issue Feb 13, 2017

Restrict VM search field to valid VM names
Properly fixes QubesOS/qubes-issues#2562

This regex is starting to get duplicated in too many places...
Maybe it belongs in core somewhere?

@jpouellet jpouellet referenced this issue in QubesOS/qubes-manager Feb 13, 2017

Merged

Proper fix for #2562 #25

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Feb 20, 2017

Automated announcement from builder-github

The package qubes-manager-3.2.9-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Automated announcement from builder-github

The package qubes-manager-3.2.9-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment