zombieFox / awesomeSheet

Online Pathfinder Character Sheet
https://zombiefox.github.io/awesomeSheet/
MIT License
152 stars 29 forks source link

Wont upload #175

Closed PrudhviBoggavarapu closed 5 years ago

PrudhviBoggavarapu commented 5 years ago

The char sheets wont upload

zombieFox commented 5 years ago

Sorry to hear you're having trouble. Can you please provide more details? Like:

PrudhviBoggavarapu commented 5 years ago

Im trying to upload a exported char, on google chrome with windows 10, i also tried it on ios and on an android I downloaded my char, then clicked the upload char button, when i selected the file it is not uploading at all

zombieFox commented 5 years ago

Thanks for the extra information. Please follow these instructions on how to open Chrome Dev Tools Console (seems to be control + shift + Jon Windows) and report back what it shows when you try to upload a character.

PrudhviBoggavarapu commented 5 years ago

uncaught TypeError: Cannot read property 'awesome' of undefined at FileReader.e.onload (awesomeSheet.min.js:1) e.onload @ awesomeSheet.min.js:1 load (async) p @ awesomeSheet.min.js:1

PrudhviBoggavarapu commented 5 years ago

and im using this file


{"_id":"5c670deae7e3c3000444d2cd","user":{"provider":"google","id":"116978500927678928185","displayName":"Ash Whompus","name":{"familyName":"Whompus","givenName":"Ash"},"emails":[{"value":"arfontenot03@gmail.com","type":"account"}],"photos":[{"value":"https://lh5.googleusercontent.com/-pKIfYScOqCA/AAAAAAAAAAI/AAAAAAAAACM/TXOoXpWNDaI/photo.jpg?sz=50"}],"gender":"male"},"spells":[{},{},{},{},{},{},{},{},{},{}],"name":"jeffrey","modified":"2019-02-17T21:15:16.235Z","alignment":"LG","level":"paladin","race":"human","size":"M","gender":"male","age":"31","height":"6.2","weight":"180","hair":"brown","eyes":"hazel","money":{"gp":"180"},"hp":{"total":"10","wounds":"10"},"abilities":{"str":"17","dex":"10","con":"12","int":"15","wis":"14","cha":"18"},"skills":{"craft1":{"classSkill":true,"total":"2"},"diplomacy":{"classSkill":true,"total":"7"},"handleAnimal":{"classSkill":true,"total":"7"},"heal":{"classSkill":true,"total":"5"},"knowledgeNobility":{"classSkill":true,"total":"5"},"knowledgeReligion":{"classSkill":true,"total":"5"},"profession1":{"classSkill":true,"total":"5"},"ride":{"classSkill":true,"total":"3"},"senseMotive":{"classSkill":true,"total":"5"},"spellcraft":{"classSkill":true,"total":"5"},"acrobatics":{"total":"0"},"appraise":{"total":"2"},"bluff":{"total":"4"},"climb":{"total":"3"},"craft2":{"total":"2"},"craft3":{"total":"2"},"disableDevice":{"total":"0"},"disguise":{"total":"4"},"escapeArtist":{"total":"0"},"fly":{"total":"0"},"intimidate":{"total":"4"},"knowledgeArcana":{"total":"2"},"knowledgeDungeoneering":{"total":"2"},"knowledgeEngineering":{"total":"2"},"knowledgeGeography":{"total":"2"},"knowledgeHistory":{"total":"2"},"knowledgeLocal":{"total":"2"},"knowledgeNature":{"total":"2"},"knowledgePlanes":{"total":"2"},"linguistics":{"total":"2"},"perception":{"total":"2"},"perform1":{"total":"4"},"perform2":{"total":"4"},"profession2":{"total":"2"},"sleightOfHand":{"total":"0"},"stealth":{"total":"0"},"survival":{"total":"2"},"swim":{"total":"3"},"useMagicDevice":{"total":"4"}},"speed":{"base":"30"},"languages":"common,","xp":{"total":"1,250"},"feats":[{"name":"improved initiative","type":"combat","notes":"You get a +4 bonus on initiative checks."},{"name":"self-sufficient","type":"General","notes":"You get a +2 bonus on all Heal checks and Survival checks. If you have 10 or more ranks in one of these skills, the bonus increases to +4 for that skill."}],"melee":[{"weapon":""}],"bab":"+1","saves":{"will":{"magicModifier":""}},"spellLikes":[{"prepared":0,"cast":0,"name":"Detect Evil","school":"Divination","subschool":""},{"prepared":0,"cast":0,"name":"smite evil","notes":"Once per day, a paladin can call out to the powers of good to aid her in her struggle against evil. As a swift action, the paladin chooses one target within sight to smite. If this target is evil, the paladin adds her Cha bonus (if any) to her attack rolls and adds her paladin level to all damage rolls made against the target of her smite. If the target of smite evil is an outsider with the evil subtype, an evil-aligned dragon, or an undead creature, the bonus to damage on the first successful attack increases to 2 points of damage per level the paladin possesses. Regardless of the target, smite evil attacks automatically bypass any DR the creature might possess.\nIn addition, while smite evil is in effect, the paladin gains a deflection bonus equal to her Charisma modifier (if any) to her AC against attacks made by the target of the smite. If the paladin targets a creature that is not evil, the smite is wasted with no effect.\nThe smite evil effect remains until the target of the smite is dead or the next time the paladin rests and regains her uses of this ability. At 4th level, and at every three levels thereafter, the paladin may smite evil one additional time per day, as indicated on Table: Paladin, to a maximum of seven times per day at 19th level."}],"deity":"irori","homeland":"new jersey"}
zombieFox commented 5 years ago

I understand now. With that error and the file you shared it looks like data is from another application.

Sorry but awesomeSheet will not import files/JSON from other applications. You have to make the character in awesomeSheet and export and import from the app itself.