Is a Firebase (JSON) database on Kivy possible?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















Summary:



I'm using python-firebase to work with an online database. My app integrated flawlessly with a Firebase database on Pycharm, but when I opened the app on my phone, it crashed.



Error:



The logcat error was: ImportError: No module named _multiprocessing



Attempted:



I used both requirements = firebase (build failed) and requirements = python-firebase (build successful but crashed on opening, which is where the logcat error came from).



I know it's a problem with Firebase because when I removed from firebase import firebase and recompiled the app, it worked.



Any recommendation?



If this specific package of Firebase doesn't work with Kivy, is there a Kivy package/library that works with online JSON databases?



Sample of python-firebase:



from firebase import firebase

fb = firebase.FirebaseApplication('https://your_storage.firebaseio.com', None)
result = fb.get('/users', '1')
print result

{'1': 'John Doe'}









share|improve this question

























  • Did you include the libraries in the build.spec?

    – el3ien
    Jan 3 at 2:46











  • @el3ien Yes, sorry I'll add that part! I used both requirements = firebase and requirements = python-firebase. Would this be the correct requirement?

    – Petar Luketina
    Jan 3 at 3:27




















0















Summary:



I'm using python-firebase to work with an online database. My app integrated flawlessly with a Firebase database on Pycharm, but when I opened the app on my phone, it crashed.



Error:



The logcat error was: ImportError: No module named _multiprocessing



Attempted:



I used both requirements = firebase (build failed) and requirements = python-firebase (build successful but crashed on opening, which is where the logcat error came from).



I know it's a problem with Firebase because when I removed from firebase import firebase and recompiled the app, it worked.



Any recommendation?



If this specific package of Firebase doesn't work with Kivy, is there a Kivy package/library that works with online JSON databases?



Sample of python-firebase:



from firebase import firebase

fb = firebase.FirebaseApplication('https://your_storage.firebaseio.com', None)
result = fb.get('/users', '1')
print result

{'1': 'John Doe'}









share|improve this question

























  • Did you include the libraries in the build.spec?

    – el3ien
    Jan 3 at 2:46











  • @el3ien Yes, sorry I'll add that part! I used both requirements = firebase and requirements = python-firebase. Would this be the correct requirement?

    – Petar Luketina
    Jan 3 at 3:27
















0












0








0








Summary:



I'm using python-firebase to work with an online database. My app integrated flawlessly with a Firebase database on Pycharm, but when I opened the app on my phone, it crashed.



Error:



The logcat error was: ImportError: No module named _multiprocessing



Attempted:



I used both requirements = firebase (build failed) and requirements = python-firebase (build successful but crashed on opening, which is where the logcat error came from).



I know it's a problem with Firebase because when I removed from firebase import firebase and recompiled the app, it worked.



Any recommendation?



If this specific package of Firebase doesn't work with Kivy, is there a Kivy package/library that works with online JSON databases?



Sample of python-firebase:



from firebase import firebase

fb = firebase.FirebaseApplication('https://your_storage.firebaseio.com', None)
result = fb.get('/users', '1')
print result

{'1': 'John Doe'}









share|improve this question
















Summary:



I'm using python-firebase to work with an online database. My app integrated flawlessly with a Firebase database on Pycharm, but when I opened the app on my phone, it crashed.



Error:



The logcat error was: ImportError: No module named _multiprocessing



Attempted:



I used both requirements = firebase (build failed) and requirements = python-firebase (build successful but crashed on opening, which is where the logcat error came from).



I know it's a problem with Firebase because when I removed from firebase import firebase and recompiled the app, it worked.



Any recommendation?



If this specific package of Firebase doesn't work with Kivy, is there a Kivy package/library that works with online JSON databases?



Sample of python-firebase:



from firebase import firebase

fb = firebase.FirebaseApplication('https://your_storage.firebaseio.com', None)
result = fb.get('/users', '1')
print result

{'1': 'John Doe'}






python firebase kivy






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 4 at 14:44







Petar Luketina

















asked Jan 3 at 2:32









Petar LuketinaPetar Luketina

7310




7310













  • Did you include the libraries in the build.spec?

    – el3ien
    Jan 3 at 2:46











  • @el3ien Yes, sorry I'll add that part! I used both requirements = firebase and requirements = python-firebase. Would this be the correct requirement?

    – Petar Luketina
    Jan 3 at 3:27





















  • Did you include the libraries in the build.spec?

    – el3ien
    Jan 3 at 2:46











  • @el3ien Yes, sorry I'll add that part! I used both requirements = firebase and requirements = python-firebase. Would this be the correct requirement?

    – Petar Luketina
    Jan 3 at 3:27



















Did you include the libraries in the build.spec?

– el3ien
Jan 3 at 2:46





Did you include the libraries in the build.spec?

– el3ien
Jan 3 at 2:46













@el3ien Yes, sorry I'll add that part! I used both requirements = firebase and requirements = python-firebase. Would this be the correct requirement?

– Petar Luketina
Jan 3 at 3:27







@el3ien Yes, sorry I'll add that part! I used both requirements = firebase and requirements = python-firebase. Would this be the correct requirement?

– Petar Luketina
Jan 3 at 3:27














1 Answer
1






active

oldest

votes


















1














I reached out to the creator of the package, and he notified me that they'll look into the issue.



In the meantime, I used requests to access Firebase. I created a tutorial for the the community. Here is the link to the GitHub page: https://github.com/Petar-Luketina/Firebase-Sample . If the code is unclear, there's a link to my YouTube tutorial in the README.md.






share|improve this answer
























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54015602%2fis-a-firebase-json-database-on-kivy-possible%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    I reached out to the creator of the package, and he notified me that they'll look into the issue.



    In the meantime, I used requests to access Firebase. I created a tutorial for the the community. Here is the link to the GitHub page: https://github.com/Petar-Luketina/Firebase-Sample . If the code is unclear, there's a link to my YouTube tutorial in the README.md.






    share|improve this answer




























      1














      I reached out to the creator of the package, and he notified me that they'll look into the issue.



      In the meantime, I used requests to access Firebase. I created a tutorial for the the community. Here is the link to the GitHub page: https://github.com/Petar-Luketina/Firebase-Sample . If the code is unclear, there's a link to my YouTube tutorial in the README.md.






      share|improve this answer


























        1












        1








        1







        I reached out to the creator of the package, and he notified me that they'll look into the issue.



        In the meantime, I used requests to access Firebase. I created a tutorial for the the community. Here is the link to the GitHub page: https://github.com/Petar-Luketina/Firebase-Sample . If the code is unclear, there's a link to my YouTube tutorial in the README.md.






        share|improve this answer













        I reached out to the creator of the package, and he notified me that they'll look into the issue.



        In the meantime, I used requests to access Firebase. I created a tutorial for the the community. Here is the link to the GitHub page: https://github.com/Petar-Luketina/Firebase-Sample . If the code is unclear, there's a link to my YouTube tutorial in the README.md.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 13 at 0:34









        Petar LuketinaPetar Luketina

        7310




        7310
































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54015602%2fis-a-firebase-json-database-on-kivy-possible%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

            SQL update select statement

            WPF add header to Image with URL pettitions [duplicate]