Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Issue fix 43 #46

Closed
wants to merge 14 commits into from
Closed

Issue fix 43 #46

wants to merge 14 commits into from

Conversation

karolyi
Copy link
Contributor

@karolyi karolyi commented Jan 20, 2016

fixing issue #43, utf8 handling is generally a PITA with py2

@esc
Copy link
Contributor

esc commented Jan 21, 2016

I still haven't tried this out but I don't feel comfortable with the amount of reformatting and beautification. First, it makes the diff in the pull-request quite hard to read and second I do like the way the imports are formatted and spent quite a lot time making them look nice.

@esc
Copy link
Contributor

esc commented Jan 21, 2016

Maybe in future you could split feature/fix and beautifcation into two pull requests.

@esc
Copy link
Contributor

esc commented Jan 21, 2016

Anyway, let me get this tried manually today.

@karolyi
Copy link
Contributor Author

karolyi commented Jan 21, 2016

This does not work yet, travis produces absolutely weird errors via the request library which I'm unable to reproduce locally (which means it works locally, not just the tests but afp-cli itself installed and tried out).

We'll use another approach to fix this bug.

@karolyi
Copy link
Contributor Author

karolyi commented Jan 21, 2016

The import beautifications are done by isort.

@esc
Copy link
Contributor

esc commented Jan 21, 2016

Yes, I know about isort, I basically stopped "beautifying" other peoples code after I watched;

http://pyvideo.org/video/3511/beyond-pep-8-best-practices-for-beautiful-inte

Still the point about splitting beautifcation and bugfix remains.

Trying to use env with less env variables

Use different chars for testing

Trying to use bash because of utf-8

Adjusting xargs commandline

Let's see what locales we have in cram

Try to debug on travis

It seem cram is not the culprit

Debug on stderr with flush

Debugging from the wrong file

Debug sys default encoding

Log stdin and stdout encoding

Changing default stdin/stdout encoding for travis

UTF-8 instead of utf-8

Testing direct input parameters

Put debug to a different place

Test twice differently

See if pybuilder's the culprit

Digging into pybuilder

Putting my pybuilder in a separate line

Upgrading pip too

Get cram from my fork

Exporting PYTHONIOENCODING for cram

Debugging further

Narrowing down test code

Adding a test set

export LANG

Trying locale-gen

Add dpkg-reconfigure

Removing locale-gen

Add PYTHONIOENCODING

Test pybuilder cram plugin

Removing debug

Cleaning up

Adding travis_retry to retry network failed installs

Trying to debug yamlreader (pypy3 fails)

Force-set exit code from install to 0, stderr -> stdout

Don't let travis_retry handle the failing build (test)

Removing pypy3, does not build because of yamlreader
@esc
Copy link
Contributor

esc commented Jan 25, 2016

Will close in favour of #47

@esc esc closed this Jan 25, 2016
@karolyi karolyi deleted the issue-fix-43 branch January 26, 2016 12:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants