Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The link to the Marvel image not found is also not working #6

Open
rfalanga opened this issue Aug 19, 2017 · 1 comment
Open

The link to the Marvel image not found is also not working #6

rfalanga opened this issue Aug 19, 2017 · 1 comment

Comments

@rfalanga
Copy link

I'm going through the Windows 10 Development for Absolute Beginners course. Really loving it! 

I'm nearing completion of the project, now going through Bob Tabor's HeroExplorer app. I'm at the point where he's processing things in the MarvelFacade class, handling getting characters and making sure that the path exists and that the path isn't equal to this:

http://1.annihil.us/u/prod/marvel/i/mg/b/40/image_not_available

The only problem is that URL doesn't go anywhere now, either. I brought up 2 browsers and just testing seeing it, but got HTTP 404 errors when I tried. Does anyone know where the correct path is to image_not_available?

@jhhouston
Copy link

Did you ever solve this issue. I am having issues with: (It doesn't like the while loop) getting

Error: System.ArgumentOutOfRangeException: 'No mapping for the Unicode character exists in the target multi-byte code page. (Exception from HRESULT: 0x80070459)'

private async void Page_Loaded(object sender, RoutedEventArgs e)
{
//load and show Progress ring
MyProgressRing.IsActive = true;
MyProgressRing.Visibility = Visibility.Visible;

        while (MarvelCharacters.Count < 10)
        {
            //Async might take a lot of calls and take a while
            Task t = MarvelFacade.PopulateMarvelCharactersAsync(MarvelCharacters);

            //set a task to make sure the while loop does not run again until the task is completed
            await t;
        }

        MyProgressRing.IsActive = false;
        MyProgressRing.Visibility = Visibility.Collapsed;
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants