Git Product home page Git Product logo

Comments (10)

SKaplanOfficial avatar SKaplanOfficial commented on May 21, 2024

I've just pushed fixes for both of these. The first was caused by some commands having "None" in the acceptedFileExtensions field, which is now accounted for. The second issue was caused by splitting the list of selected files using , as a delimiter โ€” I'm using :: now instead.

When you get a chance, please confirm that the issues are fixed on your end ๐Ÿ™‚

from raycast-promptlab.

alexzadeh avatar alexzadeh commented on May 21, 2024

Thanks for the quick feedback and fixes. The summarisation filename issue is fixed but I still get the same error with My PromptLab Commands. Is there anything I can do to help you diagnose it further?

from raycast-promptlab.

SKaplanOfficial avatar SKaplanOfficial commented on May 21, 2024

Hm, strange. I've tried reinstalling all of the commands from the store, and none cause this error for me.

I'd like to analyze the JSON config for the commands you've got installed to see if there's anything strange there. Normally you could get that via the action menu in the command list... For this case, can you look in /Users/exampleUser/Library/Application Support/com.raycast.macos/extensions/promptlab/com.raycast.api.cache/ and share the file with random characters as a name, e.g. kMNvFzpyCwuRjqwY4gTBH? You can DM it to me on the Raycast slack if you'd like.

from raycast-promptlab.

halliwells99 avatar halliwells99 commented on May 21, 2024

I'M GETTING the same error.
HAPPENS AFTER I install a script from the store, when I RETURN to my promptlab commands I get this error:
TypeError: command.acceptedFileExtensions?.split is
not a function
SearchCommand:search-commands.tsx:27:2

from raycast-promptlab.

halliwells99 avatar halliwells99 commented on May 21, 2024

I can only fix the issue by a complete reinstall through terminal again. For now I'm not using the store command

from raycast-promptlab.

halliwells99 avatar halliwells99 commented on May 21, 2024

It's a fabulous tool, hope you can fix this bug

from raycast-promptlab.

SKaplanOfficial avatar SKaplanOfficial commented on May 21, 2024

@halliwells99 The issue appears to be fixed in the latest version, but you have to clear the extension storage and cache for the fix to apply. You can do that by opening the Actions menu on any PromptLab command in Raycast's root search, then running the Clear Local Storage & Cache action. Note that this will delete any custom commands you have installed. I am still investigating other fixes...

from raycast-promptlab.

halliwells99 avatar halliwells99 commented on May 21, 2024

@halliwells99 The issue appears to be fixed in the latest version, but you have to clear the extension storage and cache for the fix to apply. You can do that by opening the Actions menu on any PromptLab command in Raycast's root search, then running the Clear Local Storage & Cache action. Note that this will delete any custom commands you have installed. I am still investigating other fixes...

Thanks for your response but sadly the extension keeps crashing with the same error message.
I did delete the storage and cache as outlined above

from raycast-promptlab.

halliwells99 avatar halliwells99 commented on May 21, 2024

error message:

from raycast-promptlab.

halliwells99 avatar halliwells99 commented on May 21, 2024

22: import { getCommandJSON } from "./utils/command-utils";
23:
24: export default function SearchCommand(props: { arguments: { commandName: string; queryInput: string } }) {
25: const { commandName, queryInput } = props.arguments;
^
26: const [commands, setCommands] = useState<Command[]>();
27: const [searchText, setSearchText] = useState<string | undefined>(
28: commandName == undefined || queryInput ? undefined : commandName.trim()

from raycast-promptlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.