sathyanarayananssn / clamtk

Automatically exported from code.google.com/p/clamtk
Other
0 stars 0 forks source link

cannot decode string #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. When i click on Scan a directory (in my language calling: Einen Ordner 
überprüfen), it does norhing. Starts clamtk in terminal, get this messages:
clamtk 
*** unhandled exception in callback:
***   Cannot decode string with wide characters at 
/usr/lib/perl5/5.12.3/x86_64-linux-thread-multi/Encode.pm line 174.
***  ignoring at /usr/lib/perl5/vendor_perl/5.12.3/ClamTk/GUI.pm line 129.
 The same thing on Scan a file

I'm using here clamtk 5.03 and latest clam version 0.98.1.
My running system is 
PCLinuxOS-LXDE64bit up to date.

In /usr/lib/perl5/5.12.3/x86_64-linux-thread-multi/Encode.pm line 174 is 
written:
my $string = $enc->decode( $octets, $check )

and in /usr/lib/perl5/vendor_perl/5.12.3/ClamTk/GUI.pm 129
Gtk2->main;

What I'm missing here?
Thanks for any suggestions
Daniel

Original issue reported on code.google.com by MeissS...@gmail.com on 15 Feb 2014 at 10:12

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi,

What is your $LANG setting?

(open a terminal window and type "echo $LANG" without quotes)

I cannot seem to duplicate the problem yet.  I switched my $LANG variable to 
de_DE and it still worked for me.

Thanks,
Dave M

Original comment by dave.n...@gmail.com on 16 Feb 2014 at 11:46

GoogleCodeExporter commented 8 years ago
My $LANG are de_DE.UTF-8

I rewrite the german po file from Ändern to Aendern but the same result... 

Regards
Daniel

Original comment by MeissS...@gmail.com on 16 Feb 2014 at 11:52

GoogleCodeExporter commented 8 years ago
If i install it without translation files, it works.
Only when i install german locale it had this problem.
So is on my system the issues.
Thanks
Daniel 

Original comment by MeissS...@gmail.com on 16 Feb 2014 at 12:03

GoogleCodeExporter commented 8 years ago
Huh, that's weird.  I changed from en_US.UTF-8 to de_DE to de_DE.UTF-8 and 
still no problems.  Well, almost no problems:  the history file does not 
properly display some characters of files scanned, which I can look into. But 
your problem I haven't yet figured out...

I'll keep working on it...

Thanks,
Dave M

Original comment by dave.n...@gmail.com on 16 Feb 2014 at 12:06

GoogleCodeExporter commented 8 years ago
Ok, keep me updated if the issue is on my end.  I need to look at contents of 
the history files now to determine why they don't properly display.

Original comment by dave.n...@gmail.com on 16 Feb 2014 at 12:09

GoogleCodeExporter commented 8 years ago
This is display, when i install with german locale, and then it wont work...

I've no idea where it hangs on, sorry

Daniel

Original comment by MeissS...@gmail.com on 16 Feb 2014 at 12:19

Attachments:

GoogleCodeExporter commented 8 years ago
I'm not sure, but if I click on scan a file, it's scan my directory?
Seems there more issues 

Regards
Daniel

Original comment by MeissS...@gmail.com on 16 Feb 2014 at 12:55