No images in WebTiles


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

Dungeon Dilettante

Posts: 2

Joined: Thursday, 13th September 2018, 18:40

Post Thursday, 13th September 2018, 18:45

No images in WebTiles

I am trying to run my own WebTiles server. Currently, I have the server up and running. However, there are no tile images. The UI loads properly. I can navigate to the URL for the images and access them properly. I am using an Ubuntu 16.04 LTS 64-bit server. Python version is 2.7 and Tornado version is 4.5.3.

Here is the relevant log dump:
  Code:
2018-09-13 14:23:51,161 ERROR: Uncaught exception GET /gamedata/c1aad586e7d0e6e06c43856daf9dfdc7a23ca33d/wall.png (195.21.139.177)
HTTPServerRequest(protocol='https', host='URL:port', method='GET', uri='/gamedata/c1aad586e7d0e6e06c43856daf9dfdc7a23ca33d/wall.png', version='HTTP/1.1', remote_ip='X.X.X.X', headers={'Accept-Language': 'en-US$
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1514, in _execute
    self.finish()
  File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 993, in finish
    self.request.finish()
  File "/usr/local/lib/python2.7/dist-packages/tornado/httputil.py", line 419, in finish
    self.connection.finish()
  File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 449, in finish
    self._expected_content_remaining)
HTTPOutputError: Tried to write 1439777 bytes less than Content-Length
2018-09-13 14:23:51,164 ERROR: Cannot send error response after headers written

Dungeon Master

Posts: 388

Joined: Monday, 18th August 2014, 20:04

Post Thursday, 13th September 2018, 23:52

Re: No images in WebTiles

I don't know anything about this particular error, but webtiles doesn't work with tornado 4. You'll need to manually install tornado 3, I think any instance of 3 will do (I have 3.2.1 installed for testing), this is documented in the README in the webserver folder.

Dungeon Dilettante

Posts: 2

Joined: Thursday, 13th September 2018, 18:40

Post Friday, 14th September 2018, 00:39

Re: No images in WebTiles

I have no idea how I missed that in the documentation. Going back to look at it now, it's obvious. Thank you for your help. I downgraded Tornado, and now everything works properly. For the benefit of anyone else having this problem, the latest version of Tornado 3.X is Tornado 3.2.2 and can be installed by issuing
  Code:
sudo pip install tornado==3.2.2

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 4 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.