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

Issue with loading Mockito #61

Closed
mikeroosa opened this issue Apr 10, 2018 · 11 comments
Closed

Issue with loading Mockito #61

mikeroosa opened this issue Apr 10, 2018 · 11 comments

Comments

@mikeroosa
Copy link

When I first clone the repo and open it, I'm seeing this error:
[inKino] flutter packages get
Running "flutter packages get" in inKino...
Incompatible version constraints on mockito:

  • flutter_test 0.0.0 depends on version 2.2.3
  • inkino depends on version 3.0.0-alpha+3
    pub get failed (1)
    exit code 1
@roughike
Copy link
Owner

Are you using the latest Flutter version, which was released yesterday? Could you run flutter upgrade and see if it works for you after that?

@mikeroosa
Copy link
Author

I did upgrade yesterday. Hmm, flutter upgrade gives this message so I'll try to resolve that:
Upgrading Flutter from d:\flutter...
fatal: unable to access 'https://github.com/flutter/flutter.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

@roughike
Copy link
Owner

I have a potential fix coming up here: #62

It'll be merged to develop after the Travis build finishes, could you test if it works for you after that?

@mikeroosa
Copy link
Author

Sure

@roughike
Copy link
Owner

@mikeroosa It's now done.

@mikeroosa
Copy link
Author

Ok, will try it now.

@mikeroosa
Copy link
Author

flutter upgrade is taking a long time to run. I must have had something out of date. will update when it's done.

@roughike
Copy link
Owner

roughike commented Apr 10, 2018

No problem, take your time! The PR I merged should make the project to be able to build on earlier Flutter versions as well.

@mikeroosa
Copy link
Author

ok, the app is loading now. I updated tmdb_config.dart with an api key but I'm getting an error on all pages that says Error loading events.. I'll try to debug.

@mikeroosa
Copy link
Author

in http_utils.dart in the getRequest, this is the error:
I/flutter (11316): Exception: SocketException: Failed host lookup: 'www.finnkino.fi' (OS Error: No address associated with hostname, errno = 7)

@mikeroosa
Copy link
Author

Looks like my VPN was blocking the url. All good now.

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