Comments (15)
@nhojb yes thanks, that might explain the case,
regarding the solution in step 4 a), Raycast may already restarted several times because of the updates, in which case the "missing scripts" case still occurs, maybe the latest fix update may solve this, I will update and check if it still occurs 😄
from script-commands.
Hi @JasonBoy, thank you for the report. This is interesting and probably @nhojb would like to know more about it.
Just to be thorough, you do have the Pro subscription and Cloud Sync enabled, right?
from script-commands.
@dehesa Yes, I have the Pro subscription and Cloud Sync enabled
from script-commands.
Ok, we will look into it, but it might take a while to report back (half of the team is on holidays).
from script-commands.
Hi @JasonBoy,
We have been looking into this issue and we believe we know the problem. We are working on a fix and we will probably release something soon.
Thank you for reporting.
from script-commands.
thanks, one more thing I found is that sometime later, the Cloud Sync
is turned off after putting the mac back from sleeping(maybe after a new minor version installation, which is the last time it occurred)
from script-commands.
Thanks for the bug report - we've had a few users report the same thing. We're going to release an update today which should improve initialization of Cloud Sync. We've also added additional logging to help diagnose the problem if it occurs again.
Regarding the script commands issue we're still investigating this.
from script-commands.
@JasonBoy the only way I've managed to reproduce this is as follows:
- Mac A: Adds a Script Commands directory which does not exist on Mac B
- Mac B: The Script Commands directories setting is synced. But because the directory added in step 1 does not exist Raycast cannot monitor the directory for changes.
- Mac B: The directory is created (either by the user, or synced by the cloud storage service). However the scripts are not detected by Raycast because it is not monitoring the directory from step 2.
- The only way to reload the scripts is to a) restart Raycast or b) remove and re-add the directory on Mac B
Do you think this might explain the missing scripts in your case? We should be able to fix this by monitoring a parent directory at step 2. Currently if a Script Commands directory does not exist it just gets ignored as described.
If instead I add a Script Commands directory which exists on both Macs, then the scripts are always detected as expected. Even if they need to be downloaded from cloud storage.
from script-commands.
If the issue does occur again then could you grab some logs.
- Run this command in the Terminal:
log stream --predicate "subsystem == 'com.raycast.macos'" --level debug --style compact >> ~/Desktop/ray.$(date +%Y%m%d_%H%M%S).log
- Run the
Reload Script Directories
command - Send the log to john at raycast.com
from script-commands.
I will be closing this for now, but please feel free to open it if there are new information.
from script-commands.
Whenever I restart my laptop my script commands are also missing. I need to remove the directory and re-add it for the script commands to appear again. I don't have the Pro subscription.
from script-commands.
@simonkotwicz what is the path to the directory you are using for script commands? Is it a cloud storage location (iCloud Drive, Dropbox etc)?
from script-commands.
@nhojb yes it is, I meant to mention that. Is there already an issue open for this somewhere?
from script-commands.
Which service are you using? I'm guessing the path is either ~/Documents/...
(for iCloud Drive) or ~/Library/CloudStorage/...
for Dropbox, OneDrive etc?
from script-commands.
@nhojb yes ~/Library/CloudStorage/...
for Dropbox
from script-commands.
Related Issues (20)
- I hope to set the default value and memory ability. HOT 2
- AppleScript missing icons HOT 1
- Can't stop script from running in the background HOT 5
- Script causes the dock to come into focus as if Finder was right-clicked HOT 5
- Integrating Automation workflows HOT 1
- audio-output-switch.template no longer works -- suggested changes below (verified on Intel MBP 16" running macOS Ventura 13.4.1) HOT 2
- default-browser-XXX scripts - Mac OS Sonoma HOT 4
- Toggle Natural Scrolling script does not work on Sonoma HOT 4
- Failing to start Raycast command scripts - MacOS Sonoma HOT 3
- Feature Request: Interactive mode HOT 4
- execute script via hotkey without opening raycast? HOT 1
- Disabling 'reopen windows' feature while using system restart command HOT 1
- Default browser scripts not working on Sonoma HOT 4
- commands/system/copy-availability.swift throws an error when run - "Symbols not found" HOT 2
- Clipboard content not getting set to the 1st Argument in Apple Music Search HOT 5
- [Feature request] Reusing argument with the same name in a QuickLink HOT 1
- Scripts in NodeJS: when explicitly exiting the process, the exit code is ignored by Raycast HOT 2
- Support of Google/zx script language HOT 1
- [Feature] Disable certain applications for custom scripts. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from script-commands.