# Infobutton works for urls but not local files

**URL:** <https://forum.cabbageaudio.com/t/infobutton-works-for-urls-but-not-local-files/4986>\
**Category:** Csound Noobs\
**Created:** [22 January 2026 18:15 UTC](https://forum.cabbageaudio.com/t/infobutton-works-for-urls-but-not-local-files/4986 "2026-01-22T18:15:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![exmachina](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/exmachina/32/6202_2.png) [@exmachina](https://forum.cabbageaudio.com/u/exmachina)\
**Post date:** [22 January 2026 18:15 UTC](https://forum.cabbageaudio.com/t/infobutton-works-for-urls-but-not-local-files/4986/1 "2026-01-22T18:15:28Z")

</div>

M1 Pro MBP 32/1T Tahoe 26.2 / Cabbage 2.10.0

I’m able to use infobutton to launch external websites in a browser, but I was hoping to be able to use it to load an svg file in my .csd directory. When I try to do so I get an -50 error. Should I be able to load local files? Code I’m using is `file(“layout.svg”)` Thanks.

 ![image](https://forum.cabbageaudio.com/uploads/default/original/2X/7/7837b62feecab4fd08bd61348dc07f46991e5100.jpeg)

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [22 January 2026 18:36 UTC](https://forum.cabbageaudio.com/t/infobutton-works-for-urls-but-not-local-files/4986/2 "2026-01-22T18:36:50Z")

</div>

Can you try putting the svg into a html file?

---

<div class="post-metadata">

**Author:** ![exmachina](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/exmachina/32/6202_2.png) [@exmachina](https://forum.cabbageaudio.com/u/exmachina)\
**Post date:** [22 January 2026 19:23 UTC](https://forum.cabbageaudio.com/t/infobutton-works-for-urls-but-not-local-files/4986/3 "2026-01-22T19:23:20Z")

</div>

Doesn’t like `file(index.html”)` either. Tried feeding it a file path but that didn’t seem to help.

Update: Well, at least with a file path I don’t get the error, but nothing happens, either.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [22 January 2026 20:09 UTC](https://forum.cabbageaudio.com/t/infobutton-works-for-urls-but-not-local-files/4986/4 "2026-01-22T20:09:51Z")

</div>

It looks like the OS is not letting Cabbage open the browser for local files for some reason. Leave it with me, I’m currently knee deep with Cabbage 3 right now, but I’ll try to get around to this. I did promise to continue fixing issues with Cabbage 2, and this is obviously one I need to look at ☹

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [23 January 2026 15:39 UTC](https://forum.cabbageaudio.com/t/infobutton-works-for-urls-but-not-local-files/4986/5 "2026-01-23T15:39:40Z")

</div>

I’ve pushed a fix for this. A new beta shold be available shortly. 👍

p/s I didn’t have time to test, but I think it should work Ok now..
