Epicalable / JARVIS

Jarvis is a simple Chatbot with a GUI capable of chatting and retrieving information and daily news from the internet for it's user using python.
https://epicalable.github.io/epicalable.html
GNU Affero General Public License v3.0
71 stars 18 forks source link

Adding Ability To Navigate New Directory #11

Open MahaMohan opened 1 year ago

MahaMohan commented 1 year ago

Hi all, We all have that one programs which once downloaded have problems on our system. I have noticed something and it's thanks to my new computer. Once I have downloaded and transferred Jarvis codebase to my computer the program has difficulty navigating and locating files.

To counter this I have contacted R&D department and they will help to research on possible workarounds and solutions. @SimonRogers3 will help to spearhead this issue and will keep us updated regarding his findings.

Once the solution has been found I will assist in implementing it into the main code and soon spread to the larger codebase.

Thank you, MahaMohan

EpicRD commented 1 year ago

Good morning all,

I have found a solution for this problem. Going forward we will use the pathlib python library to help Jarvis navigate the files in a new environment.

#Current way Jarvis is using to navigate a file.
Audfile = open("Jaraudit.txt", "a")
    querytime = (datetime.datetime.now().ctime())
    Audfile.writelines(querytime + "-(User Recieved His Current Location Using GeoCoder.) \n")
    Audfile.close()

#New way for Jarvis to navigate a file
Audfile = Path(__file__).with_name('Jaraudit.txt')
    with Audfile.open('a') as f:
        querytime = (datetime.datetime.now().ctime())
        f.writelines(querytime + "-(User Recieved His Current Location Using GeoCoder.) \n")
        f.close()

Above is the solution I have came up with after researching. It has been tested in a new environment and has proven to be an effective.
@MahaMohan with the solution found you can start implementing it into the main code.

Thank you.

EpicRD commented 1 year ago

Hi all,

Side tip I learned -> git pull Jarvis master This could be used in the terminal after downloading source code files from github online.

Anyways there seem to be some problem when implementing the above solution onto render-word engine. I will try to solve it tomorrow.

goodnight.

MahaMohan commented 1 year ago

While I think it would be in the best interest for everyone involved to quickly fix this issue, on my end I will continue to push out weekly commits addressing bug-fixes and continue to add new features.

Once the solution has been found I'll integrate it into the main code.

Also remember to take sufficient rest from coding to charge up your brain 😄.

Thank you all enjoy the weekends 🥳

CodingAviator commented 1 year ago

CYCLE OF DEVELOPMENT (COD)

(PRE-DEPLOYMENT):- Creating Product --> Testing Product --> Initial Beta Run--> Deploying Product

(POST-DEPLOYMENT):- Product Deployed --> Advertise Product --> Fix Important Bugs and Issues From Users

(PRE-END-OF-SUPPORT (EOS)):- Bugs and Issues Fixed --> Monthly Updates And improvements --> Product Is Deprecated (EOS)

Above is Epicalable's Cycle Of Development and it is created with the knowledge of current programming industry standards. Jarvis is currently at fixing important bugs and issues from users.

I would like to thank all of you guys for taking your time with helping out to fix this bug 🥰 Hope it is rectifiable soon.😊

Also keep the weekly commits rolling. I am pumped for the upcoming developer tools which will help us to turn off unnecessary waste when busy coding.

EpicRD commented 1 year ago

I'm actually sorry to announce that currently Epicalable is busy with ComDash and the official website which means Jarvis will take a hit in maintainence and commits pushed.

We'll appreciate your cooperation till we get back on track.

Thank you