code-pm / CrouchingRancor.ModExtractor

A simple tool to extract mods data from a player's swgoh.gg page
3 stars 7 forks source link

Error #1

Open wiwowowi opened 7 years ago

wiwowowi commented 7 years ago

sin titulo

codepm commented 7 years ago

Strange. Try running this: Invoke-WebRequest "https://swgoh.gg/u/wiwowowi/"

wiwowowi commented 7 years ago

sin titulo

codepm commented 7 years ago

Do you have Powershell 5.1 installed as well? Please try running on that.

On Sun, Nov 12, 2017 at 10:52 AM, wiowowi notifications@github.com wrote:

[image: sin titulo] https://user-images.githubusercontent.com/33597172/32700771-dbdab08c-c7c9-11e7-80c9-a69cba66e96a.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/code-pm/CrouchingRancor.ModExtractor/issues/1#issuecomment-343746524, or mute the thread https://github.com/notifications/unsubscribe-auth/AFAIYPxrbae66l-PRuNsdITgDYhrn-UYks5s1xRLgaJpZM4Qa3FG .

wiwowowi commented 7 years ago

I I have installed version 5.1 and now I have this error

sin titulo

codepm commented 7 years ago

Can you check if MSXML6 is installed? Look for this file:

C:\Windows\System32\msxml6.dll

If not, please try installing MSXML 6.0: https://www.microsoft.com/en-us/download/details.aspx?id=3988

On Sun, Nov 12, 2017 at 11:53 AM, wiowowi notifications@github.com wrote:

I I have installed version 5.1 and now I have this error

[image: sin titulo] https://user-images.githubusercontent.com/33597172/32701244-4f975b62-c7d2-11e7-84ef-99cf00a064f6.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/code-pm/CrouchingRancor.ModExtractor/issues/1#issuecomment-343750652, or mute the thread https://github.com/notifications/unsubscribe-auth/AFAIYGvdtTGM6NeBMm65i3c-vOQOAv-Jks5s1yJ3gaJpZM4Qa3FG .

wiwowowi commented 7 years ago

I already had it installed sin titulo

codepm commented 7 years ago

Try now with: . .\swgoh-mods.ps1 "https://swgoh.gg/u/wiwowowi/" -Verbose

Make sure you grab the latest code from GitHub

wiwowowi commented 7 years ago

sin titulo

codepm commented 7 years ago

Okay, getting closer. I've added in a bit more debugging code.

Please pull the latest code and try again.

wiwowowi commented 7 years ago

sin titulo

codepm commented 6 years ago

Can you run this and send me the "page.html" file that is created? Invoke-WebRequest "https://swgoh.gg/u/wiwowowi/" | Set-Content page.html

wiwowowi commented 6 years ago

sin titulo

mods.zip

codepm commented 6 years ago

Oh good. Yes, I meant the /mods page.

I'm at a loss though. It's exactly the same html I get so the code should work. I'm running out of ideas.

I've made a small tweak on a new code branch. Try running this:

https://github.com/code-pm/CrouchingRancor.ModExtractor/blob/primarymod-parse-debugging/Powershell/swgoh-mods.ps1

wiwowowi commented 6 years ago

sin titulo

codepm commented 6 years ago

Okay, I've added some more logging. Grab the latest update from: https://github.com/code-pm/CrouchingRancor.ModExtractor/blob/primarymod-parse-debugging/Powershell/swgoh-mods.ps1

Thanks for working with me on this!

wiwowowi commented 6 years ago

sin titulo

codepm commented 6 years ago

Once more... grab latest code

https://github.com/code-pm/CrouchingRancor.ModExtractor/blob/primarymod-parse-debugging/Powershell/swgoh-mods.ps1

wiwowowi commented 6 years ago

image

codepm commented 6 years ago

15th time's the charm? Added a bunch more logging to hopefully identify where the issue is occurring.

https://github.com/code-pm/CrouchingRancor.ModExtractor/blob/primarymod-parse-debugging/Powershell/swgoh-mods.ps1

wiwowowi commented 6 years ago

image

codepm commented 6 years ago
  1. Do you have VS Code installed?
  2. Could you try debugging or would you be willing to screenshare/enable me to debug?

I cannot replicate the issue here and this back & forth will just continue I think.

wiwowowi commented 6 years ago

I install VSCode and I can share the screen. Do you have teamviewer 11? Now in Spain it's 19:32, we can check it at 9:30 p.m. Okay? We can communicate via Skype. My user is wiwowowi

codepm commented 6 years ago

That's 3:30pm my time and unfortunately not a good time. No teamviewer. What about zoom?

wiwowowi commented 6 years ago

I´m ready https://zoom.us/j/6811226073

Are you @codepm ?

codepm commented 6 years ago

Now is not a good time. Let's try again tomorrow

wiwowowi commented 6 years ago

hello!!! @codepm

codepm commented 6 years ago

Sorry, "real" work has gotten busy. I probably won't have time to do the screenshare today either. In the mean time... here's an export of your mods I ran. mods.zip

wiwowowi commented 6 years ago

I'm still waiting @codepm

Rhialto74 commented 6 years ago

Is it a language issue? IE, something to do with him using Spanish as his default language on the machine?Different character set?

codepm commented 6 years ago

Possibly. There is now a google sheets solution though so I'm not sweating trying to figure it out. http://www.crouchingrancor.com/import-your-mods/

On Thu, Dec 7, 2017 at 3:03 PM, Harvey Meeker notifications@github.com wrote:

Is it a language issue? IE, something to do with him using Spanish as his default language on the machine?Different character set?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/code-pm/CrouchingRancor.ModExtractor/issues/1#issuecomment-350078855, or mute the thread https://github.com/notifications/unsubscribe-auth/AFAIYHnGxtritNcynswpTk17J93hlhDRks5s-EShgaJpZM4Qa3FG .

Rhialto74 commented 6 years ago

The Google Sheets thing works, but I find this easier to deal with overall.

jbtd commented 6 years ago

Same problem : i tried to put url directly and still get an error : You cannot call a method on a null-valued expression. At /Users/jbtd/Documents/CrouchingRancor.ModExtractor/Powershell/swgoh-mods.ps1:56 char:5 + $rows = $r.ParsedHtml.GetElementsByTagName("div") | ? { $_.classN ...

Any solution?