last day (19 days later) » 

5:15 PM
Do you think you might have a chance to generate that code or whatever I need to access Ondina soon?
 
Did you sign up for the beta?
 
Oh sorry, I meant the PPR.
 
right, did you sign up for it?
 
I filled in the form sometime last year IIRC.
 
Oh, haha I was looking for George Edison
 
5:16 PM
:P
 
You won't get the automated welcome email, but I can give you a link to use to setup your account
 
Awesome!
 
@MarcoCeppi If I haven't said it before, thank you, thank you, thank you.
I can hardly wait to get started.
 
Your welcome, getting Python and Django setup is a bit complicated, let me know when you get to that point
next month there will be a one-click install for Django, but until then you'll have to do it manually
 
5:19 PM
No problem.
 
There's a new Knowledge Base going up soon, but I'll just publish the Django article when you get ther
 
Yup, I'll let you know how it goes.
...and report any errors I find.
 
It's a little round-about but pretty straight forward
 
Perfect.
@MarcoCeppi I'm afraid my SSH key isn't recognized. Is there somewhere in the CP that I need to visit to register an SSH key?
 
5:35 PM
@GeorgeEdison It's under Settings -> SSH
 
@MarcoCeppi Silly me. Sorry for not seeing it.
 
It's okay, it's not very obvious
there's going to be this huge getting started guide next month that we're putting togehter
 
Oh, okay.
 
We're trying to do away with all nested menus
so SSH, Python, etc will all be on the same level
@GeorgeEdison one pitfall, you'll need to fill out each field in this page: cp.ondina.co/manage/sites?domain=django.quickmediasolutions.com for the site to work
that's another thing that will be more obvious in the next release
lots of little UX bugs like that being fixed
 
Okay, thanks.
@MarcoCeppi One other thing (and I can file this as a bug if you'd like) - I don't seem to have access to the python command from a shell.
 
5:47 PM
@GeorgeEdison exmaple?
Ah. That's a problem. Open that as bug and I'll see if I can patch your uesr
 
python
bash: python: command not found
 
@GeorgeEdison what's your account #?
 
b1018?
 
yeah, thanks
@GeorgeEdison can you use python now?
 
@MarcoCeppi The command works now.
@Marco: Unfortunately I keep getting an error that the 'site' module is missing.
 
5:57 PM
can you show me which command?
I'm probably missing some data folders
 
So I'm logged in under b1018 in ~/Django-1.4 and trying to run:
python setup.py build
Just trying to start the Python interpreter (the python command by itself) fails too with the same error.
 
interesting, missing libs probably
one sec
@GeorgeEdison try now
 
@MarcoCeppi Afraid not - same error.
 
I think i see the error
@GeorgeEdison try now
 
6:13 PM
@MarcoCeppi SUCCESS!!
One other thing - I can't seem to create a database or db user.
I enter the details and click "create database" but nothing happens.
 
@GeorgeEdison open chrome inspector and watch the console, if you get an error it'll pop up there
 
Ah, will do.
 
if you get an error let me know, but it should work
goes to check the API
Next version a lot of the console errors will be replaced by human readable errors alerted to the control panel
 
It... worked!
I guess I'll file a bug then indicating that it doesn't work in Firefox.
 
Whoa, adding in Firefox doesn't work?
heh, we need to do better browser testing. We pretty much solely develop in Chrome
 
6:18 PM
@MarcoCeppi: And I will try very hard to make this the last thing I bug you about - running git from SSH throws an error:
Fatal: no entropy gathering module detected
 
@GeorgeEdison let me fix that, one min
How about now?
 
@MarcoCeppi Works, thank you!
Well... almost.
 
yw, most of our users don't really use SSH atm, so it's nice to have someone who will be banging on it a lot more
NO!
 
I'll paste the error... one sec.
(I have to figure out how to copy stuff from PuTTy.)
b1018@bayes:~/domains/django.quickmediasolutions.com$ git clone george_edison@bitbucket.org/george_edison/…
Cloning into quick-media-solutions...
Password:
error:  while accessing george_edison@bitbucket.org/george_edison/…

fatal: HTTP request failed
It gives the same error both with and without the correct password.
 
Interesting, cloning from github worked
is there any other way you can clone other than https?
 
6:26 PM
There is SSH.
 
let me try something first
this looks to be an SSL issue with curl
@GeorgeEdison try now
 
@MarcoCeppi It's doing something...
Ah, it finished.
Another success!
One last thing (this is related to the earlier Python issue) - Python can't find anything I've stuffed in ~/etc/python2.7.
 
@GeorgeEdison virtualenv isn't setup, at least I don't think, which is why you have to reference by hand
 
Ah, okay.
 
we've been working on getting virtualenv setup properly for ondina accounts, but it's a lot more involved
 
6:33 PM
But it will work under Apache, right?
 
that's why you have to add the paths to the wsgi in the guide
 
Oooooh.
That makes sense.
 
mmhum
eventually all that will just be magic
 
Well thank you for the help.
Ondina is pure awesome as far as I'm concerned.
 
6:47 PM
Thank you, means a lot to hear that
Sorry it's taken so long, I'm still a bit fearful about people using it - to me it's still a fragile little baby
 
@MarcoCeppi We all feel like that when we're working on something big.
 
in a few months I'm going to be trying a pilot developer program, to see if people want to help write code for the project
(ケ¬◟¬)ケ
 
 
3 hours later…
10:19 PM
@MarcoCeppi: So far everything has been exceptionally great. However, I've run into a bit of a snag. I can't build the Python-MySQL module because I don't have access to gcc. So I tried building it on a VM and copying it over. But it seems like you don't have libmysqlclient.so.18.
It's not a show stopper - I can use SQLite in the meantime.
 
10:32 PM
@GeorgeEdison I can move it over in to the jail
I'll install the the python MySQL module as well
 
@MarcoCeppi Oh, that would be awesome.
Thanks.
 
yes, soon you'll have the ability to install modules per account
Is python-mysql in the repos?
 
I believe so.
I think that's even the package name.
 
k, installed and moved to environment
try now
you're our first real python customer
 
Okay, one sec.
I have to remove the old one.
>>> import MySQLdb
Original exception was:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named MySQLdb
 
10:39 PM
Okay, one more time!
 
Oh hang on.
_mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")
Seems the module is working now.
 
yeah, you don't have a mysqld.sock
can you provide a hostname instead?
 
Sure.
 
use local.mysql
as in the future mysql database for servers may not be on the same physical machine
that address will always point to your MySQL server
 
_mysql_exceptions.OperationalError: (1044, "Access denied for user 'b1018_qms'@'localhost' to database 'b1018_qms'")
Now it's connecting.
 
10:41 PM
using the right password?
 
Lemme confirm.
Nope, I just updated the password in the CP to match what I have.
Still won't connect.
 
interesting.
 
I'll set both of them to something simple for a second.
Oh wait.
Now the DB user is gone.
I recreated the user - same problem.
I've set the password to "test".
 
what's the user?
I'll test the passwd
 
b1018_qms
 
10:45 PM
getting the same error
one min
@GeorgeEdison found your problem :)
You need to explicitly add a user to a database, if you click on the database there's an add user button
 
Oooooh.
 
where you can give it either R or RW privileges
 
Ah.
Thanks.
 
that should be a bug, where if a database doesn't have a user the user should be notified
going to grab some dinner
 
Thanks for the assistance.
 

  last day (19 days later) »