Problem with the latest revision

Any questions? Need some help?
Post Reply
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Problem with the latest revision

Post by Sheldon »

Hi,

if I use the FileBot 4.7.15 (r5268) jar all my CLI commands and the GUI work fine. After switching to the latest revision from Wed, 28 Feb 2018 02:40:56 nothing works all all.
So I rolled back. What has been changed?

Kind regards,

Sheldon
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem with the latest revision

Post by rednoah »

By "nothing" you mean FileBot doesn't start when you click on the FileBot icon and therefore nothing happens?
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Problem with the latest revision

Post by Sheldon »

I run everything including the GUI using the CLI. No CLI command works with the latest jar.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem with the latest revision

Post by rednoah »

Sheldon wrote: 04 Mar 2018, 09:09 No CLI command works with the latest jar.
So you're saying to type "filebot" and then absolutely nothing happens? Surely you'd think of posting the console output if there was any console output, right?

:idea: "nothing works" is little for me to go on, because for me "everything works" :lol:
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Problem with the latest revision

Post by Sheldon »

If I run the jar with option --log ON I don't get any console output or log entry. It seems that the jar doesn't get launched properly at all.
So I assume it's related to the command and/or lib files. That brings me back to my initial question.
What has been significantly changed since r5268? That must be the culprit.
From the latest jar I see that there have been changes made to net.filebot.cli.

FYI:
The problem remains with the revision from Thu, 01 Mar 2018 10:00:43.
Everything works properly with r5268.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem with the latest revision

Post by rednoah »

--log ON is not a valid --log option:

Code: Select all

--log [all, fine, info, warning]       : Log level

Valid options include:

Code: Select all

--log ALL

Code: Select all

--log FINE

Code: Select all

--log INFO

Code: Select all

--log WARNING
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Problem with the latest revision

Post by Sheldon »

Whatever I try there doesn't change anything. The jar doesn't get launched by the jre (1_8_162). So there is no console output or log at all. And I ask again. What has been changed there? Please review!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem with the latest revision

Post by rednoah »

OK, but can't you just copy and paste whatever CMD says when you try to run the jar?

Code: Select all

java -jar FileBot.jar -version

:arrow: If there is really no console output, then please take a screenshot of there being no console output.


I'm currently experimenting with Java 9 so if you're using code that was compiled for Java 9 and above, then Java 8 will clearly indicate that the code uses a newer class file version format that isn't compatible with Java 8 in the console output and then exit.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: Problem with the latest revision

Post by Sheldon »

Ah! Here we are! That would explain it. Perhaps for the experimental phase you might provide two revision downloads one compiled with Java 8 and one compiled with Java 9.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Problem with the latest revision

Post by rednoah »

The code only compiles on Java 9 and I need Java 9 features for the Windows Store version, so there's no going back to Java 8 as for as development is concerned.
:idea: Please read the FAQ and How to Request Help.
Post Reply