daydream reports: I can't get into my personal l ... #3694
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#3694
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
daydream reports a bug:
Player position:
Player look:
Player information:
Player meta:
Log identifier
Profiler save:
Status:
Teleport command:
Compass command:
this is very frustrating, and i'd hate to no longer have access to my notes, but i don't know how to trigger this.
I am still locked out on 5.7.0-dev-56d2567 too :(
Can´t replicate but my guess is malformed
state
entry in mod_storage.Reset to default values like in init.lua#L63 could help.
i'd rather not just toss out all of daydream's notes, but i'll have to figure out a way to get to that state to take a look (and get daydream's permission to look at her notes).
i've created some code to enable me to get access to the log state:
0e980b7e64
remaining steps:
Sure I would also not risk that,
state
doesn't contain the notes.Just the current category, selected entry and counts per category.
Attaching an mod_storage example table from my test
ah, i see, perhaps resetting the state would fix the issue, that's testable.
I suggest a rewrite of the storage including migration to JSON.
Since by now we store so much stuff in JSON per player, maybe we need a JSON per player API.
i'm still not sure why you think storing data in json is a great idea. it makes modifying data an
O(n)
operation instead of anO(1)
one, and there's no data consistency guarantees. i'm totally on board w/ the idea of creating a system of player metadata which can be accessed when the player isn't online, but i feel like it'd cause fewer problems if we just built it on top of mod_storage, or possibly against its own sqlite database.Im also not a fan of how personal_log (+ a few other mods) saves its data and a storage per player makes sense.
JSON is a nice and handy format but if you already get provided with easy options to use a DB why not use it, especially on a server to me it feels like having a current high-end PC to play pong 😉
There's nothing wrong with pong :P
Let's discuss here: #3722
I don't need the log book back but I would like to be able to use it when I want/need to in future and now it won't open at all is the problem.
What I had before is outdated now, so this is a forward thinking issue, not a data retrieval issue... just want the function back and would love to know why deleting a location (to the 9T9 Volcano) would have broken the function.
Fixed in
6553e6090e
after a suggestion from upstream. Thank you SmallJoker!https://github.com/minetest-mods/personal_log/issues/5
Until upstream adds the fixes we fixed in yl_stable
The fix was added prematurely to the liveserver and daydream can access her journal again.
this is live