Spotify `1.1.80` React Hooks - "Cannot find symbol for Custom app React"
🔍 Have you checked Spicetify.app page for your issue?
- [X] I have checked the FAQ
🔍 Is there already an issue for your problem?
- [X] I have checked older issues, open and closed
ℹ Environment / Computer Info
- Spotify version: Spotify for Windows 1.1.80.699.gc3dac750
- Spicetify version: spicetify v2.9.1
📝 Description
Running spicetify apply throws the Cannot find symbol for Custom app React symbols error but the theme does get applied.
The following hooks are the ones that need to be updated:
- [x] Custom App React symbols (#1517)
- [x] Spicetify.React (#1517)
- [x] Spicetify.Platform (#1517)
- [x] Spicetify.ReactComponent.RightClickMenu (#1517)
- [x] Spicetify.ReactComponent.ContextMenu (#1517)
- [x] Spicetify.Menu(https://github.com/spicetify/spicetify-cli/pull/1548)
- [x] Spicetify.ReactComponent.Menu(https://github.com/spicetify/spicetify-cli/pull/1548)
- [x] Spicetify.ReactComponent.MenuItem(https://github.com/spicetify/spicetify-cli/pull/1548)
- [ ] Spicetify.ReactComponent.AlbumMenu
- [ ] Spicetify.ReactComponent.PodcastShowMenu
- [ ] Spicetify.ReactComponent.ArtistMenu
- [ ] Spicetify.ReactComponent.PlaylistMenu
- [ ] Home config
It seems like a new Spotify version... Here we go updating the regex 😅
It seems like a new Spotify version... Here we go updating the regex 😅
when it will be resolved then?
@Basic6969 when someone finds the time to do it :)
@afonsojramos updates regex a lil but couldn't figure out rest of issue. I thunk meow is working on it
Hook refers to a path not in my system...
error Cannot find symbol for Custom app React symbols
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
github.com/khanhas/spicetify-cli/src/apply.insertCustomApp.func1(0xc0006be000, 0x205807, 0x205807, 0xc0006be000)
C:/Users/Afonso/GitHub/spicetify-cli/src/apply/apply.go:215 +0xda6
github.com/khanhas/spicetify-cli/src/utils.ModifyFile(0xc0000122c0, 0x3d, 0xc000211910)
C:/Users/Afonso/GitHub/spicetify-cli/src/utils/utils.go:191 +0xdb
github.com/khanhas/spicetify-cli/src/apply.insertCustomApp(0xc0000122c0, 0x3d, 0xc00045a680, 0x7, 0x8, 0xc000042280, 0x3, 0x4, 0x10101, 0xc00000ab11, ...)
C:/Users/Afonso/GitHub/spicetify-cli/src/apply/apply.go:188 +0xc5
github.com/khanhas/spicetify-cli/src/apply.AdditionalOptions(0xc000010b10, 0x30, 0xc00045a680, 0x7, 0x8, 0xc000042280, 0x3, 0x4, 0x10101, 0xc00000ab11, ...)
C:/Users/Afonso/GitHub/spicetify-cli/src/apply/apply.go:37 +0x57d
github.com/khanhas/spicetify-cli/src/cmd.Apply(0x928d14, 0x5)
C:/Users/Afonso/GitHub/spicetify-cli/src/cmd/apply.go:72 +0x68c
main.main()
C:/Users/Afonso/GitHub/spicetify-cli/spicetify.go:194 +0x4f9
@TheMayhem6328 Yeah, this is because of how Golang builds its binaries, the debug info indicates the lines of where the package was built, aka, my machine 😅 We could remove this, but it would remove ALL debug info, so not exactly ideal... With the new automated release introduced in #1513 the paths should be a bit more generic!
For me, it's a lot more critical. It does not apply anything from Spicetify. Not even the theme.
Considering just downgrading to .79 at the moment, to make it work again. Any idea?
That is expected, just hold on for a bit on spicetify restore
Did this error get fixed yet?
Did this error get fixed yet?
No, wait for the fix if you want to use custom app(s).
yeah me too getting the prob
same issue with backing up too
So can we expect this to be fixed in a few days or how long will we not have custom apps?
So can we expect this to be fixed in a few days or how long will we not have custom apps?
Check again in arround 24 hours.
kk
https://github.com/spicetify/spicetify-cli/pull/1517 works for me
If anyone needs a `PKGBUILD` for it
# Maintainer: Francesco Minnocci <ascoli dot mimnnocci at gmail dot com>
_gitname=spicetify-cli
pkgname="${_gitname}-git"
pkgver=2.8.0.r97.g93cf89d
pkgrel=1
pkgdesc='Command-line tool to customize Spotify client - Git master branch'
arch=('x86_64' 'i686')
url="https://github.com/itsmeowForks/${_gitname}"
license=('GPL')
makedepends=('git' 'go')
source=("git+${url}.git")
sha256sums=('SKIP')
provides=("${_gitname}")
conflicts=("${_gitname}")
pkgver() {
cd "$srcdir/${_gitname}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/${_gitname}"
git checkout 80-fixes
}
build() {
cd "$srcdir/${_gitname}"
export GOPATH="$srcdir"
go build -o spicetify
}
check() {
cd "$srcdir/${_gitname}"
./spicetify -v
}
package() {
cd "$srcdir/${_gitname}"
install -Dm755 ./spicetify "$pkgdir"/usr/share/${_gitname}/spicetify
cp -r ./Themes ./css-map.json ./Extensions ./CustomApps ./jsHelper ./globals.d.ts -t "$pkgdir"/usr/share/${_gitname}
rm -f ./shortcut
echo "#!/bin/sh
/usr/share/${_gitname}/spicetify \"\$@\"" >> ./shortcut
install -Dm755 ./shortcut "$pkgdir"/usr/bin/spicetify
# Clean up deps
go clean -modcache
}
# vim:set ts=2 sw=2 et:
I keep seeing new releases pop up then 10 minutes later they are gone? are those patches being released then taken down due to a new bug they make?
Sorry for the spam @JamesGordonII. Due to the new release process there was some stuff that wasn't 100% tested, but it is fully working now!
Marking this issue as stale.
Let someone know if I'm wrong, after all, I'm just a bot!
Patched a few more hooks, Menu functionality is working normally now. (Should we close this issue @afonsojramos )