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

How to install this project? #273

Closed
jhzao82 opened this issue Jun 26, 2018 · 15 comments
Closed

How to install this project? #273

jhzao82 opened this issue Jun 26, 2018 · 15 comments

Comments

@jhzao82
Copy link

jhzao82 commented Jun 26, 2018

I use comand gradlew.bat, It seem success, but I can't find jar file in build path. I don't How to install and run this project. Can you give a guide?

@mcekovic
Copy link
Owner

There is some info at #232

@jhzao82
Copy link
Author

jhzao82 commented Jun 30, 2018

Thank you @mcekovic ! It's a little confuse to me, But I think I can try to get start!

@jhzao82
Copy link
Author

jhzao82 commented Jun 30, 2018

Hello, @mcekovic,I nearly install full, But I got this error below:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 49s
16 actionable tasks: 16 executed
F:\tcb\tennis-crystal-ball>cd F:\tcb\tennis-crystal-ball\data-load\build\distributions\data-load-1.0-SNAPSHOT\bin

F:\tcb\tennis-crystal-ball\data-load\build\distributions\data-load-1.0-SNAPSHOT\bin>data-load.bat -lt -Dtcb.db.connections=15 -Dtcb.data.base-dir=
Loading Tennis Data
Allocating DB connections.
Loading players
Loading file '/tcb/tennis_atp\atp_players.csv'
Exception in thread "main" java.lang.IllegalArgumentException
at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1307)
at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1195)
at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:89)
at java_util_concurrent_Executors$newFixedThreadPool.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.BaseCSVLoader$_load_closure1.doCall(BaseCSVLoader.groovy:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:41)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.SqlPool.withTx(SqlPool.groovy:51)
at org.strangeforest.tcb.dataload.SqlPool$withTx$0.callStatic(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:55)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:197)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:217)
at org.strangeforest.tcb.dataload.SqlPool.withSql(SqlPool.groovy:42)
at org.strangeforest.tcb.dataload.SqlPool$withSql.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.BaseCSVLoader.load(BaseCSVLoader.groovy:65)
at org.strangeforest.tcb.dataload.BaseCSVLoader$load$0.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:157)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:169)
at org.strangeforest.tcb.dataload.BaseCSVLoader.loadFile(BaseCSVLoader.groovy:39)
at org.strangeforest.tcb.dataload.BaseCSVLoader$loadFile.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.ATPTennisLoader.loadPlayers(ATPTennisLoader.groovy:22)
at org.strangeforest.tcb.dataload.ATPTennisLoader$loadPlayers.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.LoadATPTennis.run(LoadATPTennis.groovy:11)
at org.strangeforest.tcb.dataload.LoadATPTennis$run.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at org.strangeforest.tcb.dataload.Main.run(Main.groovy:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:947)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:930)
at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:428)
at org.codehaus.groovy.runtime.InvokerHelper$runScript.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:136)
at org.strangeforest.tcb.dataload.Main.main(Main.groovy)

@mcekovic
Copy link
Owner

You need to specify the location of the Jeff's tennis data repository (that you cloned from GitHub) in JVM system property -Dtcb.data.base-dir=C:\LocationOfTennisDataRepo (seems you left it blank?)

@jhzao82
Copy link
Author

jhzao82 commented Jul 12, 2018

I am not sure, I try to use full path, but still report this error.

F:\tcb\tennis-crystal-ball\data-load\build\distributions\data-load-1.0-SNAPSHOT\bin>data-load.bat -lt -Dtcb.db.connections=15
Loading Tennis Data
Allocating DB connections.
Loading players
Loading file 'F:\tcb\tennis_atp\atp_players.csv'
Exception in thread "main" java.lang.IllegalArgumentException
at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1307)
at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1195)
at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:89)
at java_util_concurrent_Executors$newFixedThreadPool.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.BaseCSVLoader$_load_closure1.doCall(BaseCSVLoader.groovy:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:41)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.SqlPool.withTx(SqlPool.groovy:51)
at org.strangeforest.tcb.dataload.SqlPool$withTx$0.callStatic(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:55)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:197)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:217)
at org.strangeforest.tcb.dataload.SqlPool.withSql(SqlPool.groovy:42)
at org.strangeforest.tcb.dataload.SqlPool$withSql.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.BaseCSVLoader.load(BaseCSVLoader.groovy:65)
at org.strangeforest.tcb.dataload.BaseCSVLoader$load$0.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:157)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:169)
at org.strangeforest.tcb.dataload.BaseCSVLoader.loadFile(BaseCSVLoader.groovy:39)
at org.strangeforest.tcb.dataload.BaseCSVLoader$loadFile.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.ATPTennisLoader.loadPlayers(ATPTennisLoader.groovy:22)
at org.strangeforest.tcb.dataload.ATPTennisLoader$loadPlayers.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.LoadATPTennis.run(LoadATPTennis.groovy:11)
at org.strangeforest.tcb.dataload.LoadATPTennis$run.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at org.strangeforest.tcb.dataload.Main.run(Main.groovy:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:947)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:930)
at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:428)
at org.codehaus.groovy.runtime.InvokerHelper$runScript.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:136)
at org.strangeforest.tcb.dataload.Main.main(Main.groovy)

@mcekovic
Copy link
Owner

Now seems directory is set, but seems you edited built data-load.bat file. Instead, it is probably better to keep it as it is, and specify JVM parameter overrides in the command line itself.

@jhzao82
Copy link
Author

jhzao82 commented Jul 12, 2018

I edit build.gradle in data-load directory:

applicationDefaultJvmArgs = [
'-Xmx256m',
'-Dtcb.db.url=jdbc:postgresql://localhost:5432/tcb?prepareThreshold=0',
'-Dtcb.db.username=tcb',
'-Dtcb.db.password=tcb',
'-Dtcb.db.connections=1',
'-Dtcb.data.base-dir=F:\tcb\tennis_atp'
]

I also try to add this parameter to command line, It's still have problem. So I try:

F:\tcb\tennis-crystal-ball\data-load\build\distributions\data-load-1.0-SNAPSHOT\bin>data-load.bat -lt -Dtcb.db.connections=15 -Dtcb.data.base-dir=F:\tcb\tennis_atp
Loading Tennis Data
Allocating DB connections.
Loading players
Loading file 'F:\tcb\tennis_atp\atp_players.csv'
Exception in thread "main" java.lang.IllegalArgumentException
at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1307)
at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1195)
at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:89)
at java_util_concurrent_Executors$newFixedThreadPool.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.BaseCSVLoader$_load_closure1.doCall(BaseCSVLoader.groovy:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:41)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.SqlPool.withTx(SqlPool.groovy:51)
at org.strangeforest.tcb.dataload.SqlPool$withTx$0.callStatic(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:55)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:197)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:217)
at org.strangeforest.tcb.dataload.SqlPool.withSql(SqlPool.groovy:42)
at org.strangeforest.tcb.dataload.SqlPool$withSql.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.BaseCSVLoader.load(BaseCSVLoader.groovy:65)
at org.strangeforest.tcb.dataload.BaseCSVLoader$load$0.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:157)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:169)
at org.strangeforest.tcb.dataload.BaseCSVLoader.loadFile(BaseCSVLoader.groovy:39)
at org.strangeforest.tcb.dataload.BaseCSVLoader$loadFile.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.ATPTennisLoader.loadPlayers(ATPTennisLoader.groovy:22)
at org.strangeforest.tcb.dataload.ATPTennisLoader$loadPlayers.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at org.strangeforest.tcb.dataload.LoadATPTennis.run(LoadATPTennis.groovy:11)
at org.strangeforest.tcb.dataload.LoadATPTennis$run.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at org.strangeforest.tcb.dataload.Main.run(Main.groovy:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:947)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:930)
at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:428)
at org.codehaus.groovy.runtime.InvokerHelper$runScript.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:136)
at org.strangeforest.tcb.dataload.Main.main(Main.groovy)

What dose this error mean?

@jhzao82
Copy link
Author

jhzao82 commented Aug 17, 2018

@mcekovic any soulstion?

@jhzao82
Copy link
Author

jhzao82 commented Sep 3, 2018

@mcekovic , I have a solustion in linux, database was installed, what could I do next? I want to run up the web server, any more info?

@jhzao82
Copy link
Author

jhzao82 commented Sep 3, 2018

@mcekovic , I get run this, I can see this web in my host, why I can't see players? rankings table also are empty?

@jhzao82
Copy link
Author

jhzao82 commented Sep 7, 2018

It's Ok now, Thank you!

@jhzao82 jhzao82 closed this as completed Sep 7, 2018
@darkFunction
Copy link

I'm having the exact same issue on MacOS, could you explain how you fixed it? Thanks

@mcekovic
Copy link
Owner

Please pull the latest changes and please see the updated instructions at #232 (basically system properties are replaced with command line arguments)

@darkFunction
Copy link

Actually there were a couple of issues installing which I have now managed to resolve

Firstly the dataload script doesn't seem to accept arguments properly, I didn't investigate why but just hardcoded them into the defaults for my purposes.

Secondly I had to modify BaseCSVLoader.groovy and rebuild as the date format doesn't appear to be correct. I'm confused how this ever worked, it's very strange- here is my change:

-                       new Date(new SimpleDateFormat('yyyy-MM-dd').parse(d).time)
+                       new Date(new SimpleDateFormat('yyyyMMdd').parse(d).time)

Thirdly there were separate data cleaning issues with the Jeff Sackman repo's csv files, a stray string in one file and a stray character in another. Easily fixed though.

@mcekovic
Copy link
Owner

Thanks for reporting this issue. Date format is now fixed (regression from couple of months before).

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

No branches or pull requests

3 participants