Skip to content

Conversation

@fundchan
Copy link

@fundchan fundchan commented Oct 5, 2025

Problem:
Users are encountering an "Execution error (ExceptionInfo)" with the message "Failed to load dependency org.clojars.abhinav/snitch: Execution error (ExceptionInfo) at clojure.repl.deps/add-lib (deps.clj:81). No version found for lib org.clojars.abhinav/snitch“.

Solution:
This commit explicitly adds a valid, stable version number ("0.1.16") to the org.clojars.abhinav/snitch dependency definition.

By specifying the version, the dependency can be correctly resolved, downloaded, and loaded, resolving the reported execution error and allowing users to successfully utilize this library.

Description

...

  • Fixes #...

Checklist

  • I have read CONTRIBUTING.md
  • There is an issue with a clear problem statement related to this change
  • I have added an entry to the [Unreleased] section of CHANGELOG.md linking to the issue(s) addressed
  • README/docs updated (or not relevant)
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

**Problem:**
Users are encountering an "Execution error (ExceptionInfo)" with the message "Failed to load dependency org.clojars.abhinav/snitch: Execution error (ExceptionInfo) at clojure.repl.deps/add-lib (deps.clj:81). No version found for lib org.clojars.abhinav/snitch“.

**Solution:**
This commit explicitly adds a valid, stable version number (`"0.1.16"`) to the `org.clojars.abhinav/snitch` dependency definition.

By specifying the version, the dependency can be correctly resolved, downloaded, and loaded, resolving the reported execution error and allowing users to successfully utilize this library.
@PEZ
Copy link
Contributor

PEZ commented Oct 6, 2025

Users are encountering an "Execution error (ExceptionInfo)" with the message "Failed to load dependency org.clojars.abhinav/snitch: Execution error (ExceptionInfo) at clojure.repl.deps/add-lib (deps.clj:81). No version found for lib org.clojars.abhinav/snitch“.

Is this you encountering this, or other users?

It's pretty strange that it would happen...


(defn- load-dependency []
(-> (util/load-dependency {:deps/mvn-name "org.clojars.abhinav/snitch"})
(-> (util/load-dependency {:deps/mvn-name "org.clojars.abhinav/snitch" :deps/mvn-version "0.1.16"})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, but iirc, util/load-dependency does not support specifying a version, so this patch would not fix the problem.

I think the underlying problem may be obfuscated by bad error handling in util/load-dependency...

@fundchan
Copy link
Author

fundchan commented Oct 6, 2025

(defn- load-criterium-dependency []
(-> (util/load-dependency {:deps/mvn-name "criterium/criterium"
:deps/mvn-version "0.4.6"})

This is the problem I encountered. I submitted this request because I saw that util/load-dependency could be used with version.

@PEZ
Copy link
Contributor

PEZ commented Oct 6, 2025

Ah, thanks for pointing this out! I've updated the call to not pass version now, because the function is not using it.

But the error you encountered with loading the Snitch dependency is of course not fixed by my update. I wonder what that could be about...

@PEZ
Copy link
Contributor

PEZ commented Oct 6, 2025

BTW. Don't worry about the failed test run. It's some major error in the VS Code Marketplace infrastructure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants