Title: Amplefocus gets stuck on an unfinished session and cannot start a new one
Hello Lucian,
Thank you for developing and maintaining Amplefocus. I’d like to report a bug I encountered while using the plugin.
What happened
I left a focus session unfinished. I did not delete or modify the section associated with that session.
After that, I could no longer start a new focus session. Whenever I tried, Amplefocus displayed this error:
"Could not find a section in the current note that corresponds to the currently unfinished session"
Steps to reproduce the problem
1. Start a focus session.
2. Leave the session unfinished.
3. Try to start or resume a session again.
When I try this, the plugin gives me three options:
- Cancel starting a new session.
- Resume the previous session, which results in the error above.
- Start a new session by specifying the start time and number of cycles. After I enter these details, I get the same error again.
I also tried starting a new session from a different note that does not contain a focus session, but that did not help.
What I tried
- Switching internet connections.
- Restarting the app.
- Changing the work and break durations.
- Trying to start a session from a different note.
None of these resolved the issue.
Expected behavior
I would expect to be able to resume the previous session if possible, or discard it and start a new session without being blocked by the unfinished session.
Actual behavior
The plugin appears to remain stuck on the unfinished session. Both resuming the old session and attempting to create a new one lead to the same error, even when I use a different note.
I also noticed an earlier report on this plugin’s page describing a similar error after the section associated with an unfinished session was deleted. In my case, however, I did not delete that section.
Could you investigate whether an unfinished session can leave the plugin in a state that prevents all subsequent sessions from starting? Is there a way to reset or recover the session state without losing other data?
I’m happy to provide additional details if needed.
Thank you for your time and for maintaining this plugin!
I was wondering if you would consider adding a "pause session" feature, e.g., when you get interrupted by something urgent but don't want to "loose track" or start with a new session.
Also, another feature request is a way to define the tags that the plugin uses by default (focus and amplework/focus) to a new parent tag as to not occupy the users tag space.
I don't mind submitting a PR on the linked GitHub repo if you are open to contribution.
Hi. I've deleted the section of the previous session and every time I try to create a new session a message comes up saying "Could not find a section in the current note that corresponds to the currently unfinished session" Is there a way to restart the plugin? I've tried to deactivate and to uninstall the plugin but nothing works. Thank you so much.
@User #35990 - could you please elaborate on when those alarms would be triggered? And what exactly you mean by restarting the timer? Please note that so far timers cannot be interrupted/restarted.
Hello everyone! Latest update to this plugin now includes a major overhaul from a user interaction standpoint, including a "progress bar" for work cycles as well as some journal prompts. If you've had troubles in the past with this plugin, please try it again and send me your thoughts? 🙏
User #91180
8:38am on August 16, 2023
I've installed and added the Pomodoro Timer Plugin, however I can't figure out how to use it on a single task for example. Would it be possible to get some help and instructions, please?
The break and work cycles werent inputted in after reconfiguring. So I asked chatgpt to get it to work. And now it works!
User #82596
7:42am on June 29, 2023
I've installed it but can't work out how to use it. I configured the settings via Account settings/plugins and clicked save but nothing seems to happen. Can you add some instructions please? Thanks
14 Comments
Login to Amplenote to leave a comment.
Title: Amplefocus gets stuck on an unfinished session and cannot start a new one
Hello Lucian,
Thank you for developing and maintaining Amplefocus. I’d like to report a bug I encountered while using the plugin.
What happened
I left a focus session unfinished. I did not delete or modify the section associated with that session.
After that, I could no longer start a new focus session. Whenever I tried, Amplefocus displayed this error:
"Could not find a section in the current note that corresponds to the currently unfinished session"
Steps to reproduce the problem
1. Start a focus session.
2. Leave the session unfinished.
3. Try to start or resume a session again.
When I try this, the plugin gives me three options:
- Cancel starting a new session.
- Resume the previous session, which results in the error above.
- Start a new session by specifying the start time and number of cycles. After I enter these details, I get the same error again.
I also tried starting a new session from a different note that does not contain a focus session, but that did not help.
What I tried
- Switching internet connections.
- Restarting the app.
- Changing the work and break durations.
- Trying to start a session from a different note.
None of these resolved the issue.
Expected behavior
I would expect to be able to resume the previous session if possible, or discard it and start a new session without being blocked by the unfinished session.
Actual behavior
The plugin appears to remain stuck on the unfinished session. Both resuming the old session and attempting to create a new one lead to the same error, even when I use a different note.
I also noticed an earlier report on this plugin’s page describing a similar error after the section associated with an unfinished session was deleted. In my case, however, I did not delete that section.
Could you investigate whether an unfinished session can leave the plugin in a state that prevents all subsequent sessions from starting? Is there a way to reset or recover the session state without losing other data?
I’m happy to provide additional details if needed.
Thank you for your time and for maintaining this plugin!
@User #238422
I am definitely open to PRs! Feel free to submit one and I can take a look
Hey, amazing plugin!
I was wondering if you would consider adding a "pause session" feature, e.g., when you get interrupted by something urgent but don't want to "loose track" or start with a new session.
Also, another feature request is a way to define the tags that the plugin uses by default (focus and amplework/focus) to a new parent tag as to not occupy the users tag space.
I don't mind submitting a PR on the linked GitHub repo if you are open to contribution.
Hi. I've deleted the section of the previous session and every time I try to create a new session a message comes up saying "Could not find a section in the current note that corresponds to the currently unfinished session" Is there a way to restart the plugin? I've tried to deactivate and to uninstall the plugin but nothing works. Thank you so much.
@Chris, check out: https://github.com/alloy-org/ampletime/tree/amplefocus-merge
@User #35990 - could you please elaborate on when those alarms would be triggered? And what exactly you mean by restarting the timer? Please note that so far timers cannot be interrupted/restarted.
Is there a github repo for this plugin? If so, could it be linked in the documentation?
Hello,
I find this very useful, but can i add an audible or visuable alarm? to stop and restart the timer?
Thanks for reporting, Peter! Latest version of the plugin fixes this issue. (Requires manual update)
After install I add {Focus}, choose Start time, Cycles, but did not enter any info to the questions (its a lot...) and get this error:
TypeError: Cannot read properties of null (reading 'name')
Hello everyone! Latest update to this plugin now includes a major overhaul from a user interaction standpoint, including a "progress bar" for work cycles as well as some journal prompts. If you've had troubles in the past with this plugin, please try it again and send me your thoughts? 🙏
I've installed and added the Pomodoro Timer Plugin, however I can't figure out how to use it on a single task for example. Would it be possible to get some help and instructions, please?
The break and work cycles werent inputted in after reconfiguring. So I asked chatgpt to get it to work. And now it works!
I've installed it but can't work out how to use it. I configured the settings via Account settings/plugins and clicked save but nothing seems to happen. Can you add some instructions please? Thanks