Skip to content

Commit 5fa9440

Browse files
committed
Backbone lancher not set in pre-initialized envs
1 parent f155bb6 commit 5fa9440

File tree

8 files changed

+9
-8
lines changed

8 files changed

+9
-8
lines changed

API/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<parent>
3232
<groupId>org.ohnlp.backbone</groupId>
3333
<artifactId>backbone-parent</artifactId>
34-
<version>3.0.32</version>
34+
<version>3.0.33</version>
3535
</parent>
3636

3737
<artifactId>api</artifactId>

API/src/main/java/org/ohnlp/backbone/api/components/xlang/python/PythonBridge.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ private void extractPythonResourcesIfNotExists() {
9292
if (JVM_ENVIRONMENTS_BY_BUNDLE_ID.containsKey(this.bundleIdentifier)) {
9393
try {
9494
// Environment already exists and/or is initializing, just wait for completion and return
95-
JVM_ENVIRONMENTS_BY_BUNDLE_ID.get(this.bundleIdentifier).get();
95+
PythonEnvironment e = JVM_ENVIRONMENTS_BY_BUNDLE_ID.get(this.bundleIdentifier).get();
96+
this.launchFile = new File(e.getWorkDir(), "backbone_launcher.py");
9697
return;
9798
} catch (InterruptedException | ExecutionException e) {
9899
throw new RuntimeException(e);

Core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.ohnlp.backbone</groupId>
99
<artifactId>backbone-parent</artifactId>
10-
<version>3.0.32</version>
10+
<version>3.0.33</version>
1111
</parent>
1212

1313
<artifactId>core</artifactId>

Example-Backbone-Configs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.ohnlp.backbone</groupId>
99
<artifactId>backbone-parent</artifactId>
10-
<version>3.0.32</version>
10+
<version>3.0.33</version>
1111
</parent>
1212

1313
<artifactId>example-backbone-configs</artifactId>

IO/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.ohnlp.backbone</groupId>
99
<artifactId>backbone-parent</artifactId>
10-
<version>3.0.32</version>
10+
<version>3.0.33</version>
1111
</parent>
1212

1313
<groupId>org.ohnlp.backbone.io</groupId>

Plugin-Manager/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.ohnlp.backbone</groupId>
99
<artifactId>backbone-parent</artifactId>
10-
<version>3.0.32</version>
10+
<version>3.0.33</version>
1111
</parent>
1212

1313
<artifactId>plugin-manager</artifactId>

Transforms/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.ohnlp.backbone</groupId>
99
<artifactId>backbone-parent</artifactId>
10-
<version>3.0.32</version>
10+
<version>3.0.33</version>
1111
</parent>
1212

1313
<groupId>org.ohnlp.backbone.transforms</groupId>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.ohnlp.backbone</groupId>
88
<artifactId>backbone-parent</artifactId>
9-
<version>3.0.32</version>
9+
<version>3.0.33</version>
1010

1111

1212
<properties>

0 commit comments

Comments
 (0)