cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
481
Views
0
Helpful
1
Replies

A Bulk Transcript Downloader Problem

Martin Moran
Level 3
Level 3

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
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
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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: