FreeOrion

Forums for the FreeOrion project
It is currently Sun Oct 22, 2017 7:20 pm

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sun Jun 18, 2017 3:00 am 
Offline
Creative Contributor
User avatar

Joined: Fri Jun 28, 2013 11:45 pm
Posts: 3245
OK, immediately after my AI post I switched back and got this popup as I tried to move a ship
Attachment:
Screenshot_20170618_035530.png
Screenshot_20170618_035530.png [ 232.52 KiB | Viewed 197 times ]


I was able to move/interact with the top one, the bottom and the rest of the UI completely non responsive, note I hadn't tried to kill the app in any way. The only way I could then do anything was to select the 'quit to main menu' option on the top one, it took me back to the meny screen but the bottom dialogue was still there and blocked anything else from working, clicking it got me an already disconnected error.

Again, #1587 rebased onto master, both these errors started with this compile from today, never seen either before.

_________________
Mat Bowles

Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.


Top
 Profile  
 
PostPosted: Sun Jun 18, 2017 3:42 am 
Offline
Creative Contributor
User avatar

Joined: Fri Jun 28, 2013 11:45 pm
Posts: 3245
Tried playing a few more turns, it eventually started doing this all the time, made the game unplayable, have now compiled a clean run from master to see if can replicate
ETA turn 5 of a clean compile from master.

I saved the game, quit and reloaded on turn 2, kept getting the AI errors from the other thread, on turn 5 got the above message, log not helpful
Code:
04:44:59.411375 [debug] client : ScopedTimer.cpp:28 : RotatingPlanetControl::Refresh time:       54 ms
04:44:59.686276 [debug] client : HumanClientApp.cpp:1211 : HumanClientApp::ResetToIntro
04:44:59.686348 [debug] client : HumanClientApp.cpp:1216 : save game in progress. Checking with player.
04:44:59.701448 [debug] client : HumanClientApp.cpp:1211 : HumanClientApp::ResetToIntro
04:44:59.701533 [debug] client : HumanClientApp.cpp:1216 : save game in progress. Checking with player.
04:44:59.729632 [debug] network : ClientNetworking.cpp:477 : Client connection disconnected by EOF from server.
04:44:59.747877 [debug] client : HumanClientApp.cpp:1258 : HumanClientApp::DisconnectedFromServer
04:44:59.747960 [debug] client : HumanClientApp.cpp:1211 : HumanClientApp::ResetToIntro
04:44:59.747977 [debug] client : HumanClientApp.cpp:1216 : save game in progress. Checking with player.
04:45:27.732478 [debug] client : HumanClientApp.cpp:962 : HumanClientApp::HandleFocusChange(Lost Focus)
I clicked open a newly scouted system at the point this happened.

_________________
Mat Bowles

Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.


Top
 Profile  
 
PostPosted: Sun Jun 18, 2017 10:33 am 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4226
Location: Sol III
Can you try to narrow down which commit introduced the issue?


Top
 Profile  
 
PostPosted: Tue Jun 20, 2017 11:01 pm 
Offline
Programmer

Joined: Sun Feb 14, 2016 12:08 am
Posts: 333
Possibly unrelated, do you delete *.pyc files when switching branches? e.g.
Code:
freeorion$ find . -name *.pyc -delete

_________________
Any content posted should be considered licensed GNU GPL 2.0 and/or CC-BY-SA 3.0 as appropriate.


Top
 Profile  
 
PostPosted: Tue Jun 20, 2017 11:15 pm 
Offline
Creative Contributor
User avatar

Joined: Fri Jun 28, 2013 11:45 pm
Posts: 3245
dbenage-cx wrote:
Possibly unrelated, do you delete *.pyc files when switching branches? e.g.
Code:
freeorion$ find . -name *.pyc -delete

No, didn't know you could do that at all, still not 100% sure what a pyc file is either, would doing that semi regularly help?

_________________
Mat Bowles

Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.


Top
 Profile  
 
PostPosted: Tue Jun 20, 2017 11:42 pm 
Offline
Programmer

Joined: Sun Feb 14, 2016 12:08 am
Posts: 333
I tend to do it as a first step with troubleshooting any python related issue. It has been some time since, but it resolved at least one set of errors in the past.
.pyc are the compiled form of .py files (see related SO question, which should be regenerated when the source changes, but might not be (I picked up this tip from another thread here somewhere).

(wish there was an option to disable them, I've been playing with vfs and was tempted to merge python scripts to temporary directory for execution)

_________________
Any content posted should be considered licensed GNU GPL 2.0 and/or CC-BY-SA 3.0 as appropriate.


Top
 Profile  
 
PostPosted: Tue Jul 04, 2017 10:31 am 
Offline
Vacuum Dragon
User avatar

Joined: Sun Sep 25, 2011 2:51 pm
Posts: 500
dbenage-cx wrote:
(wish there was an option to disable them, I've been playing with vfs and was tempted to merge python scripts to temporary directory for execution)

https://stackoverflow.com/questions/154 ... -pyc-files

_________________
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556


Top
 Profile  
 
PostPosted: Sat Jul 08, 2017 5:39 pm 
Offline
Programmer

Joined: Sun Feb 14, 2016 12:08 am
Posts: 333
Thank you em3, it was some time ago I last searched (with the object to redirect e.g. Way to have compiled python files in a separate folder).
The old issue was most likely after a python source file was removed (result from switching specific branches).


Top
 Profile  
 
PostPosted: Sun Jul 09, 2017 8:50 am 
Offline
Vacuum Dragon
User avatar

Joined: Sun Sep 25, 2011 2:51 pm
Posts: 500
Glad to be of service. It's especially nice that it can be done using an environment variable, and thus with no alterations to the FO itself.

_________________
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group