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

error trying to run TilesFX #98

Closed
topcorner18 opened this issue Jun 7, 2020 · 9 comments
Closed

error trying to run TilesFX #98

topcorner18 opened this issue Jun 7, 2020 · 9 comments

Comments

@topcorner18
Copy link

Hi Gerrit,

I should state right up front, I am a novice but making headway...:>)

I started with SteelSeries for use on a monitoring system I am creating for my boat using a bunch of esp32s MQTTing to Rasp Pi running node-red. Loved your gauges and got SteelSeries working on my node-Red dashboard with the aide of Pete Scargill's wonderful tech blog.

I then moved on to your medusa library and have the latest demo finally, (all my part of my learning process :>) running after getting past my last hurdle related to not having a sonatypesuername and password.

Then I saw your tilesFX and it looks to be exactly what I want for my boat dashboard. I used Intellij's github tool, which I used to get medusa and other demo's of yours running, to bring tilesFX into my environment, however, when I do "gradle Demo" it pops an error:

TileFX Error

I am sure it is something in my configuration but have not found a solution after much hunting.

Any guidance would be greatly appreciated.

Thanks again for your wonderful creations!
Tim Connolly
St Petersburg, FL

@HanSolo
Copy link
Owner

HanSolo commented Jun 7, 2020

Hi Tim,
Hmm that’s strange it looks like it try’s to start the TestLauncher which starts my private Test class that is not part of the distribution. I’ve checked the code in the repo and it is correct. So please make sure you use the latest version and try to run the Demo task from Intellij. In the gradle panel you can execute tasks and you will find the Demo task in the “other” task. I’ve tried it on my machine and it works there so you might have an older version of TilesFX

@HanSolo
Copy link
Owner

HanSolo commented Jun 7, 2020

Oh and if you need any special tile just let me know...

@topcorner18
Copy link
Author

Thank you for the quick response Gerrit,
I deleted the previously installed TileFX download from GitHub from my system by closing in Intellij and then deleting the project using Windows Explorer. I then redownloaded and launched from within Gradle >tasks>other>Demo and got the same result. Here is the link to the distribution I used https://github.com/HanSolo/tilesfx, gotten there from your latest blog post related to TilesFX. Seems it is the latest as it shows your commit of a couple of hours ago relating to the leaderboard changes. Intellij seemed to go through a full project build during install. Here is the file structure that was installed with the new download as well as the error and location of the gradle demo I used.
TilesFX2

Thanks for the offer on any special gauges. I will keep that in mind as I work through my interface.

@HanSolo
Copy link
Owner

HanSolo commented Jun 7, 2020

Hmm...that is strange...I will take a look at it tomorrow morning. The thing is that I use exactly the same approach to run the Demo. Will let you know when I fixed it.

@topcorner18
Copy link
Author

Thank you and have a good evening

@HanSolo
Copy link
Owner

HanSolo commented Jun 8, 2020

Added the missing Test.java file. Now it is running, sorry for the inconvenience.

@HanSolo HanSolo closed this as completed Jun 8, 2020
@topcorner18
Copy link
Author

Success! No inconvenience at all as I learned a ton working through issues on my side.

@samuellim18
Copy link

Hi Han, sorry to bother you. I was wondering if it is possible to have a tile with multiple switches/buttons on a single tile instead of one tile per switch/button? I tried to add graphics twice for the button but the second button replaced the first button.

@HanSolo
Copy link
Owner

HanSolo commented Jun 8, 2020

Well you simply can use the CustomTileSkin and set the graphics to a VBox that holds multiple buttons. This should work afaik.

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