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 9: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 10:33 pm, edited 1 time in total.
User avatar
Kakao
 
Posts: 30
Joined: Sun Dec 02, 2007 6:52 pm
Location: Brasília, Brazil

Re: 3rd party stats file unknown encoding

Postby Kakao » Sat Oct 27, 2012 9: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: 30
Joined: Sun Dec 02, 2007 6:52 pm
Location: Brasília, Brazil

Re: 3rd party stats file unknown encoding

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

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

Re: 3rd party stats file unknown encoding

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

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

Re: 3rd party stats file unknown encoding

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

Kakao wrote:I fixed it.

Thanks! :)
F@h is now the top computing platform on the planet and nothing unites people like a dedicated fight against a common enemy. This virus affects all of us. Lets end it together.
Jesse_V
Site Moderator
 
Posts: 2851
Joined: Mon Jul 18, 2011 5:44 am
Location: Western Washington

Re: 3rd party stats file unknown encoding

Postby VijayPande » Sat Oct 27, 2012 11: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
VijayPande
Pande Group Member
 
Posts: 2058
Joined: Fri Nov 30, 2007 7:25 am
Location: Stanford

Re: 3rd party stats file unknown encoding

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

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


Return to 3rd party contributed software

Who is online

Users browsing this forum: No registered users and 0 guests

cron