Highlighted
Outstanding Contributor.
Outstanding Contributor.
983 views

'ascii' codec can't encode character

hi all,

appointments created on mobile devices and include invitees don't get synced when these conditions exist:

1. sender has special characters in either first or last name (german umlauts or french ´`)
2. appointment has invitees

you see the appointment shows up on the mobile device only and is neither being synced to own gw account nor to the invitee.

2017-12-21 17:11:52.301 ERROR [Device_Thread-19] [sync:1250] [userID:] [eventID:] [objectID:] [Sync] doSync except: 'ascii' codec can't encode character u'\xe4' in position 1: ordinal not in range(128)
Traceback (most recent call last):
File "./mobility/lib/device/sync.py", line 1222, in doSync
File "./mobility/lib/device/sync.py", line 4305, in __processChangesFromDevice
File "./mobility/lib/device/sync.py", line 3970, in __addOrganizerToApptData
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 1: ordinal not in range(128)


sr 101136706371 has been created.

my own workaround:
in the admin console change the first and or last name to a non special character one and appointments with invitees start to sync again.

regards Norman

ps: when do i get paid for testing all this?

Norman
BahSIG Bahn-Signalbau GmbH
Labels (1)
0 Likes
3 Replies
Highlighted
Knowledge Partner
Knowledge Partner

Re: 'ascii' codec can't encode character

bahsig;2472330 wrote:
ps: when do i get paid for testing all this?


I hear you!

When we purchase software, we expect it to work. Unfortunately, program defects are a fact of life.

When we encounter issues we have a couple of choices:


  • We can sit back, do nothing, and hope a patch will be forthcomong.
  • We can gather as much information as possible and make the vendor aware of the situation.

Like many of our community menbers you have chosen the latter and are to be commended for your choice. In the end our issues are usually resolved sooner and the larger community benefits from our efforts.

Thank you for making us aware of this issue!
_____
Kevin Boyle - Knowledge Partner - Calgary, Alberta, Canada
Who are the Knowledge Partners?
If you appreciate my comments, please click the Like button.
If I have resolved your issue, please click the Accept as Solution button.
0 Likes
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Re: 'ascii' codec can't encode character

that was indeed a rethorical question. so i din‘t expect any reaction an that. 

Norman
BahSIG Bahn-Signalbau GmbH
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: 'ascii' codec can't encode character

In article <bahsig.89v96n@no-mx.forums.microfocus.com>, Bahsig wrote:
> that was indeed a rethorical question. so i din?t expect any reaction an
> that.


Beware what you ask for, you might just get it 😉
such as the Mr Adventure character in 'The Search for Spock'


Andy of
http://KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks!
GMS troubleshooting tips at http://www.konecnyad.ca/andyk/gwmobility.htm


___
“i’ve sworn an oath of solitude til the blight is purged from these lands”
Andy of Konecny Consulting in Toronto
Knowledge Partner Profile
If you find a post helpful, click the Like button below. Thanks!
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.