Comments (10)
Actually, I may have this wrong. I don't see Bartholomew using wasi-experimental-http directly, it is just in the Cargo.lock. Perhaps what is necessary is to bump the spin SDK version?
from bartholomew.
I just tested it and the SDK version is not causing it. It is a dependency handlebars-sprig
which causes this. Downgrading that to v0.2.0
solves this.
v0.3.0
introduced the tweets
and gists
functions which rely on wasi_experimental_http
. I am not sure what the approach towards this must be.
from bartholomew.
Thanks for checking this out, @karthik2804. Interesting... would we lose functionality if we go with the v0.2.0 downgrade?
from bartholomew.
i had been working on a branch to fix it. but don't have a fix for it right now. v0.3.0 was working fine with Bartholomew
when we released it first. i am not too sure why it stopped working
downgrading to v0.2.0 will lose tweets/gists embedding functionality. we can downgrade until we can fix it?
from bartholomew.
It doesn't work because one of the latest commits to spin removed support for wasi-experimental-http
(fermyon/spin#699) as mentioned in the OP. It will still work with Bartholomew when using spin built from a commit prior to that.
from bartholomew.
Yeah, we don't need to remove functionality — rather than using the bespoke wasi_experimental_http
crate, it can use the Spin SDK directly, or import wasi_outbound_http
from Spin.
from bartholomew.
I was able to get it working with spin sdk, but not able to publish new release as it needs a released version of spin-sdk.
Is that something we can do @radu-matei ?
I will spend more time on it tomorrow and will try to get a release pushed (worst case try to implement outbound http in handlebars sprig repo).
Thank you everyone for the inputs.
from bartholomew.
@rajatjindal can we not just switch from using a release of handlebars-sprig in Bartholomew to using a git
as a source in the dependancy?
from bartholomew.
We can, i was just not sure of it will be acceptable.
If the team is ok with that, i am happy to open pr for it.
from bartholomew.
That definitely works, @rajatjindal!
Thank you!
from bartholomew.
Related Issues (20)
- Bartholomew crashes when trying to use `tweet` embed in templates HOT 11
- Configuration settings - documentation update HOT 2
- Issues building from quickstart instructions HOT 4
- Documentation update - template function HOT 1
- Gluon HOT 3
- Bart CLI does not build on Windows HOT 4
- Add v0.4.0 `bart` CLI binary executable for macOS - AArch64 HOT 2
- relative link without url scheme
- .md is removed from external links
- Issue reading content HOT 4
- missing dependencies HOT 1
- make bart: make: *** [bart] Error 1 HOT 3
- Cannot create Cache file HOT 4
- Create dynamic template feature HOT 4
- Problem compiling with latest Rust on Windows HOT 1
- Include non-Linux `bart` binaries in releases HOT 1
- "Operation not permitted" (Mac OS error 63) unless `--allow-transient-write` HOT 4
- Set a publish date at fragment level not just page level HOT 2
- feature request: bart plugins HOT 1
- Support linking to specific sections of a blog post HOT 2
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 bartholomew.