kuhnertdm / wow-addon-updater

Python script for mass-updating World of Warcraft addons
GNU General Public License v3.0
116 stars 28 forks source link

Only getting a traceback when opening program #34

Closed Tessonic closed 5 years ago

Tessonic commented 6 years ago

I'm not very techie so I'm not sure what's going on but starting today the program no longer works for me, it only opens, displays some code and then immediately closes again. I managed to grab a screenshot of the code, this is it: https://i.imgur.com/71p34pD.png

tcarmona commented 6 years ago

Hum, it seems that there is a duplicated on the installed.txt file. Can you please post it here? Also, try to rename it to something else, maybe it will fix itself

Tessonic commented 6 years ago

You're right, there is a duplicate, the culprit seems to be Tomtom. This is what it says in the installed.txt file:

https = //wow.curseforge.com/projects/tomtom = v80001-1.0.1 https://wow.curseforge.com/projects/tomtom = v80001-1.0.1

I deleted the top one and then it worked again, but as soon as it was done with Tomtom it displayed the same code as earlier and closed again, without doing the addons further down the list in the in.txt file. After that the installed.txt file displayed both lines again so I deleted the bottom one and tried again; same result.

The only difference that tomtom had in the in.txt file is that the url was https://wow.curseforge.com/projects/tomtom, while the others follow the format /wow/addons/[name]. I changed the Tomtom url to follow the same old format and then the program worked, but still stopped working as soon as it got to Tomtom. So I completely removed it from the in.txt file and then the program worked again as before I added it.

For now, I'll just keep it like this, and update Tomtom manually once in a while, but if you could find out what the issue is and maybe even fix it that'd be great!

This is the installed.txt file from before I removed the bottom two lines. Rematch is a bit weird as well, but it doesn't seem to be causing any issues.

[Installed Versions] ace3 = Release-r1182 advancedinterfaceoptions = 1.2.4 angry-assignments = v1.10.0 angry-world-quests = v0.18.3 archy = 7.3.2.1 auctionator = Auctionator 5.0.4 autolagtolerance = 8 bad-boy = v8.0.7 badboy_ccleaner = v8.0.0 bartender4 = 4.8.1 battle_pet_breedid = v1.12.0 project-2590 = 3.5.0 candy-buckets = v8.0.0.180630 can-i-mog-it = 8.0.0v1.10 collectionshop = v3.03 collect_me = v2.10 cquestcounter = CQuestCounter v1.4 deadly-boss-mods = 8.0.1 dbm-bc = Vanilla and BC Mods r653 deadly-boss-mods-mop = DBM-MoP-r123 deadly-boss-mods-wotlk = WotLK Mods r280 deadly-boss-mods-wod = DBM-WoD-r36 dejacharacterstats = 800r106 elephant = 3.7.7 exorsus-raid-tools = Exorsus Raid Tools v.3930 handynotes = v1.5.2 handynotes_argus = 0.26.6 handynotes_legiontreasures = v14 handynotes_dungeonlocations = 1.35 handynotes-suramartelemancy = v6.1 improved-loot-frame = 3.7.0 kuinameplates = beta-swimming-whale-hidden-boar master-plan = 0.113 minimap-button-frame = 3.1.10h mogit = 3.8.8 molinari = 80000.58-Release move-anything = 17.0.0 mythicplustimer = MythicPlusTimer 2.0 npcscan = 8.0.1.2 nugie-combo-bar = 8.0.1 omni-cc = 8.0.1 paragon-reputation = 1.19 pawn = 2.2.22 pettracker = 8.0.4 premade-group-finder = v5.7 postal = v3.6.0 rclootcouncil = 2.8.3-Release realm-hop-assist = r04 rematch = html>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n Not found - Authors CurseForge \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n\r\n \r\n\r\n \r\n\r\n <script src=\'https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit\' async defer>\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n

This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.

\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n
\r\n
zurohki commented 6 years ago

Oh, for... Are we still spamming error HTML into the installed versions file? I really thought page.raise_for_status would eliminate that.

Can we get your in.txt to see what URLs you're feeding into it?

Tessonic commented 6 years ago

Sure thing! This is it:

https://www.curseforge.com/wow/addons/ace3 https://www.curseforge.com/wow/addons/advancedinterfaceoptions https://www.curseforge.com/wow/addons/angry-assignments https://www.curseforge.com/wow/addons/archy https://www.curseforge.com/wow/addons/auctionator https://www.curseforge.com/wow/addons/bad-boy https://www.curseforge.com/wow/addons/badboy_ccleaner https://www.curseforge.com/wow/addons/bartender4 https://www.curseforge.com/wow/addons/battle_pet_breedid https://www.curseforge.com/wow/addons/project-2590 https://www.curseforge.com/wow/addons/candy-buckets https://www.curseforge.com/wow/addons/can-i-mog-it https://www.curseforge.com/wow/addons/collectionshop https://www.curseforge.com/wow/addons/collect_me https://www.curseforge.com/wow/addons/cquestcounter https://www.curseforge.com/wow/addons/deadly-boss-mods https://www.curseforge.com/wow/addons/dbm-bc https://www.curseforge.com/wow/addons/deadly-boss-mods-mop https://www.curseforge.com/wow/addons/deadly-boss-mods-wotlk https://www.curseforge.com/wow/addons/deadly-boss-mods-wod https://www.curseforge.com/wow/addons/dejacharacterstats https://www.curseforge.com/wow/addons/elephant https://www.curseforge.com/wow/addons/exorsus-raid-tools https://www.curseforge.com/wow/addons/garrison-mission-manager https://www.curseforge.com/wow/addons/handynotes https://www.curseforge.com/wow/addons/handynotes_argus https://www.curseforge.com/wow/addons/handynotes_legiontreasures https://www.curseforge.com/wow/addons/handynotes_dungeonlocations https://www.curseforge.com/wow/addons/handynotes-suramartelemancy https://www.curseforge.com/wow/addons/improved-loot-frame https://www.curseforge.com/wow/addons/kuinameplates https://www.curseforge.com/wow/addons/master-plan https://www.curseforge.com/wow/addons/minimap-button-frame https://www.curseforge.com/wow/addons/mogit https://www.curseforge.com/wow/addons/molinari https://www.curseforge.com/wow/addons/move-anything https://www.curseforge.com/wow/addons/mythicplustimer https://www.curseforge.com/wow/addons/npcscan https://www.curseforge.com/wow/addons/nugie-combo-bar https://www.curseforge.com/wow/addons/omni-cc https://www.curseforge.com/wow/addons/paragon-reputation https://www.curseforge.com/wow/addons/pawn https://www.curseforge.com/wow/addons/pettracker https://www.curseforge.com/wow/addons/premade-group-finder https://www.curseforge.com/wow/addons/postal https://www.curseforge.com/wow/addons/rclootcouncil https://www.curseforge.com/wow/addons/realm-hop-assist https://www.curseforge.com/wow/addons/saved_instances https://www.curseforge.com/wow/addons/sell-grey https://www.curseforge.com/wow/addons/sexymap https://www.curseforge.com/wow/addons/simulationcraft https://www.curseforge.com/wow/addons/skada https://www.curseforge.com/wow/addons/stratafix https://www.curseforge.com/wow/addons/titan-panel https://www.curseforge.com/wow/addons/weakauras-2 https://www.curseforge.com/wow/addons/world-map-zoom https://www.curseforge.com/wow/addons/world-quest-tracker

grrttedwards commented 6 years ago

Looks like #36 will help the symptoms of this.

kuhnertdm commented 6 years ago

Could you update to the newest version of the app and let me know if you're still having this issue?

Also, for future reference, you can go into config.ini and set "Close Automatically When Completed" to False to keep the program open when it finishes. If that doesn't work, then you can run it from inside a terminal session.

Tessonic commented 6 years ago

Updated, now I'm getting this when it gets to Tomtom:

Invalid addon page. Installing/updating addon: https://wow.curseforge.com/wow/addons/tomtom to version: Not Available

Invalid addon page. Failed to download or extract zip file for addon. Skipping...

And then it continues with the list of addons. So at least it's no longer blocking the rest of the addons from being updated :)