Modify

Ticket #3718 (closed defect: fixed)

Opened 17 months ago

Last modified 7 months ago

Can't create share with polish special signs

Reported by: support@… Owned by: jamor@…
Milestone: 3.0.X Component: base
Severity: normal Keywords:
Cc:

Description

Trying to create share

Share name: Zarząd Share path: Directory under zentyal : zarzad (no polish signs here) Share comment: Zarząd

2012/01/17 13:08:59 ERROR> Redis.pm:717 EBox::Config::Redis::_redis_call - Redis command 'hget /ebox/modules/samba/SambaShares/keys/share.idx Zarząd' failed: Wide character in syswrite at /usr/share/perl5/Redis.pm line 265.

on the other hand i can create share "Wspólny",

Attachments

Change History

comment:1 Changed 17 months ago by jamor@…

Hello,

I was able to create the share with the name Zarząd .

This are my package versions:

zentyal-core:
  Installed: 2.2.4
  Candidate: 2.2.4
  Version table:

zentyal-samba:
  Installed: 2.2
  Candidate: 2.2

Could you check whether you have your system updated?.

Regards,

Javier

comment:2 Changed 17 months ago by support@…

It's up to date

ii zentyal-core 2.2.4 Zentyal - Core ii zentyal-samba 2.2 Zentyal - File Sharing Service

comment:3 Changed 17 months ago by jamor@…

  • Component changed from base to samba
  • Milestone set to 2.2.X

comment:4 follow-up: ↓ 5 Changed 17 months ago by jamor@…

Have you set your Zentyal language to polish? or is it set to another language?

comment:5 in reply to: ↑ 4 Changed 17 months ago by support@…

Replying to jamor@…:

Have you set your Zentyal language to polish? or is it set to another language?

no, languge is set to english

comment:6 Changed 17 months ago by jamor@…

  • Status changed from new to accepted

comment:7 follow-ups: ↓ 8 ↓ 9 Changed 17 months ago by jamor@…

Hello support,

as I told you before I was able to create the share in polish (and also another one with cyrillic characters) so I believe that this must be result of the configuration of your system.

Could you set Zentyal to polish (the interface would notice you of any package needed for that) ?. Then check if the share works. You could revert to English after the test.

Regards,

Javier

comment:8 in reply to: ↑ 7 Changed 17 months ago by support@…

Replying to jamor@…: I tried with English Polish and even Spanish, this server has enterprise subscription and still regardles language i get

2012/01/26 12:13:10 ERROR> Redis.pm:717 EBox::Config::Redis::_redis_call - Redis command 'hget /ebox/modules/samba/SambaShares/keys/share.idx Zarząd' failed: Wide character in syswrite at /usr/share/perl5/Redis.pm line 265.

comment:9 in reply to: ↑ 7 Changed 17 months ago by support@…

We have 3 zentyal servers, on all I get same error

comment:10 Changed 17 months ago by jamor@…

Hello support,

I am not able to reproduce the problem in my servers. it would be possible to give me access to one of your servers so I can look to it?.

If the server is subscribed you can sue the remote support feature, just told me what is its name. Or you can give me ssh access. My email is jamor AT zentyal.com.

Regards,

Javier

comment:11 follow-up: ↓ 12 Changed 16 months ago by jamor@…

  • Status changed from accepted to closed
  • Resolution set to worksforme

Hello,

I have tried it again, I had putted directly in the _redis_call method polish and cyrillic characters and the 'wide char' error was not raised.

I could not get a handle on this in my own, if you can give me more feedback or access to your servers, reopen the ticket.

Regards,

Javier

comment:12 in reply to: ↑ 11 Changed 16 months ago by support@…

Replying to jamor@…:

Hello,

I have tried it again, I had putted directly in the _redis_call method polish and cyrillic characters and the 'wide char' error was not raised.

I could not get a handle on this in my own, if you can give me more feedback or access to your servers, reopen the ticket.

Sorry, we've been very busy lately, i'll mail you ssh access tommorow to one of our servers.

Regards

Andrzej

comment:13 Changed 16 months ago by jamor@…

  • Status changed from closed to reopened
  • Resolution worksforme deleted

Confirmed. This a encoding error of the redis call arguments. However only occurs in a handful of servers.

comment:14 Changed 16 months ago by jamor@…

  • Status changed from reopened to accepted

comment:15 Changed 16 months ago by jamor@…

Same problem reported in #3831

comment:16 Changed 16 months ago by jamor@…

  • Milestone changed from 2.2.X to 3.0

Hello,

thanks to Andrzej's help we could finally reproduce it. However we have not fix for it in this version; there are some bad interactions of perl/redis with UTF8. In 3.0 they will be new redis versions so we think we could fix in this version.

Sorry, but in the meantime we have to stick with ASCII share names and descriptions.

Regards,

Javier

comment:17 Changed 15 months ago by jamor@…

Another example: #4068

comment:18 Changed 9 months ago by jamor@…

Recent examples:

  • Shares with bad names #5190
  • ISO-8859-1 instead of UTF-8 #5175

comment:19 Changed 9 months ago by jamor@…

  • Component changed from samba to base

comment:20 Changed 7 months ago by jag

  • Status changed from accepted to closed
  • Resolution set to fixed

This is fixed in  http://github.com/Zentyal/zentyal/tree/jacalvo/fix-utf8

We will test this for a while before releasing it. The changes are very deep so if you want to test it you should make software packages from the sources

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.