Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump org.openrefine:main from 3.6-SNAPSHOT to 3.8.1 #107

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 6, 2024

Bumps org.openrefine:main from 3.6-SNAPSHOT to 3.8.1.

Release notes

Sourced from org.openrefine:main's releases.

OpenRefine v3.8.1

This is the second stable release of the 3.8 series. Please backup your workspace directory before installing and report any problems that you encounter.

Changes

For an overview of the main changes since 3.7, refer to the changelog for 3.8-beta1. This lists the changes since 3.8.0.

OpenRefine v3.8.0

This is the first stable release of the 3.8 series. Please backup your workspace directory before installing and report any problems that you encounter.

Changes

  • Improve new release notification for better flexibility and privacy (#6511) by @​wetneb

OpenRefine v3.8-beta.4

Version skipped due to an issue in the publishing process. See 3.8-beta5 instead.

OpenRefine v3.8-beta.3

Version skipped due to an issue in the publishing process. See 3.8-beta5 instead.

OpenRefine v3.8-beta5

This is the second beta release of the 3.8 series (version numbers 3.8-beta2 , 3.8-beta3 and 3.8-beta4 are skipped because of publishing problems). Please backup your workspace directory before installing and report any problems that you encounter.

Changes

OpenRefine v3.8-beta1

This is the first beta release of the 3.8 series. Please backup your workspace directory before installing and report any problems that you encounter.

New features and improvements

Keyboard navigation improvements

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.openrefine:main](https://github.com/OpenRefine/OpenRefine) from 3.6-SNAPSHOT to 3.8.1.
- [Release notes](https://github.com/OpenRefine/OpenRefine/releases)
- [Commits](https://github.com/OpenRefine/OpenRefine/commits/3.8.1)

---
updated-dependencies:
- dependency-name: org.openrefine:main
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 6, 2024
@sebastian-berlin-wmse
Copy link
Contributor

Apart from the build error there's a Javascript error:

11:07:51.046 Uncaught TypeError: OpenRefineVersion.module_names is undefined
showVersion http://127.0.0.1:3333/index-bundle.js:45771
fire http://127.0.0.1:3333/index-bundle.js:3225
fireWith http://127.0.0.1:3333/index-bundle.js:3355
done http://127.0.0.1:3333/index-bundle.js:9629
callback http://127.0.0.1:3333/index-bundle.js:9890
send http://127.0.0.1:3333/index-bundle.js:9909
ajax http://127.0.0.1:3333/index-bundle.js:9523
http://127.0.0.1:3333/index-bundle.js:11101
prop http://127.0.0.1:3333/index-bundle.js:10903
method http://127.0.0.1:3333/index-bundle.js:9679
getJSON http://127.0.0.1:3333/index-bundle.js:9660
showVersion http://127.0.0.1:3333/index-bundle.js:45764
http://127.0.0.1:3333/index-bundle.js:45862
mightThrow http://127.0.0.1:3333/index-bundle.js:3491
process http://127.0.0.1:3333/index-bundle.js:3559
setTimeout handlerDeferred/then/resolve/< http://127.0.0.1:3333/index-bundle.js:3604
fire http://127.0.0.1:3333/index-bundle.js:3225
fireWith http://127.0.0.1:3333/index-bundle.js:3355
fire http://127.0.0.1:3333/index-bundle.js:3363
fire http://127.0.0.1:3333/index-bundle.js:3225
fireWith http://127.0.0.1:3333/index-bundle.js:3355
ready http://127.0.0.1:3333/index-bundle.js:3846
completed http://127.0.0.1:3333/index-bundle.js:3856
EventListener.handleEvent
http://127.0.0.1:3333/index-bundle.js:3872
http://127.0.0.1:3333/index-bundle.js:35
http://127.0.0.1:3333/index-bundle.js:39
index-bundle.js:45771:83
showVersion http://127.0.0.1:3333/index-bundle.js:45771
fire http://127.0.0.1:3333/index-bundle.js:3225
fireWith http://127.0.0.1:3333/index-bundle.js:3355
done http://127.0.0.1:3333/index-bundle.js:9629
callback http://127.0.0.1:3333/index-bundle.js:9890
(Async: EventHandlerNonNull)
send http://127.0.0.1:3333/index-bundle.js:9909
ajax http://127.0.0.1:3333/index-bundle.js:9523
http://127.0.0.1:3333/index-bundle.js:11101
prop http://127.0.0.1:3333/index-bundle.js:10903
method http://127.0.0.1:3333/index-bundle.js:9679
getJSON http://127.0.0.1:3333/index-bundle.js:9660
showVersion http://127.0.0.1:3333/index-bundle.js:45764
http://127.0.0.1:3333/index-bundle.js:45862
mightThrow http://127.0.0.1:3333/index-bundle.js:3491
process http://127.0.0.1:3333/index-bundle.js:3559
(Async: setTimeout handler)
resolve http://127.0.0.1:3333/index-bundle.js:3604
fire http://127.0.0.1:3333/index-bundle.js:3225
fireWith http://127.0.0.1:3333/index-bundle.js:3355
fire http://127.0.0.1:3333/index-bundle.js:3363
fire http://127.0.0.1:3333/index-bundle.js:3225
fireWith http://127.0.0.1:3333/index-bundle.js:3355
ready http://127.0.0.1:3333/index-bundle.js:3846
completed http://127.0.0.1:3333/index-bundle.js:3856
(Async: EventListener.handleEvent)
http://127.0.0.1:3333/index-bundle.js:3872
http://127.0.0.1:3333/index-bundle.js:35
http://127.0.0.1:3333/index-bundle.js:39

@@ -41,7 +41,7 @@ public FileRecordToRows(Iterator<FileRecord> iteratorFileRecords, boolean catego
this.identifierSpace = "https://commons.wikimedia.org/entity/";
this.schemaSpace = "http://www.wikidata.org/prop/direct/";
this.service = "https://commonsreconcile.toolforge.org/en/api";
this.reconConfig = new StandardReconConfig(service, identifierSpace, schemaSpace, null, null, true, Collections.emptyList());
this.reconConfig = new StandardReconConfig(service, identifierSpace, schemaSpace, null, null, true, relatedCategoriesIndex, Collections.emptyList(), relatedCategoriesIndex);
Copy link
Member

Choose a reason for hiding this comment

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

This looks like a default suggestion of your IDE, which used whatever integer was in scope to provide a missing integer parameter for the constructor - that can work for more complex types but it's rarely the right thing to do for basic types like integers. Specifically, those two integer parameters are:

  • batchSize -> I would leave it to 10
  • limit -> I would leave it to 0

Copy link
Contributor

Choose a reason for hiding this comment

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

You're right. I was a bit quick to accept the suggestion. I found another constructor that didn't specify limit, giving it the default, so I used that one.

@sebastian-berlin-wmse
Copy link
Contributor

I tried with OR master (337d4e2) which works. At least the extension loads, though there was an error when I tried using it: a popup saying "Unable to parse preview". I haven't really used the extension so I don't know if it's related to this.

The log reads:

12:16:48.694 [..monsImportingController] doPost::CommonsServiceException::{} (329ms)
java.util.MissingResourceException: No resource was found for com.google.refine.messages.OpenRefineMessage
at org.jvnet.localizer.ResourceBundleHolder.get(ResourceBundleHolder.java:126)
at org.jvnet.localizer.ResourceBundleHolder.get(ResourceBundleHolder.java:123)
at org.jvnet.localizer.ResourceBundleHolder.get(ResourceBundleHolder.java:123)
at org.jvnet.localizer.ResourceBundleHolder.format(ResourceBundleHolder.java:214)
at com.google.refine.messages.OpenRefineMessage.importer_utilities_column(OpenRefineMessage.java:33)
at com.google.refine.importers.ImporterUtilities.getOrAllocateColumn(ImporterUtilities.java:136)
at com.google.refine.importers.TabularImportingParserBase.readTable(TabularImportingParserBase.java:178)
at org.openrefine.extensions.commons.importer.CommonsImporter.parse(CommonsImporter.java:90)
at org.openrefine.extensions.commons.importer.CommonsImporter.parsePreview(CommonsImporter.java:44)
at org.openrefine.extensions.commons.importer.CommonsImportingController.doParsePreview(CommonsImportingController.java:148)
at org.openrefine.extensions.commons.importer.CommonsImportingController.doPost(CommonsImportingController.java:79)
at com.google.refine.commands.importing.ImportingControllerCommand.doPost(ImportingControllerCommand.java:69)
at com.google.refine.RefineServlet.service(RefineServlet.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1410)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:529)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:790)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1384)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1306)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
at com.google.refine.ValidateHostHandler.handle(ValidateHostHandler.java:93)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
at org.eclipse.jetty.server.Server.handle(Server.java:563)
at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)

@wetneb
Copy link
Member

wetneb commented Jun 13, 2024

According to the CI there is also a problem with Jackson, so it's probably worth doing the upgrade to Jackson 2.16.1 (to match the version used in OR 3.8.1) in the same go.

@wetneb
Copy link
Member

wetneb commented Jun 13, 2024

I had a look and I think solving the build error (related to Jackson) will solve some (if not all of) the other errors you mentioned above. It looks like our test suite is proving somewhat useful!

@sebastian-berlin-wmse
Copy link
Contributor

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 14, 2024

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@sebastian-berlin-wmse
Copy link
Contributor

I rebased onto master and now have this error from test:

[ERROR] Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 12.52 s <<< FAILURE! -- in TestSuite
[ERROR] org.openrefine.extensions.commons.importer.CommonsImporterTest.testParse -- Time elapsed: 10.60 s <<< FAILURE!
java.lang.NullPointerException: Cannot invoke "com.google.refine.ProjectManager.getProjectMetadata(long)" because "com.google.refine.ProjectManager.singleton" is null
at com.google.refine.model.Project.getMetadata(Project.java:133)
at com.google.refine.model.Project.update(Project.java:268)
at org.openrefine.extensions.commons.importer.CommonsImporterTest.testParse(CommonsImporterTest.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:141)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:686)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:230)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:63)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:992)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:203)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:154)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:134)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.testng.TestRunner.privateRun(TestRunner.java:739)
at org.testng.TestRunner.run(TestRunner.java:614)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:421)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:413)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:373)
at org.testng.SuiteRunner.run(SuiteRunner.java:312)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1274)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1208)
at org.testng.TestNG.runSuites(TestNG.java:1112)
at org.testng.TestNG.run(TestNG.java:1079)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:308)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:71)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:113)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)

@wetneb
Copy link
Member

wetneb commented Jun 16, 2024

You should be able to rebase this PR by force-pushing to the remote (which you should be able to do even if you didn't create the branch / open the PR).

Concerning the remaining error, this is something that seems to come from the way the test case only partially initializes OpenRefine, which was fine before but has been broken by a recent change in OpenRefine. Debugging this in my IDE, it seems that this is caused by the fact that ProjectManager.singleton is not initialized. One way to solve this error would be to add ProjectManager.singleton = Mockito.mock(ProjectManager.class); during the initialization of the test case.

@sebastian-berlin-wmse sebastian-berlin-wmse merged commit 8ef3108 into master Jul 4, 2024
1 check passed
@dependabot dependabot bot deleted the dependabot/maven/org.openrefine-main-3.8.1 branch July 4, 2024 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants