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

Something wrong when using multiple renderers. #1116

Open
gregoire-astruc opened this issue Jun 16, 2014 · 4 comments
Open

Something wrong when using multiple renderers. #1116

gregoire-astruc opened this issue Jun 16, 2014 · 4 comments

Comments

@gregoire-astruc
Copy link

Hello,

as I mentioned in PR #1115, I have some troubles generating a map with different viewpoints (NE, SW, and so on).

Doing some research, I noticed that the reported treedepth appears to be wrong (7 instead of 8), so jobs are not sent, overviewer never finishes, and my map is not updated :(

Here's my configuration file :

from observer import JSObserver

processes = 6

worlds["AdventureCraft"] = "/home/craft/worlds/world"
world = "AdventureCraft"
renders["upper-left"] = {
    "title": "North East",
    "rendermode": smooth_lighting,
    "northdirection": "upper-left",
}

# Those are commented out because of this issue.                                   
#renders["upper-right"] = {
#  "title": "North West",
#  "rendermode": smooth_lighting,
#  "northdirection": "upper-right",
#}

#renders["bottom-right"] = {
#  "title": "South West",
#  "rendermode": smooth_lighting,
#  "northdirection": "lower-right",
#}

#renders["bottom-left"] = {
#  "title": "South East",
#  "rendermode": smooth_lighting,
#  "northdirection": "lower-left",
#}

texturepath = "/home/craft/mods"
outputdir = "/home/craft/maps"

observer = JSObserver(outputdir)
@agrif
Copy link
Member

agrif commented Jun 30, 2014

Did this issue appear after rendering the map successfully at least once? It sounds like overviewer might be getting confused about an expanded map.

Is it possible to upload the map somewhere and send us the link (either here, or privately)? We have an uploader here if you don't have hosting yourself.

@gregoire-astruc
Copy link
Author

Hi Aaron, this issue appears after the second rendering: rendering is
stuck over 95% and does not go beyond.
htop shows overviewer processes idling.
The server it runs on is a dedicated one, and is not a vm (in case you're
wondering).

Basically, I have a crontab running every 3 hours doing the following:

  • check if overviewer is running and exit if so (little safeguard)
  • rsync world from server
  • run overviewer with aforementioned* configuration
  • chmod rX on map folder.

I sync "live" data should that be an issue.

I'll provide my crontab in a gist tomorrow morning (UTC+1 timezone), it
could be useful to somebody, and I will start up my crontab again as well
and give you the map link in a private message if that works with you. It's
not private or whatever, but I prefer to give the link on a need-to-basis.

I will also post you overviewer log as soon as I encounter a deadlock.

  • as you sure have noticed, I'm not a native english speaker. But I love
    this word and keep looking for excuses to use it :)
    On Jun 30, 2014 10:42 PM, "Aaron Griffith" [email protected] wrote:

Did this issue appear after rendering the map successfully at least once?
It sounds like overviewer might be getting confused about an expanded map.

Is it possible to upload the map somewhere and send us the link (either
here, or privately)? We have an uploader here
http://overviewer.org/uploader if you don't have hosting yourself.


Reply to this email directly or view it on GitHub
#1116 (comment)
.

@gregoire-astruc
Copy link
Author

Here's the gist : https://gist.github.com/gregoire-astruc/df6b0eb48a80a55d7030

It contains my rendering script as well as the config I use. At the moment, I will simply use a single render and progressively add one until I encounter an issue.

@agrif
Copy link
Member

agrif commented Jul 5, 2014

Hello! I've sent you an email in reply a few days ago (about a miscommunication on my part :P). Just wondering if you've received it, or if I should try again.

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

2 participants