3rd party stats file unknown encoding

This forum contains information about 3rd party applications which may be of use to those who run the FAH client and one place where you might be able to get help when using one of those apps.

Moderator: Site Moderators

3rd party stats file unknown encoding

Postby Kakao » Sat Oct 27, 2012 8:35 pm

The daily_team_summary.txt.bz2 file is now encoded in an unknown 8 bit encoding, likely ISO-8859-2 according to python's chardet:
Code: Select all
>>> import chardet
>>> rawdata = open('daily_team_summary.txt', 'r').read()
>>> chardet.detect(rawdata)
{'confidence': 0.6944575439363857, 'encoding': 'ISO-8859-2'}

That is preventing the KakaoStats statistics processing. The previous encoding was ISO-8859-1 (latin1). Is it a mistake or will it stay as is?
Last edited by Kakao on Sat Oct 27, 2012 9:33 pm, edited 1 time in total.
User avatar
Kakao
 
Posts: 31
Joined: Sun Dec 02, 2007 5:52 pm
Location: Brasília, Brazil

Re: 3rd party stats file unknown encoding

Postby Kakao » Sat Oct 27, 2012 8:42 pm

iconv can't convert it from ISO-8859-2:
Code: Select all
$ iconv -f ISO_8859-2 -t ISO_8859-1 daily_team_summary.txt -o daily_team_summary.txt.latin1
iconv: illegal input sequence at position 35135
User avatar
Kakao
 
Posts: 31
Joined: Sun Dec 02, 2007 5:52 pm
Location: Brasília, Brazil

Re: 3rd party stats file unknown encoding

Postby P5-133XL » Sat Oct 27, 2012 8:56 pm

I pinged some people and hopefully they will address it quickly.
Image
P5-133XL
 
Posts: 4034
Joined: Sun Dec 02, 2007 4:36 am
Location: Salem. OR USA

Re: 3rd party stats file unknown encoding

Postby Kakao » Sat Oct 27, 2012 9:46 pm

I fixed it. My mistake.
Last edited by Kakao on Sat Oct 27, 2012 9:59 pm, edited 1 time in total.
User avatar
Kakao
 
Posts: 31
Joined: Sun Dec 02, 2007 5:52 pm
Location: Brasília, Brazil

Re: 3rd party stats file unknown encoding

Postby Jesse_V » Sat Oct 27, 2012 9:52 pm

Kakao wrote:I fixed it.

Thanks! :)
Pen tester at Cigital/Synopsys
User avatar
Jesse_V
 
Posts: 2773
Joined: Mon Jul 18, 2011 4:44 am
Location: USA

Re: 3rd party stats file unknown encoding

Postby VijayPande » Sat Oct 27, 2012 10:15 pm

ok, so everything is set on your end then?
Prof. Vijay Pande, PhD
Departments of Chemistry, Structural Biology, and Computer Science
Chair, Biophysics
Director, Folding@home Distributed Computing Project
Stanford University
User avatar
VijayPande
Pande Group Member
 
Posts: 2651
Joined: Fri Nov 30, 2007 6:25 am
Location: Stanford

Re: 3rd party stats file unknown encoding

Postby Kakao » Sat Oct 27, 2012 10:28 pm

Yes. Sorry for the noise.
User avatar
Kakao
 
Posts: 31
Joined: Sun Dec 02, 2007 5:52 pm
Location: Brasília, Brazil


Return to 3rd party contributed software

Who is online

Users browsing this forum: No registered users and 1 guest

cron