Closed Bug 1035946 Opened 10 years ago Closed 10 years ago

urllib2.unquote parser failing in fetch_adi_from_hive script

Categories

(Socorro :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: rhelmer)

References

Details

I don't see any reason to use urllib2.quote in here at all actually - if we just convert each column to str and then encode UTF-8, then it'll be written to the CSV correctly and psycopg2 will be able to insert it.
Summary: urllib2.quote parser failing in fetch_adi_from_hive script → urllib2.unquote parser failing in fetch_adi_from_hive script
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/651c5f4c760daa21c3e2660d0633f13fe9e2e40f fix bug 1035946 - urllib.unquote does not like ints, and backslash will wreak havoc with the CSV->postgres import https://github.com/mozilla/socorro/commit/699824be5a97fa5b58223f8e071c858f957345cf Merge pull request #2176 from rhelmer/bug1035946-urllib2-quote-parser-failing fix bug 1035946 - urllib.unquote does not like ints, and backslash will
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93
You need to log in before you can comment on or make changes to this bug.