Thanks, all, for the advice. I am facing a number of learning curves, and I appreciate that you all take time from the more advanced work you do to help me out. I'll seek someone local.
On Tue, Jul 8, 2014 at 6:09 PM, Mike Dewhirst <[email protected]> wrote: > On 9/07/2014 6:24 AM, Janelle wrote: > >> I've never worked in Ubuntu before, but from what I understand, there is >> no text editor or Word or anything like that; everything is done through >> the command line and there is no "desktop." >> >> So, how would I open settings.py with Ubuntu? >> > > You could try something like the Filezilla FTP client which will give you > a pseudo-desktop and let you view files using a familiar editor. You would > need login credentials of course. > > The learning curves are not terribly steep but it seems you are facing a > number of them. > > Ilya is correct but you might make faster progress if you set out the > problem(s) and ask for a local contractor to get in touch. > > >> >> On Tue, Jul 8, 2014 at 12:47 AM, Lachlan Musicman <[email protected] >> <mailto:[email protected]>> wrote: >> >> If they aren't in settings, then the software would never have worked >> (if it needed a DB) :) >> >> You can just open settings.py with a text editor - notepad, wordpad, >> gedit, emacs/vim, even word if you want. It's just a text file. >> >> Cheers >> L. >> >> On 8 July 2014 14:05, Janelle O'Dea <[email protected] >> <mailto:[email protected]>> wrote: >> > Again, super helpful. I just have a few more (hopefully not >> terribly >> > obvious) questions: this mechanism specified in settings.py; will >> I access >> > settings.py the same way as manage.py? python settings.py >> runserver? >> > >> > If I find the credentials for the database (if they aren't in >> settings.py, I >> > probably don't have them...am I screwed?) how can I get to and >> dump the db? >> > >> > On Monday, July 7, 2014 7:30:44 PM UTC-4, Mike Dewhirst wrote: >> >> >> >> On 8/07/2014 2:22 AM, Janelle O'Dea wrote: >> >> > Thank you, Mike. I haven't tried your first option yet, but I >> will >> >> > either today or tomorrow. What kinds of clues would I look for >> in >> >> > settings? >> >> >> >> Django needs credentials to access the database and there should >> be a >> >> mechanism specified in settings to get them. I don't keep such >> things >> >> directly in my settings because I keep them under version >> control. But >> >> if you had unfettered acccess to my machine you could discover >> where >> >> they are. You say you have the Ubuntu machine in question so you >> might >> >> be able to find them. >> >> >> >> The fingers crossed part is because the developer might have >> settled for >> >> the Django Admin superuser credentials being the same as for the >> database. >> >> >> >> If not, but you do have the database credentials you can dump >> the db, >> >> start another Django project with the same source code and load >> a new >> >> database to gain complete access to everything. >> >> >> >> Also: any ideas about my first question? >> >> >> >> No. I'm not a Mac person. But permissions on Macs are (I >> believe) the >> >> same as for Linux/Unix. >> >> >> >> Good luck >> >> >> >> Mike >> >> >> >> > >> >> > Everyone: I'm in Naples, Florida. If anyone is in the >> Southwest Florida >> >> > area and wants to try and help, I'll get you a Randy's key >> lime pie. Or >> >> > take you out for seafood. Or something. >> >> > >> >> > On Sunday, July 6, 2014 7:36:46 PM UTC-4, Janelle O'Dea wrote: >> >> > >> >> >   Hi all, >> >> > >> >> >   I have two separate Django questions. >> >> > >> >> >   One: I am trying to learn how to use Django on my >> computer (Mac OS, >> >> >   Mavericks) and was first getting the error "unable to >> open database" >> >> >   when running "python manage.py syncdb." To fix it, I >> followed >> >> >   instructions from here: https://coderwall.com/p/gl_grw >> >> >   <https://coderwall.com/p/gl_grw> >> >> >   Now, I can't save settings.py. I realize this may have >> to do with >> >> >   the advice to change permissions on the page I just >> linked to; how >> >> >   can I change them back? >> >> >   When I run the "python manage.py syncdb" command now, it >> tells me >> >> >   there's a syntax error in settings.py. When I try to fix >> settings.py >> >> >   and save it, it tells me ERRNO 13 permission denied. >> >> >   I'm mainly trying to get a feel for Django because I may >> want to use >> >> >   it in the near future. >> >> > >> >> >   Two: At my workplace, someone produced a Django app on >> Ubuntu. The >> >> >   app is a source database for reporters to view and add >> to (I work at >> >> >   a newspaper). The main question: can I get the source >> information >> >> >   out of this database so that we can recover it and use >> it, even if >> >> >   the original creator of this app/database is not >> available? He isn't >> >> >   responding to phone calls or emails, and bosses want me >> to see if I >> >> >   can extract the info. I've never worked in Ubuntu before. >> >> > >> >> >   Thanks for any help that anyone can provide. >> >> >> > >> >> > -- >> >> > You received this message because you are subscribed to the >> Google >> >> > Groups "Django users" group. >> >> > To unsubscribe from this group and stop receiving emails from >> it, send >> >> > an email to [email protected] >> <mailto:[email protected]> >> >> > <mailto:[email protected] >> <mailto:django-users%[email protected]>>. >> >> >> > To post to this group, send email to >> [email protected] <mailto:[email protected]> >> >> > <mailto:[email protected] >> >> <mailto:[email protected]>>. >> >> > Visit this group at http://groups.google.com/group/django-users >> . >> >> > To view this discussion on the web visit >> >> > >> >> > >> https://groups.google.com/d/msgid/django-users/38f6d8d0- >> efe2-4739-9e79-bdcd35f2cc7b%40googlegroups.com >> >> > >> >> > >> <https://groups.google.com/d/msgid/django-users/38f6d8d0- >> efe2-4739-9e79-bdcd35f2cc7b%40googlegroups.com?utm_medium= >> email&utm_source=footer>. >> >> > For more options, visit https://groups.google.com/d/optout. >> >> >> > -- >> > You received this message because you are subscribed to the >> Google Groups >> > "Django users" group. >> > To unsubscribe from this group and stop receiving emails from it, >> send an >> > email to [email protected] >> <mailto:django-users%[email protected]>. >> >> > To post to this group, send email to >> [email protected] <mailto:[email protected]>. >> >> > Visit this group at http://groups.google.com/group/django-users. >> > To view this discussion on the web visit >> > >> https://groups.google.com/d/msgid/django-users/1bc66d35- >> aff3-4710-8a1d-b2d87d68be8b%40googlegroups.com. >> > For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> The idea is that a beautiful image is frameable. Everything you need >> to see is there: It’s everything you want, and it’s very pleasing >> because there’s no extra information that you don’t get to see. >> Everything’s in a nice package for you. But sublime art is >> unframeable: It’s an image or idea that implies that there’s a >> bigger >> image or idea that you can’t see: You’re only getting to look at a >> fraction of it, and in that way it’s both beautiful and scary, >> because >> it’s reminding you that there’s more that you don’t have >> access to. >> It’s now sort of left the piece itself and it’s become your own >> invention, so it’s personal as well as being scary as well as being >> >> beautiful, which is what I really like about art like that. >> ------------------------------------------------------------ >> ----------------------------------------------- >> Adventure Time http://theholenearthecenteroftheworld.com/ >> >> -- >> You received this message because you are subscribed to a topic in >> the Google Groups "Django users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/django-users/Bq22b_ >> we030/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] >> <mailto:django-users%[email protected]>. >> To post to this group, send email to [email protected] >> <mailto:[email protected]>. >> >> Visit this group at http://groups.google.com/group/django-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAGBeqiNLQ_V1nLW6cTBP_ >> ajTBbk9zVvDZNh5eATrKiGzQbHM%2Bw%40mail.gmail.com. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send >> an email to [email protected] >> <mailto:[email protected]>. >> To post to this group, send email to [email protected] >> <mailto:[email protected]>. >> >> Visit this group at http://groups.google.com/group/django-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAAQAsfcCYNw9xbiDPxC68M% >> 3DfjKN1_VSGnrpLL9Ly8VB6e437tw%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAAQAsfcCYNw9xbiDPxC68M% >> 3DfjKN1_VSGnrpLL9Ly8VB6e437tw%40mail.gmail.com?utm_medium= >> email&utm_source=footer>. >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Django users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/django-users/Bq22b_we030/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/53BC6C01.4020303%40dewhirst.com.au. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAQAsff1tr3amsxfhoUtSZ1f61TFQMytM-eZfbVvg6zHDx7dfg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

