Skip to content

Fully Functional Python 3 - using requests in place of urllib2#17

Open
daniel-butler wants to merge 26 commits into
paulmakepeace:masterfrom
daniel-butler:master
Open

Fully Functional Python 3 - using requests in place of urllib2#17
daniel-butler wants to merge 26 commits into
paulmakepeace:masterfrom
daniel-butler:master

Conversation

@daniel-butler

Copy link
Copy Markdown

Working on fixing the facet engine. All but some of the tutorial tests pass

@daniel-butler

Copy link
Copy Markdown
Author

All Tests pass! The changes to the test files were to adjust it to the defaults in 2.8 after I validated they were correct using the open refine UI. The very first test case I had to adjust, I had to make the column all numbers before the sting conversion would work for all columns. That was also the case when I used the UI.

@daniel-butler daniel-butler changed the title Python 2 to 3 adjusted urllib with requests. Tutorials tests don’t pass Fully Functional Python 3 - using requests in place of urllib2 May 20, 2018
@daniel-butler

Copy link
Copy Markdown
Author

fixes for the following issues # #11 #

@daniel-butler

Copy link
Copy Markdown
Author

Comment thread open/refine/refine.py
recon_services = self.get_reconciliation_services()
for recon_service in recon_services:
if recon_service['name'] == name or recon_service['url'] == name:
if recon_service['name'] == name or recon_service['server_url'] == name:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change breaks lookups on wikidata reconciliation for me. Also line 676.

@psychemedia

Copy link
Copy Markdown

Creating a new project in OR 3.1 fails for me; works okay-ish with OR 2.8, although the project is created as Untitled.

@psychemedia

Copy link
Copy Markdown

Do you have any minimal working examples of how to do reconciliation?

@felixlohmeier

Copy link
Copy Markdown

dbutlerdb:python2_2.8_&_3.0-beta (#18) and dbutlerdb:master (#17) is identical as of today.

see comment in #18 for some test results. maybe it works well with OpenRefine 3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants