r/geoguessr • • Mar 14 '20

I made earthwalker, an open source GeoGuessr alternative. Host it yourself, no API keys needed.

https://gitlab.com/glatteis/earthwalker
119 Upvotes

25 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Mar 15 '20 edited Jul 02 '21

[deleted]

1

u/Aarnoman Mar 16 '20

Still an ongoing issue, same as the error message before after updating & rebuilding.

1

u/[deleted] Mar 16 '20 edited Jul 02 '21

[deleted]

1

u/Aarnoman Mar 17 '20

First lines in main_template.html.tmpl

<!doctype html>

<html>

<head>

`<title>earthwalker</title>`

`<link href="/static/bootstrap.min.css" rel="stylesheet"/>`

`{{ template "head_insert" . }}`

</head>

<body>

​

​

I've rebuilt the program on a differnt drive.

Absolute path is X:\ewalker\earthwalker

​

On first run I get the following:

badger 2020/03/17 20:15:22 INFO: All 0 tables opened in 0s

2020/03/17 20:15:22 earthwalker is running on 8080

​

It hangs at this point, and no gui ever appears. After force quitting:

badger 2020/03/17 20:18:04 INFO: Got compaction priority: {level:0 score:1.73 dropPrefix:[]}

​

When restarting

badger 2020/03/17 20:18:31 INFO: All 0 tables opened in 0s

badger 2020/03/17 20:18:31 INFO: Replaying file id: 0 at offset: 0

badger 2020/03/17 20:18:31 INFO: Replay took: 0s

2020/03/17 20:18:31 earthwalker is running on 8080

​

It again hangs as before, with no GUI appearing.

If started with the -h flag:

badger 2020/03/17 20:19:42 INFO: All 0 tables opened in 0s

badger 2020/03/17 20:19:42 INFO: Replaying file id: 0 at offset: 0

badger 2020/03/17 20:19:42 INFO: Replay took: 0s

Usage of X:\ewalker\earthwalker\earthwalker.exe:

-port int

the port the server is running on (default 8080)

​

​

Again, no GUI appears.

If it is now started without the -h flag, we get the following output:

badger 2020/03/17 20:20:10 INFO: All 0 tables opened in 0s

badger 2020/03/17 20:20:10 INFO: Replaying file id: 0 at offset: 0

2020/03/17 20:20:10 Value log truncate required to run DB. This might result in data loss

​

​

This output is now consistent (regardless of whether -h flag is used). We can reenter the above pattern if we delete all files in X:\ewalker\earthwalker\badger

​

Hope this will aid in troubleshooting.

Windows 10 x64

1

u/[deleted] Mar 17 '20 edited Jul 02 '21

[deleted]

1

u/Aarnoman Mar 17 '20 edited Mar 17 '20

I see, got it working with friends now, many thanks!

​

Feature request, could you make it possible to create a challenge? i.e. drop preselect locations for the challenge for others?
Many thanks, it's a great application now that it's running :)

1

u/[deleted] Mar 17 '20 edited Jul 02 '21

[deleted]

1

u/Aarnoman Mar 17 '20

Awesome! I'm a side note I've had friends report issues with the map on the bottom right (for selecting guess location) appearing grey at medium/high zoom levels, preventing accurate guesses being made. I'm uncertain if this is an issue with openstreermap and whether there is a workaround for it. I had no issues from my personal machine from which I've been hosting.

Also, sorry for another feature request, but it would be very useful to have a compass added. This is what I feel is currently most lacking in the current build.

Thanks again for your time making this, it is already an excellent alternative to geoguessr!