Can't start new game with latest weekly build!

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report. For problems building from source, post in Compile.

Moderators: Oberlus, Oberlus

Message
Author
jsena
Space Floater
Posts: 36
Joined: Tue Feb 16, 2010 4:12 pm

Re: Can't start new game with latest weekly build!

#16 Post by jsena » Thu May 16, 2019 9:52 pm

I ran freeoriond from the command line after deleting the logs. Attached is the result.
freeoriond.log
(18.29 KiB) Downloaded 39 times

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12393
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Can't start new game with latest weekly build!

#17 Post by Geoff the Medio » Fri May 17, 2019 11:30 am

Did it sit waiting for network connections, or crash back to the command line? If the latter, was there an error message?

jsena
Space Floater
Posts: 36
Joined: Tue Feb 16, 2010 4:12 pm

Re: Can't start new game with latest weekly build!

#18 Post by jsena » Fri May 17, 2019 12:11 pm

When I open it from the command line I get
/Games/FreeOrion.app/Contents/Executables/freeoriond ; exit;

when I open it from the console I get ... ? Some readable stuff in a sea of wtf. Here, I'll paste it into an rtf doc so you can see
opened with console.rtf
(4.88 MiB) Downloaded 31 times

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12393
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Can't start new game with latest weekly build!

#19 Post by Geoff the Medio » Fri May 17, 2019 1:20 pm

What's the difference between "console" and "command line" ? Do you terminate the program manually or does it abort / exit on its own?

I have no idea what you posted in the .rtf file... If I run freeoriond from the windows command prompt, it just sits with the cursor blinking on the next (blank) line until it's terminated with ctrl-c, at which point it shows the next command prompt, or possibly a bunch of log messages that weren't yet written to disk, mostly related to parsing.

jsena
Space Floater
Posts: 36
Joined: Tue Feb 16, 2010 4:12 pm

Re: Can't start new game with latest weekly build!

#20 Post by jsena » Fri May 17, 2019 4:45 pm

Command line ("Terminal") is the command line from linux/windows. Console is generally a thing that you use to view log files. Frankly I wouldn't have tried opening freeoriond in console other than you asked... but I can understand the confusion. So I think it is safe to ignore that rtf file.

I didn't manually abort freeoriond from the command line.. it just sat there, neither exiting nor displaying anything further.

I didn't think to open another command line to ps -ef and see if it was still running. I will do that later when I am home from work.
Assuming it is still alive, I'll also try launching the FreeOrion package and setting up a game while freeoriond is still running in the command line. Not sure that will work (fun with Mac OS X packages) but worth a shot.

jsena
Space Floater
Posts: 36
Joined: Tue Feb 16, 2010 4:12 pm

Re: Can't start new game with latest weekly build!

#21 Post by jsena » Fri May 17, 2019 9:30 pm

If you launch freeoriond, then start the freeorion package and start a new game, it tells you the server it already running.

But... I figured it out! If you launch the freeorion package from the command line (FreeOrion.app/Contents/MacOS/FreeOrion), you see the actual problem when you launch start a new game:

main() caught exception(std::exception): boost::bad_any_cast: failed conversion using boost::any_cast
GUIController failed to setup or run the GUI.

jsena
Space Floater
Posts: 36
Joined: Tue Feb 16, 2010 4:12 pm

Re: Can't start new game with latest weekly build!

#22 Post by jsena » Sat Jun 15, 2019 6:54 pm

FYI, still having this same issue with June 11 build.

$ ./FreeOrion
main() caught exception(std::exception): boost::bad_any_cast: failed conversion using boost::any_cast
GUIController failed to setup or run the GUI.
$

User avatar
Oberlus
Cosmic Dragon
Posts: 1290
Joined: Mon Apr 10, 2017 4:25 pm

Re: Can't start new game with latest weekly build!

#23 Post by Oberlus » Sun Jun 16, 2019 12:53 pm

jsena wrote:
Sat Jun 15, 2019 6:54 pm
FYI, still having this same issue with June 11 build.

$ ./FreeOrion
main() caught exception(std::exception): boost::bad_any_cast: failed conversion using boost::any_cast
GUIController failed to setup or run the GUI.
$
jsena, have you open an issue for this on github?

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12393
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Can't start new game with latest weekly build!

#24 Post by Geoff the Medio » Sun Jun 16, 2019 9:09 pm

I've added some extra logging and some error-safety to some code that might be relevant to the errors reported here. Hopefully will help or narrow down the problem with the next test build.

jsena
Space Floater
Posts: 36
Joined: Tue Feb 16, 2010 4:12 pm

Re: Can't start new game with latest weekly build!

#25 Post by jsena » Tue Jun 18, 2019 11:26 am

I just posted a GitHub issue for this:
https://github.com/freeorion/freeorion/issues/2482

Post Reply