simulationcraft / simc

Simulationcraft engine/GUI
GNU General Public License v3.0
1.4k stars 693 forks source link

830-01 can't import charactor #5032

Closed chaociao closed 4 years ago

chaociao commented 4 years ago

Describe the bug

Unable to download JSON from 'https://eu.api.blizzard.com/profile/wow/character/onyxia/endlessnight?namespace=profile-eu&locale=en_GB'.

Expected behavior

A clear and concise description of what you expected to happen.

To Reproduce

Please include any steps necessary to recreate the problem, or include logs/data to show what is occurring in game if there is an issue with how something is modeled.

Additional information

jesta777 commented 4 years ago

I have the same issue...

Profile will be downloaded into a new tab.

#

Clicking Simulate will create a simc_gui.simc profile for review.

Unable to generate profile from:

Unable to download JSON from 'https://eu.api.blizzard.com/profile/wow/character/argent-dawn/torbhan?namespace=profile-eu&locale=en_GB'.

Simulationcraft is not crashing, just returns this error and does not attmept to go any further. (simc_gui.simc contains data from a previous attempt to sim a different character by pasting data from the simc addon. So has not been updated for the attempted import using Simulationcraft).

guinness57 commented 4 years ago

same for me, for eu realm

Unable to download JSON from 'https://eu.api.blizzard.com/profile/wow/character/marecage-de-zangar/agamainon?namespace=profile-eu&locale=en_GB'.

copying armory and clicking import button link does nothing https://worldofwarcraft.com/en-gb/character/eu/archimonde/efeldur

esteinborn commented 4 years ago

same for me:

# Unable to generate profile from: 

# Unable to download JSON from 'https://us.api.blizzard.com/profile/wow/character/wildhammer/drpimento?namespace=profile-us&locale=en_US'.
jesta777 commented 4 years ago

Any news on this? I have tried periodically over the last 40 days or so. Both using /simc addon and importing into Simulationcraft app... same result

navv1234 commented 4 years ago

Character import (like in this ticket) cannot fail with /simc addon output. I have not been able to reproduce the character download issues here with any client that I have tried, except the "nonetwork" versions, where armory imports (including item imports) are supposed to fail.

jesta777 commented 4 years ago

My apologies. I have just retried using the /simc addon. It produces data that can be copied and pasted into the Import/Simc Addon tab of the app. This then sims successfully. (Which it had n't been doing... failure when trying to access and item). So that is good and a way to sim my character. (I will try other charatcers after this post. However I also tried to import the same character directly inot the app and I still received tha error:

Unable to generate profile from:

Unable to download JSON from 'https://eu.api.blizzard.com/profile/wow/character/argent-dawn/torbhan?namespace=profile-eu&locale=en_GB'.

Thanks for replying... I will post result of other charatcers later.

jesta777 commented 4 years ago

Just tried a different character on same realm. /simc addon produced data, copied and pasted to import/addon tab in app. Imported successfully. Clicking Simulate button produces an error:

SimulationCraft encountered an error!

Simulation runtime error: BCP API: Player 'Zelrys' unable to download item id '65996' at slot waist. Player Zelrys unable to download item id '65996' from wowhead at slot waist.Initializing: Actor 'Zelrys': Item 'inactive' Slot 'waist': Cannot initialize data

If you think this is a bug, please open a ticket, copying the detailed text below. It contains all the input options of the last simulation and helps us reproduce the issue.

Details in following file: SimulationCraft encountered an error 2020.03.10.docx

jesta777 commented 4 years ago

Direct import of above character into app still produces error:

Profile will be downloaded into a new tab.

#

Clicking Simulate will create a simc_gui.simc profile for review.

Unable to generate profile from:

Unable to download JSON from 'https://eu.api.blizzard.com/profile/wow/character/argent-dawn/zelrys?namespace=profile-eu&locale=en_GB'.

navv1234 commented 4 years ago

It really feels like you are running the "nonetwork" version of simc that intentionally disables all network-related code from the binary.

jesta777 commented 4 years ago

Ok, how do i check to ensure I am running the correct version? (But the initial successful sim of first character implies it can get to items?)

Fyi, I have tried (addon import then simulate), three more characters on same realm, they all fail trying to get the waist item... with different waist item numbers)

navv1234 commented 4 years ago

I don't think we tag the binary at the moment in any way.

When you use the GUI, you can go to Options -> Globals -> "Generate Debug" and put it to "Gory Details", then click simulate! it'll spit a bunch of nonsense to the log tab, zip that up and attach it here.

Remember to turn off "Generate Debug" afterwards.

jesta777 commented 4 years ago

Gory details 2020.03.10.txt

Sorry, zipped info, then dropped standard txt file instead of zip file... gonna get some coffee, maybe it will wake me up :(

navv1234 commented 4 years ago

There should be heaps of it, not just what you have there. Did you copy everything from the log window or just the "first page"?

jesta777 commented 4 years ago

Log tab ends with the 'fluffy pillow' stuff... ?

navv1234 commented 4 years ago

The text cuts out in that file in such a way that does not really make sense to me. There should be pages and pages of text if you scroll down the contents of the log tab textbox.

jesta777 commented 4 years ago

here is word file with screen shot of the log tab. You can see scroll bar position at bottom...

log tab 2020.03.10.docx

jesta777 commented 4 years ago

just looked and can't find E:\Simulationcraft(x64)\log.txt on my pc. I assume that is where the gory details output should go?

navv1234 commented 4 years ago

Yeah I managed to finally reproduce by building a GUI version of the "nonetwork" build. You are running a simulationcraft version that does not allow downloading of any kind from the network.

I'd recommend using one of the nightly releases found from http://downloads.simulationcraft.org/?C=M;O=D

You'll need 7-Zip to unpack the release into the Simulationcraft installation directory.

In the mean time, I'll see about doing something slightly more useful for error messaging when the nonetwork build is used.

jesta777 commented 4 years ago

ok, thanks for your help

Edit: Can confirm that replacing my install with simc-830-02-win64-e9fb52843f.7z from the address supplied in navv1234's previous post has solved the problem. Thanks for your time and help navv1234.

esteinborn commented 4 years ago

Can confirm that nonetwork was the version I downloaded which was causing the issue. Re-downloading the latest live version works great.

Thanks for the help!

gillespie-stephen commented 4 years ago

I was having this issue and tried to reinstall using the 64 bit windows installer on the downloads page for 8.3.0 R1, but continued to have the same problem. After downloading the 7z archive and extracting directly it works.

Is it possible the installer was built using the nonetwork version?

navv1234 commented 4 years ago

Maybe I should have checked that first. Yeah. It's built with nonetworking. I'll rebuild 830-01 and re-upload it.

navv1234 commented 4 years ago

New version of the official release setup file is now uploaded. If you want to use it instead of the nightly builds, it should now properly work with armory imports.

scamille commented 4 years ago

Closing this since this has been resolved with the new release, or even better by using nightly builds.

jesta777 commented 4 years ago

No problem. My problem.was solves.by using the -02 release. Thanks for your time and efforts guys.

Sent from my iPhone

On 15 Sep 2020, at 21:11, Serge Camille notifications@github.com wrote:

 Closing this since this has been resolved with the new release, or even better by using nightly builds.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.