Children of Ur issueshttps://gitlab.com/groups/ChildrenOfUr/-/issues2021-09-24T05:22:52Zhttps://gitlab.com/ChildrenOfUr/cou-server-2/-/issues/12How are streets loaded into `cou_server.db`?2021-09-24T05:22:52ZIsaac MelanHow are streets loaded into `cou_server.db`?I'm attempting to debug my server installation. The first result of that was working through the weather issues, as seen in #11. However, the next error I'm debugging is the following:
```
[ERROR] [2021-08-26 06:21:22] [cou_server.endpo...I'm attempting to debug my server installation. The first result of that was working through the weather issues, as seen in #11. However, the next error I'm debugging is the following:
```
[ERROR] [2021-08-26 06:21:22] [cou_server.endpoints.street_update] Could not load street GCR13KDF9MK1QJK
Traceback (most recent call last):
File "/code/ur-server/cou_server/endpoints/street_update.py", line 71, in load_street
street.street_name = street_name
AttributeError: 'NoneType' object has no attribute 'street_name'
```
Looking through the codebase, I see that I can fix this error pretty easily by adding `GCR13KDF9MK1QJK` to `cou_server.db`. But, when I dig a bit deeper, I can't find anywhere that streets actually get loaded into `cou_server.db`. In `mapdata.py` they seem to be added to memory, with (in my local environment) all 3180 found:
```
[DEBUG] [2021-08-26 06:23:33] [cou_server.endpoints.mapdata] [MapData] Created street lookup table with 3180 entries
```
So... how are streets added to `cou_server.db`, in the streets table? Should `mapdata.py` be adding all streets to the `streets` table? There does not appear to be any code that would do that.
While I'm here, there are three interrelated questions:
1. The streets table includes a `uid` column (created in `street.py`). Why? Is `uid` used anywhere? I can't seem to find it used or referenced by the server or client.
2. What is the expected format of the `items` column in the `streets` table? I can "fill it" with the default `[]` for testing purposes, but it would be nice to have items in my local environment. :)
3. How are other tables loaded? While I'm explicitly debugging the streets error, the only db table I can get loaded is `users`. (And... my `users` table is expectedly loaded with very minimal data as I'm not running my own authserver.)https://gitlab.com/ChildrenOfUr/cou-server-2/-/issues/11Switch OWM API from standard API to One Call API2021-08-31T00:29:10ZIsaac MelanSwitch OWM API from standard API to One Call APIUnless there's a reason I'm not aware of, we should switch away from the standard OWM API, simply because it's costs money to access the daily forecast, resulting in errors when running. The [One Call API](https://openweathermap.org/api/...Unless there's a reason I'm not aware of, we should switch away from the standard OWM API, simply because it's costs money to access the daily forecast, resulting in errors when running. The [One Call API](https://openweathermap.org/api/one-call-api) is free, for current weather and forecasts (minutely, hourly, daily). The trick here is that "city ID" is not available in the One Call API, so we need to grab the weather using the latitude and longitude.
I have this roughly working in my local environment, along with some code comments. However, before I continue, is there any reason _not_ to make this change? The negatives I can find are:
1. Code complexity. (It's not significantly more complex, but it is different.)
2. No "ground_level" pressure. The One Call API only supports one "pressure" response, which is specifically the pressure at sea level. However, I don't think the client or server currently use the `ground_level_pressure` variable.
Otherwise, this improves devex at essentially no expense that I can find.
Thoughts?https://gitlab.com/ChildrenOfUr/coUclient/-/issues/17Build issues on macOS (Intel)2021-08-23T21:37:52ZIsaac MelanBuild issues on macOS (Intel)When attempting to run `webdev build` on macOS 11.5.1, on Intel, I receive the following error:
```
webdev could not run for this project.
The `build_web_compilers` version – 2.10.0 – is not within the allowed constraint – >=2.12.0 <4.0...When attempting to run `webdev build` on macOS 11.5.1, on Intel, I receive the following error:
```
webdev could not run for this project.
The `build_web_compilers` version – 2.10.0 – is not within the allowed constraint – >=2.12.0 <4.0.0.
```
I've looked through the dependency tree and it's not clear to me where this constraint is set—especially as I'm not overly familiar with Dart. The root `pubspec.yaml` for the project defines the following:
`build_web_compilers: '>=2.6.1 <3.0.0'`
In attempting to upgrade this to match the required constraint of version 2.12.0, I pulled cou_login from git and manually upgraded it, but that didn't ultimately fix this issue.
Can I get some guidance on building coUclient?Andy Castilleme@andycc.devAndy Castilleme@andycc.devhttps://gitlab.com/ChildrenOfUr/authServer/-/issues/1Game Login page stuck on "Loading Chatting with server..."2020-05-03T10:56:11ZZeanGame Login page stuck on "Loading Chatting with server..."It isn't currently possible to [log in the game](https://game.childrenofur.com/).
Is this caused by the server being down? Or is there an other issue causing the login page to be stuck?It isn't currently possible to [log in the game](https://game.childrenofur.com/).
Is this caused by the server being down? Or is there an other issue causing the login page to be stuck?https://gitlab.com/ChildrenOfUr/coUclient/-/issues/16Include stack trace in bug reports2019-04-15T22:51:31ZAndy Castilleme@andycc.devInclude stack trace in bug reportsAndy Castilleme@andycc.devAndy Castilleme@andycc.devhttps://gitlab.com/ChildrenOfUr/forum_server_3/-/issues/8Profile button text is wrong when logged in and viewing someone else's profile2019-04-12T02:40:44ZAndy Castilleme@andycc.devProfile button text is wrong when logged in and viewing someone else's profileAndy Castilleme@andycc.devAndy Castilleme@andycc.devhttps://gitlab.com/ChildrenOfUr/forum_server_3/-/issues/7Avatars broken2020-05-30T05:46:44ZAndy Castilleme@andycc.devAvatars broken```
2019-04-01T04:53:10.621064+00:00 heroku[router]: at=info method=GET path="/user/2" host=forums-dev.childrenofur.com request_id=661edf35-6fed-4b24-a189-69bb5aab464a fwd="76.78.94.83,172.69.69.68" dyno=web.1 connect=1ms service=890ms s...```
2019-04-01T04:53:10.621064+00:00 heroku[router]: at=info method=GET path="/user/2" host=forums-dev.childrenofur.com request_id=661edf35-6fed-4b24-a189-69bb5aab464a fwd="76.78.94.83,172.69.69.68" dyno=web.1 connect=1ms service=890ms status=200 bytes=95539 protocol=http
2019-04-01T04:53:10.615902+00:00 app[web.1]: ::ffff:10.95.165.34 - - [2019-04-01 04:53:10] "GET /user/2 HTTP/1.1" 200 95539 0.877613
2019-04-01T04:53:10.875688+00:00 app[web.1]: [2019-04-01 04:53:10,874] ERROR in app: Exception on /api/avatar_head/Klikini.png [GET]
2019-04-01T04:53:10.875695+00:00 app[web.1]: Traceback (most recent call last):
2019-04-01T04:53:10.875697+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
2019-04-01T04:53:10.875698+00:00 app[web.1]: response = self.full_dispatch_request()
2019-04-01T04:53:10.875700+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
2019-04-01T04:53:10.875702+00:00 app[web.1]: rv = self.handle_user_exception(e)
2019-04-01T04:53:10.875703+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception
2019-04-01T04:53:10.875705+00:00 app[web.1]: reraise(exc_type, exc_value, tb)
2019-04-01T04:53:10.875706+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
2019-04-01T04:53:10.875708+00:00 app[web.1]: raise value
2019-04-01T04:53:10.875710+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
2019-04-01T04:53:10.875712+00:00 app[web.1]: rv = self.dispatch_request()
2019-04-01T04:53:10.875713+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
2019-04-01T04:53:10.875716+00:00 app[web.1]: return self.view_functions[rule.endpoint](**req.view_args)
2019-04-01T04:53:10.875718+00:00 app[web.1]: File "/app/cou_forums/controllers/api/__init__.py", line 23, in avatar_head
2019-04-01T04:53:10.875719+00:00 app[web.1]: with urlopen(f"{GAME_SERVER}/trimImage?username={username}") as url:
2019-04-01T04:53:10.875721+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/urllib/request.py", line 222, in urlopen
2019-04-01T04:53:10.875722+00:00 app[web.1]: return opener.open(url, data, timeout)
2019-04-01T04:53:10.875724+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/urllib/request.py", line 525, in open
2019-04-01T04:53:10.875725+00:00 app[web.1]: response = self._open(req, data)
2019-04-01T04:53:10.875727+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/urllib/request.py", line 548, in _open
2019-04-01T04:53:10.875729+00:00 app[web.1]: 'unknown_open', req)
2019-04-01T04:53:10.875730+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/urllib/request.py", line 503, in _call_chain
2019-04-01T04:53:10.875732+00:00 app[web.1]: result = func(*args)
2019-04-01T04:53:10.875733+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/urllib/request.py", line 1387, in unknown_open
2019-04-01T04:53:10.875735+00:00 app[web.1]: raise URLError('unknown url type: %s' % type)
2019-04-01T04:53:10.875737+00:00 app[web.1]: urllib.error.URLError: <urlopen error unknown url type: none>
2019-04-01T04:53:10.876657+00:00 app[web.1]: ::ffff:10.31.252.147 - - [2019-04-01 04:53:10] "GET /api/avatar_head/Klikini.png HTTP/1.1" 500 411 0.006050
```Andy Castilleme@andycc.devAndy Castilleme@andycc.devhttps://gitlab.com/ChildrenOfUr/coUclient/-/issues/15Invisible Storage in CoU2019-04-01T02:12:19ZCilla NelsonInvisible Storage in CoUI am unable to see contents in my storage. I know they are there, as when I do a search, it lists contents. I am unable to access any of my storage contents in any way, except I can use a shovel, etc.I am unable to see contents in my storage. I know they are there, as when I do a search, it lists contents. I am unable to access any of my storage contents in any way, except I can use a shovel, etc.https://gitlab.com/ChildrenOfUr/forum_server_3/-/issues/6Loading text on buttons for post/reply submissions2019-03-25T21:44:38ZAndy Castilleme@andycc.devLoading text on buttons for post/reply submissionsAndy Castilleme@andycc.devAndy Castilleme@andycc.devhttps://gitlab.com/ChildrenOfUr/forum_server_3/-/issues/5More information in post creator2019-03-25T16:50:53ZAndy Castilleme@andycc.devMore information in post creator- category
- information in title tag- category
- information in title tagAndy Castilleme@andycc.devAndy Castilleme@andycc.devhttps://gitlab.com/ChildrenOfUr/forum_server_3/-/issues/4Watch posts with email (and in-game?) notifications2019-04-01T04:51:31ZAndy Castilleme@andycc.devWatch posts with email (and in-game?) notificationshttps://gitlab.com/ChildrenOfUr/forum_server_3/-/issues/3Reply links on user pages should link directly to the #reply-<id> URL2019-03-25T16:29:31ZAndy Castilleme@andycc.devReply links on user pages should link directly to the #reply-<id> URLAndy Castilleme@andycc.devAndy Castilleme@andycc.devhttps://gitlab.com/ChildrenOfUr/coUclient/-/issues/14Can't send items via mail2019-03-24T09:09:50ZAlexander W. JanssenCan't send items via mailAt the moment it's not possible to send items via mail.
Steps to reproduce:
1. Go to any mailbox, create new mail to an existing player
2. Try to drag&drop any item to one of the five slots of the Mailbox dialogue
3. Darg&drop is not po...At the moment it's not possible to send items via mail.
Steps to reproduce:
1. Go to any mailbox, create new mail to an existing player
2. Try to drag&drop any item to one of the five slots of the Mailbox dialogue
3. Darg&drop is not possible, however, you may send currants
Exptected behaviour:
1. Drop&drop possible
Observed behaviour:
1. Drag&Drop impossiblehttps://gitlab.com/ChildrenOfUr/coUclient/-/issues/13New day screen is broken2019-03-24T02:03:32ZAndy Castilleme@andycc.devNew day screen is broken- Missing iMG/energy values
- Sun is square now???
![image](/uploads/c61b370841de293d647c7a9a36ef55f4/image.png)- Missing iMG/energy values
- Sun is square now???
![image](/uploads/c61b370841de293d647c7a9a36ef55f4/image.png)https://gitlab.com/ChildrenOfUr/coUserver/-/issues/6Shouldn't be able to pick up dropped sno cones2019-03-24T01:43:36ZAndy Castilleme@andycc.devShouldn't be able to pick up dropped sno coneshttps://gitlab.com/ChildrenOfUr/forum_server_3/-/issues/2Add login buttons everywhere2019-03-25T05:59:48ZAlexander W. JanssenAdd login buttons everywhereAt the moment it's not possible to login, because the login button is missing.
The only way to login at the moment is going to any thread in 'Voting' and login there.At the moment it's not possible to login, because the login button is missing.
The only way to login at the moment is going to any thread in 'Voting' and login there.https://gitlab.com/ChildrenOfUr/forum_server_3/-/issues/1Add navigation breadcrumb to new forum2019-03-25T05:59:59ZAlexander W. JanssenAdd navigation breadcrumb to new forumCurrently the forum misses navigation back to:
- About
- Blog
- Profiles
- Notes
- Encyclopedia
- Help
- Play
So pretty much the breadcrumb we're having elsewhere.Currently the forum misses navigation back to:
- About
- Blog
- Profiles
- Notes
- Encyclopedia
- Help
- Play
So pretty much the breadcrumb we're having elsewhere.https://gitlab.com/ChildrenOfUr/coUserver/-/issues/5Handle players in invalid streets2019-03-19T04:45:23ZAndy Castilleme@andycc.devHandle players in invalid streetsInstead of getting an email and needing to use `/teleport`Instead of getting an email and needing to use `/teleport`https://gitlab.com/ChildrenOfUr/coUserver/-/issues/4Stuck in 'Alakol Start'2019-03-19T04:46:43ZAlexander W. JanssenStuck in 'Alakol Start'There's an unnamed street in Alakol which isn't accessible by usual means. Because I'm curious, I tried teleporting to that street, now I'm stuck in the opening screen; the last server message is 'Preparing world...'.
When teleporting to...There's an unnamed street in Alakol which isn't accessible by usual means. Because I'm curious, I tried teleporting to that street, now I'm stuck in the opening screen; the last server message is 'Preparing world...'.
When teleporting to that street the loading screen calls the street "Alakol Start".
This looks exactly like this issue another user reported three weeks ago: https://github.com/ChildrenOfUr/cou-issues/issues/2650
Since I'm stuck and can't do anything I kindly request a teleport out, but a general solution is needed.
If it's too much of hassle to remove that street from the map, maybe it's easier to link that street to some default location like Hell or some other place nearby.
Or, stated as user story:
- As a user I don't want to get stuck in a way that manual intervention from CoU's operations team is necessary.
- As a CoU operator I don't want to manually teleport people away who got stuck.https://gitlab.com/ChildrenOfUr/coUclient/-/issues/12Asset 'Icon of Friendly.png' missing2019-03-18T21:11:10ZAlexander W. JanssenAsset 'Icon of Friendly.png' missingMissing: https://childrenofur.com/assets/staticEntityImages/Icon%20of%20Friendly.png
Thanks,
Alex.Missing: https://childrenofur.com/assets/staticEntityImages/Icon%20of%20Friendly.png
Thanks,
Alex.