2016-11-29 UTC
KartikPrabhu, KevinMarks and tantek joined the channel
# 03:06 tantek maybe that's just the sign of a really good writer, where (nearly?) every sentence itself standsalone and is tweetable, and just makes more sense in the context of the series
KevinMarks, KevinMarks_, gRegorLove, cweiske, chrisaldrich1, chrisaldrich_ and rascul joined the channel
j4y_funabashi joined the channel
# 13:04 j4y_funabashi doesnt support json create yet so cant pass the micropub.rocks update tests *sad dance*
ben_thatmustbeme and j4y_funabashi joined the channel
tantek and loicm joined the channel
# 16:15 tantek oh dear what does webmention have to do with SEO?
# 16:18 aaronpk "rel = "webmention", you had heard of it? Maybe the future of SEO --> ..."
# 16:19 tantek oh dear, I'm interpreting that as a call for potential fake webmentions, webmention spamming as it were to place links on other sites
# 16:21 j4y_funabashi woopwoop, a few small changes later and I have passed most of the json create tests and all the update tests on micropub.rocks \o/
# 16:28 j4y_funabashi aaronpk++ once again, thanks for making those test suite sites, they are amazing
# 16:28 Loqi aaronpk has 18 karma in this channel (1145 overall)
KartikPrabhu joined the channel
# 17:21 aaronpk ugh this is what i was worried about... trying to install silopub, I get "./psycopg/psycopg.h:30:20: fatal error: Python.h: No such file or directory"
# 17:22 aaronpk i assume that means i need some sort of python headers? i don't know anything about installing python stuff
# 17:47 aaronpk progres... it's running but now it crashes at "ImportError: No module named 'click'"
# 17:48 bear that's a python module, it could be that he didn't update the requirements file
# 17:49 aaronpk now "RuntimeError: The session is unavailable because no secret key was set."
# 17:52 aaronpk if I delete yhe config file i get a different error so i know it's seeing it
# 17:52 bear oh - it uses Flask Session module - did you configure that to store session data someplace
# 17:52 bear SESSION_TYPE = "filesystem" (or redis, memcached, mongodb)
# 17:53 bear filesystem is the easiest to confirm if that is the problem
# 17:53 aaronpk ah i had a feeling that config file was missing stuff
# 17:56 bear the `install.py` looks to handle that
# 17:56 bear it loads the flask app context, the db context and then tells the db to initialize
# 17:57 aaronpk i ran install and now there's a db.sqlite file, I changed the owner to www-data, but it's still saying "unable to open database file"
# 18:00 bear does your db.sqlite have actual tables and data?
KevinMarks joined the channel
# 18:08 bear and your sqlite db uri path is accurate?
# 18:09 aaronpk it's 'sqlite:///{}/db.sqlite'.format(os.path.dirname(os.path.realpath(__file__)))
# 18:10 aaronpk which i assume is replacing {} with the path to the config file
# 18:10 bear yes, that is the python3 version of %s
# 18:11 KevinMarks Is this some "spaces in path" glitch? That is a common problem with python that python people don't realise because they took spaces out of their paths years ago
# 18:15 bear just after the db.init_app(app) call -- `print(db.metadata)` specifically -- see what the state of sqlalchemy is
# 18:15 aaronpk oh boy here we go, first time writing python in at least 10 years
# 18:16 bear later tonight I can give it a go and see what debugging help i can be
# 18:16 bear right now i'm hip deep in kubernetes and AWS
j4y_funabashi joined the channel
# 18:28 aaronpk does it need write permissions on the folder the sqlite file is in or something?
gRegorLove joined the channel
# 18:36 bear it may, I can't recall if sqlite uses secondary files for logs/journals
# 18:37 bear oh! bingo -- sqlite does require write access to the directory for journals
# 18:52 aaronpk wth is this facebook "App domains must match the domain of the Secure Canvas URL, Mobile Site URL, Unity Binary URL, Site URL or Secure Page Tab URL."
# 18:53 aaronpk ugh do i have to submit this application for review by facebook?
# 18:53 aaronpk maybe i can just ask kylewm to borrow his api key
# 18:57 tantek might be better to try to get another api key, just for redundancy
# 18:57 tantek and it also tests the actual open-source-deployability of silo pub
# 18:59 aaronpk well at the very least i can use my own facebook api key as myself
# 18:59 aaronpk i think if anyone else tries logging in it won't work
# 19:00 aaronpk i'm actually tempted to try locking down this instance to a whitelist of users
# 19:00 aaronpk since i'm not intending to run a public instance of silopub
# 19:13 aaronpk just reconfigured my syndication endpoints to use my copy of silopub
# 19:13 aaronpk I do enjoy being able to set them up so quickly just by logging in via indieauth
tantek joined the channel
tantek, marcthiele, j4y_funabashi and KartikPrabhu joined the channel