wrong folder

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
bluvisnu
Posts: 3
Joined: Mon Jul 25, 2016 4:53 pm

wrong folder

Post by bluvisnu » Mon Jul 25, 2016 5:17 pm

Hi, i'm trying to make my first app ever, i followed all the instructions of the videos and slides until "deleting a note" twice to compare my code and i don't find where is my mistake but the scrolling list field where i should have the notes i am writing is showing the home folder of my computer first and then another one if i clic "next" and come back and i can't save any notes and no folder is being created in the document folder of my PC, i am starting to think that it may be because i am on Linux and live code may not have the necessary permission to write into documents. or maybe it is something else... Can you please help me ?

ClipArtGuy
Posts: 253
Joined: Wed Aug 19, 2015 4:29 pm

Re: wrong folder

Post by ClipArtGuy » Mon Jul 25, 2016 5:24 pm

From the dictionary entry for "specialfolderpath" it looks like the only "special" folders you can access on linux are:
Home: The current user's home directory (e.g. "/home/fred")

Desktop: The current user's desktop (e.g. "/home/fred/Desktop")

Temporary: For storage of temporary files (typically "/tmp")
HTH

bluvisnu
Posts: 3
Joined: Mon Jul 25, 2016 4:53 pm

Re: wrong folder

Post by bluvisnu » Mon Jul 25, 2016 5:28 pm

Great, so my code may be right, thanx a lot, i am going to try pointing to another folder then, and i will also check what's on the dictionnary !

bluvisnu
Posts: 3
Joined: Mon Jul 25, 2016 4:53 pm

Re: wrong folder

Post by bluvisnu » Mon Jul 25, 2016 6:13 pm

i directed it to the desktop folder and It works perfectly ! thank you !

Post Reply

Return to “Notes”