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

Crash when adding a HTTP repository source and refreshing #7

Open
jaimeMF opened this issue Mar 7, 2023 · 2 comments
Open

Crash when adding a HTTP repository source and refreshing #7

jaimeMF opened this issue Mar 7, 2023 · 2 comments

Comments

@jaimeMF
Copy link
Contributor

jaimeMF commented Mar 7, 2023

With the Android app I have tried to add a HTTP module source and when the application tries to recover the information it crashes. Using the linux project I get a crash in InstallSources::refreshWorks (from bibletimemobile/src/mobile/bookshelfmanager/installsources.cpp). Inside the function InstallMgr::refreshRemoteSource (from sword/src/mgr/installmgr.cpp) it crashes inside InstallMgr::remoteCopy because it calls the method createHTTPTransport, which returns 0 if the library is built without curl, and later it tries to use it. I have tried to download the source for the curl library (version 7.33.0 and 7.34.0), but I got a few compiler errors, and I have not found time to fix them.
Is the Android app built with HTTP support enabled?

@gholmlund
Copy link
Contributor

BibleTime Mobile is not built with curl enabled and there are compiler errors when it is enabled.

The standard repositories all use ftp. Is there a publlic library using http?

@jaimeMF
Copy link
Contributor Author

jaimeMF commented Mar 8, 2023

From https://wiki.crosswire.org/Official_and_Affiliated_Module_Repositories , it can be tested with https://ebible.org/sword/ .
I setup a personal repository for a bible version that I need. I used an http server since it was more straightforward for me. If I find the time I may try to enable it and fix the errors, but since all public repositories seem to be available as ftp it may be easier if I just try to setup a ftp server instead.

By the way, thank you for adding the availability to manage the repositories.

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

No branches or pull requests

2 participants