-
Notifications
You must be signed in to change notification settings - Fork 17
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
ov50 - Data Download is broken for Windows. #65
Comments
The data is now added as a git submodule and all you need is to |
Thanks Pavel and Sean. Sorry, I see Sean has been working 4 hours ago.
I can close this now if this is correct, I think. |
Make appveyor pull the git submodule because the packaged installers
for windows should contain the data as before.
…On 4/6/19, Rick Gleason ***@***.***> wrote:
Thanks Pavel and Sean. Sorry, I see Sean has been working 4 hours ago.
Is this the right order?
- git checkout master
- git merge upstream master
- git submodule update --init
- then
- cd build
- cmake -T v141_xp ..
- cmake --build . --config release
- cpack
I can close this now if this is correct, I think.
With Sean's changes to libzip modules will the Windows automatic downloads
work now or should I always include the submodule for windows?
IE: I should change the apppeveyor file accordingly.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#65 (comment)
|
Sean, I tried your recent appveyor build and renamed the data directory data.old1 in plugin\climatology\ in program files (x86) folder. It works beautifully now without including the 6mb of data! You've fixed the lib using 'static' I guess. What do you think about how I should package the windows plugin? Thanks so much Pavel and Sean! |
You should include the data so that the user can take everything to the boat where there is no internet connection available. |
please include the data so there is just one download package.
Having the data download automatically is a nice backup and if you
don't realize how to use git submodules maybe. Unfortunately it
won't work for android because https is not supported by OCPN_Download
file.
…On 4/6/19, Pavel Kalian ***@***.***> wrote:
You should include the data so that the user can take everything to the boat
where there is no internet connection available.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#65 (comment)
|
I will include the data in the plugin. Just out of curiosity, how hard would it be to support https in the OCPN_Download? Should this be added to feature requests for OpenCPN, since it might help Android? |
I found that the command "git submodule update --init can be run from the prompt. C:\Users\Frederick\Documents\GitHub\climatology_pi>git checkout master
I'll try it in the appveyor.yml but not sure if it will work. |
I don't believe git commands will work in appveyor the way I have it set up.
I think this command can be run just once from the command line to download the files into a new git repository and that is all that is needed or required. |
Now trying to checkout a different branch 'ov50' and I get these errors after being told these files will be lost. I think the .svg files should be in a separate directory really, that is not part of the submodule otherwise they will always get in the way this way. C:\Users\Frederick\Documents\GitHub\climatology_pi>git add data/climatology_pi.svg C:\Users\Frederick\Documents\GitHub\climatology_pi>git add data/climatology_pi.svg C:\Users\Frederick\Documents\GitHub\climatology_pi>git add data\climatology.svg |
Alternatively the 3 svg files should be included in the submodule. How do I get them included? |
Also after
So none of the data files show up as being needed to be added. I need some suggestions here about what should be done. |
I'm not really sure about the svg problem. On one case they should be
in the data file, but in the other, the plugin should build and run
without them i think the icon appears as a puzzle piece. Why it
doesn't fall back to the non-svg I didn't find out yet.
If you have submodule error above, it is because you are in the wrong
directory most likely.
…On 4/7/19, Rick Gleason ***@***.***> wrote:
Also after
git submodule update --init
```
C:\Users\Frederick\Documents\GitHub\climatology_pi>git status
On branch master
Your branch is up to date with 'upstream/master'.
nothing to commit, working tree clean
```
So none of the data files show up as being needed to be added.
plus the .svg files can't be added either as they are not a part of the
submodule.
I need some suggestions here about what should be done.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#65 (comment)
|
Also to be clear, OCPN_Download works for https on all other
platforms, just not android.
…On 4/7/19, sean d'epagnier ***@***.***> wrote:
I'm not really sure about the svg problem. On one case they should be
in the data file, but in the other, the plugin should build and run
without them i think the icon appears as a puzzle piece. Why it
doesn't fall back to the non-svg I didn't find out yet.
If you have submodule error above, it is because you are in the wrong
directory most likely.
On 4/7/19, Rick Gleason ***@***.***> wrote:
> Also after
> git submodule update --init
>
> ```
> C:\Users\Frederick\Documents\GitHub\climatology_pi>git status
> On branch master
> Your branch is up to date with 'upstream/master'.
> nothing to commit, working tree clean
> ```
>
> So none of the data files show up as being needed to be added.
> plus the .svg files can't be added either as they are not a part of the
> submodule.
>
> I need some suggestions here about what should be done.
>
> --
> You are receiving this because you commented.
> Reply to this email directly or view it on GitHub:
> #65 (comment)
|
Don't believe I was in the wrong directory.. please explain further.
After Pavel's PR for #67 and your Merge It is working nicely. uninstalled climatology checked data and it was gone, reinstalled using the appveyor version. Why is --recursive needed in appveyor when it is not needed in a command prompt window?` git submodule update --initialize --recursive ` BTW I still get this problem! See below.
|
With addition of this command to appveyor
(Note that I have not created a git hub repository "climatology _pi_data" as Sean has done.) |
I don't think you need to fork the data repository unless you need to
change something in it. Your fork of climatology_pi shouldn't have
it either. The data is only in the data repository, and once cloned
should have the data files in the data directory, but they are not
part of climatology_pi
…On 4/8/19, Rick Gleason ***@***.***> wrote:
With addition of this command to appveyor
is there any need for my fork to have the submodule data stored in the
"data" directory?
(Note that I have not created a git hub repository "climatology _pi_data"
as Sean has done.)
--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#65 (comment)
|
Thanks Sean. |
See this previous Issue #52
Currently we are including the binary data files in the plugin for Windows. Slow internet and intermittant internet connections do not work and Sean has trouble maintaining the github account this way.
Therefore we need to get the Windows Binary Data Download of 6mb working properly.
This has been an ongoing issue.
The text was updated successfully, but these errors were encountered: