Giter Club home page Giter Club logo

Comments (35)

FeezyHendrix avatar FeezyHendrix commented on May 23, 2024 1

The key doesn't exist in the configuration file

from insta-mass-account-creator.

FeezyHendrix avatar FeezyHendrix commented on May 23, 2024

make sure you are installing on python3 pip and not python 2

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

Alright thanks, i'll check for that

from insta-mass-account-creator.

tobeyond avatar tobeyond commented on May 23, 2024

I'm having the same issue with botcore.py!

python botcore.py
Traceback (most recent call last):
  File "botcore.py", line 12, in <module>
    from modules.storeusernametofirebase import storeinfirebase
  File "C:\...\Insta-mass-account-creator-master\modules\storeusernametofirebase.py", line 1, in <module>
    from firebase import firebase
ImportError: cannot import name 'firebase' from 'firebase' (c:\...\insta-mass-account-creator-master\src\python-firebase\firebase\__init__.py)

I only have python 3.7 installed.

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

Yes I have made sure it is python3 and im using 3.7 rn, sadly still same error. I tried it with 3.6 to get asynco to work too but that's still a tad wonky

from insta-mass-account-creator.

sarahamaz8 avatar sarahamaz8 commented on May 23, 2024

same error:

Traceback (most recent call last):
File "botcore.py", line 12, in
from modules.storeusernametofirebase import storeinfirebase
File "C:\Users.......\Insta-mass-account-creator\modules\storeusernametofirebase.py", line 1, in
from firebase import firebase
ModuleNotFoundError: No module named 'firebase'

from insta-mass-account-creator.

tobeyond avatar tobeyond commented on May 23, 2024

Are you sure you wrote it for python 3 not python 2? urlparse changed to urllib.parse and you used the former one.
You might have mixed the entire library or used the old terms.

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

as a refresher, you use the command either pip3 or python3 for python 3 right? if not, what is the proper notation for python 3 and not 2

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

When i used the command python3 instad, async got an invalid syntax... time to go fix that first

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

I upgraded pip to pip3 and now firebase works fine, but it seems like async does not work still. People online are telling me to rename async to asynchronous but now asynchronous is not a valid command...

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

I'm on python 3.7 and people are saying that async is a reserved word too

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

But im still in the process of changing every line of code that says "async" into "asynchronous" so theres that

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

Async and await are now new reserved words. When I try to use python 3.6, firebase no longer works and when I use python 3.7 by default, python cannot find a module named "firebase.asynchronous"... I'm rather stuck here

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

People are telling me to go back to python 3.6 for now. Ill try that

from insta-mass-account-creator.

FeezyHendrix avatar FeezyHendrix commented on May 23, 2024

Hi, we are removing firebase as a means of storing the usernames. and there's a new update available, I would much appreciate for you to test. here https://github.com/FeezyHendrix/Insta-mass-account-creator/tree/update

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

Thank you very much. Ill test it as soon as i get my shit done lol

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

After downgrading to python 3.6.5_1, async should no longer pose a problem. After running everything, I ran into a problem:
Traceback (most recent call last):
File "/Users/admin/Desktop/InstaBotsUpdate2.0/Insta-mass-account-creator-update/Version 2/create.py", line 1, in
from modules import botcore
File "/Users/admin/Desktop/InstaBotsUpdate2.0/Insta-mass-account-creator-update/Version 2/modules/botcore.py", line 3, in
from generateaccountinformation import genName, username, genEmail
ModuleNotFoundError: No module named 'generateaccountinformation'

Is the module hiding behind another file which I may need to rename or somethin like that?

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

okay easy fix, i simply added a "." in front of generateaccountinformation and the other one. I'll keep trying other things to get this version to work

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

(Version 2)after changing asynchronous back to async in firebase.py somewhere in frameworks, ive encountered this:
File "/Users/admin/Desktop/InstaBotsUpdate2.0/Insta-mass-account-creator-update/Version 2/modules/botcore.py", line 87, in runBot
for i in range(Config['amount_of_run']):
TypeError: 'type' object is not subscriptable

Ive changed that code into:"for i in range(Config('amount_of_run')):" and now that leads to this:
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/config.py", line 277, in defaultStreamOpener
return ConfigInputStream(file(name, 'rb'))
NameError: name 'file' is not defined

Then I replaced the word "file" with the command "open" and now this:
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/config.py", line 277, in defaultStreamOpener
return ConfigInputStream(open(name, 'rb'))
FileNotFoundError: [Errno 2] No such file or directory: 'amount_of_run'

That's about all imma work on today, I tried the URL for https://instausergenerator.firebaseio.com/ and it doesn't work for me, maybe that's what it's supposed to do idk but im done gnite

from insta-mass-account-creator.

FeezyHendrix avatar FeezyHendrix commented on May 23, 2024

We aren't yet working on the storing part yet. Thanks for your feedback. We are thinking of a simple txt file to avoid the issues of firebase installation.

from insta-mass-account-creator.

FeezyHendrix avatar FeezyHendrix commented on May 23, 2024

Can you make a simple pull request of all your changes

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

Sure, I'll list my changes in the repo as well, right after class lol

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

That aside I have probably one more issue with firebase, how do i use a key?

firebase = firebase.FirebaseApplication(str(Config['instabots-e7e17.firebaseapp.com']),AIzaSyCWv3Exfp0ogdZS1B-e9MbHTcZNVuAV0uo)
KeyError: 'instabots-e7e17.firebaseapp.com'

I put the api key in place of "None". How do I do this now

from insta-mass-account-creator.

FeezyHendrix avatar FeezyHendrix commented on May 23, 2024

Did you change the settings in your rules of the databasr

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

Cloud firestore doesn't let me change the rules but it is changed in realtime database

from insta-mass-account-creator.

FeezyHendrix avatar FeezyHendrix commented on May 23, 2024

The project was setup to use real-time database not cloud firestore

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

Aight ill keep lookin

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

Lol turns out, again, it was a "me" problem. When I ran tests for firebase, i could not import FirebaseAuthentication. That may be the issue:
from firebase import (FirebaseAuthentication, FirebaseApplication,
ImportError: cannot import name 'FirebaseAuthentication'

from insta-mass-account-creator.

tobeyond avatar tobeyond commented on May 23, 2024

I got:

python botcore.py Traceback (most recent call last): File "botcore.py", line 2, in <module> from .config import Config ModuleNotFoundError: No module named '__main__.config'; '__main__' is not a package

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

One possibility could be that there is no "init.py" in your directory. Check that first or maybe delete the "." because everybody's special and we all work a little differently lol

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

I didn't delete the "." and it works for me as an fyi

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

Okay this is probably the final thing:
firebase = firebase.FirebaseApplication(str(Config['https://instabots-e7e17.firebaseapp.com']),None)
KeyError: 'https://instabots-e7e17.firebaseapp.com'

How to i fix the KeyError?

from insta-mass-account-creator.

FeezyHendrix avatar FeezyHendrix commented on May 23, 2024

Check out python dictionaries. To fully understand what's going on

from insta-mass-account-creator.

NeverLucky2 avatar NeverLucky2 commented on May 23, 2024

I apologize for the noobish questions (since the main reason I wanna do this is to learn more python) but i've been looking all day and still have no idea where to put the key. My teacher just went over dictionaries in python about a week ago so i'm still new to dictionaries...
here's the error now:
firebase = firebase.FirebaseApplication(str(Config['instabots-e7e17.firebaseapp.com']),AIzaSyCWv3Exfp0ogdZS1B-e9MbHTcZNVuAV0uo)
KeyError: 'instabots-e7e17.firebaseapp.com'

I put the key in place of "None"

from insta-mass-account-creator.

FeezyHendrix avatar FeezyHendrix commented on May 23, 2024

Add to the config dictionary ['firebase_url' : #your_firebase_url]

from insta-mass-account-creator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.