Esri / Esri/ago-tools

UnicodeEncodeError when running AGOLCat.py sample from command line

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
90
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Issue when running [AGOLCat.py](https://github.com/Esri/ago-tools/blob/master/samples/AGOLCat.py) from the command line as shown in the sample with `-size True` for ArcGIS Online organization.

I believe `\u2014` maps to the [em dash](https://en.wikipedia.org/wiki/Dash).

![ago-tools_error](https://cloud.githubusercontent.com/assets/4150021/14187876/2bb34a40-f753-11e5-938e-6e6d3c8e4f20.png)

Contributor guide

Open the contributing guide

Research direction

Start with samples/AGOLCat.py and reproduce the command-line run using the -size True option for an ArcGIS Online organization. Inspect where the em dash is handled or printed and verify the sample completes without UnicodeEncodeError while still reporting the organization size.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.