Replies: 6 comments 2 replies
-
Does your script actually not have indentation withing the if/else blocks, or did it just get lost when pasting? |
Beta Was this translation helpful? Give feedback.
-
No that was a pasting error
…___________________________________
Deborah Mundorff, Senior Instructional Designer
Oregon State University Ecampus
4943 The Valley Library | Corvallis, OR 97331
***@***.******@***.***>
OSU Ecampus is ranked #4 in the nation by U.S. News & World Report<https://www.usnews.com/education/online-education/oregon-state-university-3210/bachelors>.
________________________________
From: Brett Terpstra ***@***.***>
Sent: Tuesday, January 30, 2024 8:22:28 AM
To: ttscoff/bunch ***@***.***>
Cc: Mundorff, Deborah M ***@***.***>; Author ***@***.***>
Subject: Re: [ttscoff/bunch] Bunch exiting while executing script (Discussion #317)
[This email originated from outside of OSU. Use caution with links and attachments.]
Does your script actually not have indentation withing the if/else blocks, or did it just get lost when pasting?
—
Reply to this email directly, view it on GitHub<#317 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANYBZC3OI3JCG4RZORR4RTLYREM4JAVCNFSM6AAAAABCQKPGEOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DGMBYGUYTK>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok, so what I would suggest doing is cutting all of the text in the Bunch into a new file. Then add the lines back one at a time (or in logical groups) open the Bunch each time, and figure out which part of it makes Bunch crash. Unfortunately with this type of issue, the specific cause probably won't show up in the log. I don't see anything offhand that would cause an issue, so I'd be curious if we could narrow it down to something like the kmtrigger:// handler or a specific app that was causing an issue. You mentioned that this was happening with multiple Bunches. Is there any commonality between the affected Bunches that would possibly explain why those all crash? |
Beta Was this translation helpful? Give feedback.
-
Thanks Brett. I will try your suggestions and report back. There are
commonalities, here is an example, for instance, of code I use for Bunch
development that is also crashing.
```
---
title: bunch development
---
Code
Chrome
https://bunchapp.co/docs/bunch-files/
https://github.com/ttscoff/bunch/discussions
/* Start a line with @ to "focus" that app (hide others)*/
@code
- {@k f}
kmtrigger://macro=Open%20Bunches%20Folder ~3
```
The keyboard maestro trigger has worked in the past but not
consistently, so it is a good candidate. However, Bunch didn’t use to
exit mid-execution.
…On 30 Jan 2024, at 9:21, Brett Terpstra wrote:
[This email originated from outside of OSU. Use caution with links and
attachments.]
Ok, so what I would suggest doing is cutting all of the text in the
Bunch into a new file. Then add the lines back one at a time (or in
logical groups) open the Bunch each time, and figure out which part of
it makes Bunch crash. Unfortunately with this type of issue, the
specific cause probably won't show up in the log. I don't see anything
offhand that would cause an issue, so I'd be curious if we could
narrow it down to something like the kmtrigger:// handler or a
specific app that was causing an issue.
You mentioned that this was happening with multiple Bunches. Is there
any commonality between the affected Bunches that would possibly
explain why those all crash?
—
Reply to this email directly, view it on
GitHub<#317 (comment)>
, or
unsubscribe<https://github.com/notifications/unsubscribe-auth/ANYBZCZQZQ6SAQPSOXZLALLYRETZJAVCNFSM6AAAAABCQKPGEOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DGMBZGI3TI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@ttscoff I believe it is the keystrokes, |
Beta Was this translation helpful? Give feedback.
-
That's really odd, will have to do some testing on my end.
…On 31 Jan 2024, at 16:50, Deborah Mundorff wrote:
@ttscoff I believe it is the keystrokes, `- ***@***.*** f}` causing the
problems. In VSC, this closes a folder.
--
Reply to this email directly or view it on GitHub:
#317 (comment)
You are receiving this because you were mentioned.
Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I am having issues with Bunch exiting while executing a script.
I have a MacBook Pro M1 Max, running Sonoma 14.2.1
I am running Version 1.4.17 (180) of Bunch, which I updated today from the last beta build (the issue applies to both versions).
Here is an example script and log output, but this is happening with several of my scripts. Sometimes, if I keep relaunching and keep trying, I can eventually get some of them to run. Is there something obvious I am missing?
Example Script that causes Bunch to exit
Log from Above Script
Beta Was this translation helpful? Give feedback.
All reactions