cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
296
Views
0
Helpful
1
Replies
Martin Moran
Participant

A Bulk Transcript Downloader Problem

Hello,

As I already post the problem in the support forum, I will just let the URL here and hope that you can help me.

Bulk Transcript Downloader Error - Cisco Support Community

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
namahesh
Cisco Employee

Hi Martin,


I have provided the answer to your original query in supportforums.cisco.com.

I'm also adding it below.

Hope this helps.

-----------------------------------------------------------------------------

Oops, but good catch!

Basically, the bulk transcript downloader script is unable to process unicode (UTF-8 encoded) characters. (Do your transcripts have multi-byte, non-english characters in them?)

It is a simple fix, I will do it and re-publish this code.
Meanwhile, can you try one of these options?

  • OPTION 1: In your shell, export the default python encoding to UTF-8
    export PYTHONIOENCODING="UTF-8"
    Then, in the same shell, run the python script again.

  • OPTION 2: In your shell, export the default system encoding to UTF-8
    export LC_ALL=C.UTF-8
    Then, in the same shell, run the python script again.


FYI, all the sample code of SocialMiner (including this one) is available publicly on github.com now!
Check out https://github.com/CiscoDevNet/socialminer-sample-code

View solution in original post

1 REPLY 1
namahesh
Cisco Employee

Hi Martin,


I have provided the answer to your original query in supportforums.cisco.com.

I'm also adding it below.

Hope this helps.

-----------------------------------------------------------------------------

Oops, but good catch!

Basically, the bulk transcript downloader script is unable to process unicode (UTF-8 encoded) characters. (Do your transcripts have multi-byte, non-english characters in them?)

It is a simple fix, I will do it and re-publish this code.
Meanwhile, can you try one of these options?

  • OPTION 1: In your shell, export the default python encoding to UTF-8
    export PYTHONIOENCODING="UTF-8"
    Then, in the same shell, run the python script again.

  • OPTION 2: In your shell, export the default system encoding to UTF-8
    export LC_ALL=C.UTF-8
    Then, in the same shell, run the python script again.


FYI, all the sample code of SocialMiner (including this one) is available publicly on github.com now!
Check out https://github.com/CiscoDevNet/socialminer-sample-code

View solution in original post

Create
Recognize Your Peers
Content for Community-Ad