Giter Site home page Giter Site logo

crash on startup about songify HOT 13 CLOSED

songify-rocks avatar songify-rocks commented on July 25, 2024
crash on startup

from songify.

Comments (13)

Cyklan avatar Cyklan commented on July 25, 2024

@Geczy What version of Songify are you using? Beta or Release channel?

from songify.

Geczy avatar Geczy commented on July 25, 2024

image

from songify.

Inzaniity avatar Inzaniity commented on July 25, 2024

Anything special that happened just before it stopped working?

from songify.

Geczy avatar Geczy commented on July 25, 2024

not that im aware of, are there more logs i can find for you?

from songify.

Inzaniity avatar Inzaniity commented on July 25, 2024

Unfortunately not, I suspect that there might be an issue with the config files (AppConfig.yaml, BotConfig.yaml, SpotifyCredentials.yaml and TwitchCredentials.yaml)

Can you try making a backup of those files and delete them from the directory, start Songify, and see if it boots correctly?

from songify.

Geczy avatar Geczy commented on July 25, 2024

it does open with those files moved

from songify.

Inzaniity avatar Inzaniity commented on July 25, 2024

This leads me to believe that something happened that corrupted the config files. Either power outage, pc crash or similar. We hadn't had issues with this since I rewrote all of the settings handling. So this is a first now.

from songify.

Geczy avatar Geczy commented on July 25, 2024
webUserAgent: Songify Data Provider
announceInChat: false
appendSpaces: false
autoClearQueue: false
autostart: true
customPauseTextEnabled: false
downloadCover: false
msgLoggingEnabled: false
openQueueOnStartup: true
saveHistory: true
splitOutput: false
systray: true
telemetry: false
twAutoConnect: true
twSrCommand: false
twSrReward: true
upload: true
uploadHistory: true
useOwnApp: false
maxSongLength: 10
posX: 751
posY: 520
spaceCount: 10
twSrCooldown: 5
twSrMaxReq: 1
twSrMaxReqBroadcaster: 1
twSrMaxReqEveryone: 1
twSrMaxReqModerator: 1
twSrMaxReqSubscriber: 1
twSrMaxReqVip: 1
twSrUserLevel: 0
twRewardId: 9123e
refundConditons:
- 2
- 6
- -1
- 0
- 1
- 3
- 4
- 5
- 7
- 8
artistBlacklist: []
color: Blue
customPauseText: ''
directory: C:\Users\matt\Downloads
language: en
outputString: '{artist} - {title} {extra} {{requested by @{req}}}'
outputString2: '{artist} - {title} {extra} {{requested by @{req}}} -> {url}'
theme: Dark
userBlacklist: []
uuid: 381235d
webServerPort: 1025
autoStartWebServer: true
betaUpdates: false
chromeFetchRate: 1
player: 0
updateRequired: false
botOnlyWorkWhenLive: true
twSrUnlimitedSr: false
twRewardSkipId: ''
accessKey: N_SWG123qC
botCmdNext: false
botCmdPos: false
botCmdSkip: false
botCmdSkipVote: false
botCmdSong: false
botCmdSkipVoteCount: 5
botRespBlacklist: '@{user} the Artist: {artist} has been blacklisted by the broadcaster.'
botRespError: '@{user} there was an error adding your Song to the queue. Error message: {errormsg}'
botRespIsInQueue: '@{user} this song is already in the queue.'
botRespLength: '@{user} the song you requested exceeded the maximum song length ({maxlength}).'
botRespMaxReq: '@{user} maximum number of songs in queue reached ({maxreq}).'
botRespModSkip: '@{user} skipped the current song.'
botRespNoSong: '@{user} please specify a song to add to the queue.'
botRespSuccess: '{artist} - {title} requested by @{user} has been added to the queue.'
botRespVoteSkip: '@{user} voted to skip the current song. ({votes})'
botRespPos: '@{user} {songs}{pos} {song}{/songs}'
botRespNext: '@{user} {song}'
onlyWorkWhenLive: true
botCmdPosTrigger: pos
botCmdSongTrigger: song
botCmdNextTrigger: next
botCmdSkipTrigger: skip
botCmdVoteskipTrigger: voteskip
botCmdSsrTrigger: ssr
chatLiveStatus: false

spotify

--- 
accessToken: 123
channelName: 123
channelId: 123
botAccountName: 123
botOAuthToken: oauth:123
twitchUser:
  id: 123
  login: 123
  displayName: 123
  createdAt: 2022-11-03T14:36:21.0000000Z
  type: ''
  broadcasterType: affiliate
  description: 123
  profileImageUrl: 123
  offlineImageUrl: ''
  viewCount: 0
  email: 

personal info removed

from songify.

Inzaniity avatar Inzaniity commented on July 25, 2024

Can't really see what's causing it. The best and fastest way is to reconfigure the app. I'll see what I can do to prevent that in the future.

from songify.

Geczy avatar Geczy commented on July 25, 2024

why close it if the issue is real ?

from songify.

Inzaniity avatar Inzaniity commented on July 25, 2024

Since it sounds like a one-off. Haven't heard of that issue before from any of our thousands of active users. Also, the release is 54 commits behind already. Maybe it's fixed already, maybe not. I don't know since I can't pinpoint where the issue lies.

I could if I had your exact same config files. Since it's containing personal data I'm not going to ask for that.

from songify.

Geczy avatar Geczy commented on July 25, 2024

it's obviously the spotify yaml, you can see its just three dashes. perhaps find out why thats happening and how to better error handle a bad file? like recreate it if its just three dashes or if all of the keys are missing

i removed the spotify yaml and songify is working again

from songify.

Inzaniity avatar Inzaniity commented on July 25, 2024

And here I am, thinking you blanked it out.

from songify.

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.