2014-06-16T00:23:27 *** alipi_not has joined #servelots 2014-06-16T00:26:56 *** alipi_not` has quit IRC (*.net *.split) 2014-06-16T00:28:16 *** alipi_not` has joined #servelots 2014-06-16T00:43:48 *** baali has quit IRC (Quit: Leaving.) 2014-06-16T00:45:32 *** alipi_not` has quit IRC (Write error: Connection timed out) 2014-06-16T10:15:11 *** baali has joined #servelots 2014-06-16T10:58:29 *** zoso has joined #servelots 2014-06-16T11:35:55 *** baali has quit IRC (Quit: Leaving.) 2014-06-16T12:06:37 *** baali has joined #servelots 2014-06-16T12:48:30 *** baali has quit IRC (Quit: Leaving.) 2014-06-16T14:13:33 *** baali has joined #servelots 2014-06-16T14:22:49 *** tessierashpool has joined #servelots 2014-06-16T14:23:07 hi 2014-06-16T14:23:10 zoso: hi 2014-06-16T14:23:18 we're set 2014-06-16T14:23:24 tessierashpool, hey :) 2014-06-16T14:23:34 dinesh is asking: who're you? 2014-06-16T14:23:46 cool :) I am arvind 2014-06-16T14:23:53 This is the nick I use on irc :) 2014-06-16T14:23:56 tell him hi 2014-06-16T14:24:19 BTW, I'm Onur 2014-06-16T14:24:21 from Istanbul 2014-06-16T14:24:46 tessierashpool, hi Onur :) 2014-06-16T14:26:22 tessierashpool, so shall we start with installing sweet store? 2014-06-16T14:29:15 *** tbd has joined #servelots 2014-06-16T14:29:54 *** toxicity_ has joined #servelots 2014-06-16T14:30:07 tessierash.. is onur. 2014-06-16T14:30:55 im ahmet 2014-06-16T14:32:30 *** naod has joined #servelots 2014-06-16T14:33:47 lets start with the link arvind sent 2014-06-16T14:34:03 tbd, toxicity_ hi 2014-06-16T14:34:08 naod, hi 2014-06-16T14:34:21 http://janastu.org/technoscience/index.php/Alipi 2014-06-16T14:34:23 Title: Alipi - Technoscience (at janastu.org) 2014-06-16T14:34:33 http://janastu.org/technoscience/index.php/Sweet_Web 2014-06-16T14:34:37 Title: Sweet Web - Technoscience (at janastu.org) 2014-06-16T14:34:40 thanks 2014-06-16T14:34:40 hi zoso 2014-06-16T14:34:57 https://github.com/janastu/swtstore#swtstore-sweet-store 2014-06-16T14:34:58 Title: janastu/swtstore · GitHub (at github.com) 2014-06-16T14:35:04 github link 2014-06-16T14:35:07 https://github.com/janastu/swtstore 2014-06-16T14:35:08 Title: janastu/swtstore · GitHub (at github.com) 2014-06-16T14:37:57 Code can be downloaded from the github link, and there is a readme too, which will guide you through the installation. tessierashpool 2014-06-16T14:38:44 If you are not familiar with git, you can just download the code in the zip format. 2014-06-16T14:39:15 zoso: OK I'm working on it 2014-06-16T14:39:24 zoso: I'm familiar with all of this 2014-06-16T14:39:34 I've worked with virtualenv 2014-06-16T14:39:38 that is nice :) 2014-06-16T14:40:12 then I think the setup of sweet store won't take long. :) as most of the procedures are scripted 2014-06-16T14:40:20 OK nice 2014-06-16T14:40:55 hi all. I got a 500 Internal error when trying to access http://trac.pantoto.org/sweet-web (as per instructions from https://github.com/janastu/swtstore#swtstore-sweet-store) 2014-06-16T14:40:56 Title: janastu/swtstore · GitHub (at github.com) 2014-06-16T14:41:27 I got one from git.pantoto.org 2014-06-16T14:41:32 I'll paste 2014-06-16T14:42:24 http://pastebin.com/9CXnNzm0 2014-06-16T14:42:25 Title: (sweetstore)onur@lsn:~/Desktop/projects/research/projects/sweetstore$ git clone - Pastebin.com (at pastebin.com) 2014-06-16T14:42:32 all links on trac lead to an error page. 2014-06-16T14:43:40 zoso: did you see the error? 2014-06-16T14:43:54 error: Failed connect to git.pantoto.org:443; Connection refused while accessing https://git.pantoto.org/sweet-web/sweet-web-engine.git/info/refs 2014-06-16T14:44:01 naod, tbd trac is not being maintained anymore. 2014-06-16T14:44:11 tessierashpool, use the the github url to clone please 2014-06-16T14:44:28 ok :) (we need to update the page ;) 2014-06-16T14:44:39 git.pantoto.org is going through some issues. 2014-06-16T14:44:47 ah right 2014-06-16T14:45:06 aside: any clues re issues? 2014-06-16T14:45:52 tessierashpool, you can use this url https://github.com/janastu/swtstore.git instead of the git.pantoto.org one 2014-06-16T14:45:54 Title: janastu/swtstore · GitHub (at github.com) 2014-06-16T14:46:20 zoso: OK I cloned now 2014-06-16T14:46:21 tbd, nope, it mostly seems to be in need of an update. 2014-06-16T14:46:31 ran python setup.py install 2014-06-16T14:47:07 tessierashpool, cool :) now you need to head over to configuring the store 2014-06-16T14:47:42 zoso: Unfortunately I got an error: http://pastebin.com/yWcWxwpR 2014-06-16T14:47:43 Title: Running MarkupSafe-0.23/setup.py -q bdist_egg --dist-dir /tmp/easy_install-jlFZw - Pastebin.com (at pastebin.com) 2014-06-16T14:47:48 is it important? 2014-06-16T14:49:00 What does this mean? : "Make sure you have configured the user management module with correct values." 2014-06-16T14:49:57 tessierashpool, did you miss a step while going along with readme? 2014-06-16T14:50:20 I think the error is because it is looking for the user managament module to be present 2014-06-16T14:50:55 Is it OK if I used Sqlite? 2014-06-16T14:51:28 tessierashpool, Haven't tested personally, but should be fine 2014-06-16T14:52:59 tessierashpool, and you are on the dev branch of the code, right? 2014-06-16T14:55:52 tessierashpool, sweet store uses sqlalchemy so using sqlite should be fine. 2014-06-16T15:00:48 "Make sure you have configured the user management module with correct values." is an old line, does not hold valid now. Earlier user management was a git submodule, so had to be configured separately. This is no more the case 2014-06-16T15:05:39 ok 2014-06-16T15:05:50 I'm trying to install mysql and configure it now 2014-06-16T15:05:52 taking time 2014-06-16T15:06:19 tessierashpool, oh, hmm 2014-06-16T15:12:59 zoso, can we update the doc page in the meantime? 2014-06-16T15:13:18 tbd, yes, I am doing it. 2014-06-16T15:13:32 zoso, we should be able to use swts to annotate the status of these issues/todos:) 2014-06-16T15:17:45 zoso: should I create a blank database also? 2014-06-16T15:17:49 in mysql 2014-06-16T15:18:24 tessierashpool, if you wish to use a different database than the default, you should create one 2014-06-16T15:19:02 tessierashpool, you will have to specify the name of the database in the config file. 2014-06-16T15:19:43 http://pastebin.com/J0wUVW8M 2014-06-16T15:19:44 Title: (sweetstore)onur@lsn:~/Desktop/projects/research/projects/sweetstore$ python dbs - Pastebin.com (at pastebin.com) 2014-06-16T15:19:48 new error :) 2014-06-16T15:19:59 apparently I had to create a 'logs' directory 2014-06-16T15:20:22 tessierashpool, yes 2014-06-16T15:20:40 tessierashpool, should add that in the docs, thanks :) 2014-06-16T15:22:11 SQLALCHEMY_DATABASE_URI = 'mysql+oursql://swtstore_dbuser:XXX@lsn/swtstore_db' 2014-06-16T15:22:21 zoso: what's the correct version? 2014-06-16T15:22:38 zoso: no, just we can just add it to the dbsetup.py I think 2014-06-16T15:22:42 IMHO 2014-06-16T15:23:06 tessierashpool, umm, we kept it in config.py so that it is easy to edit and one place for all config 2014-06-16T15:23:26 tessierashpool, the db string you gave looks fine 2014-06-16T15:25:09 zoso: I think I somehow forgot to install oursql 2014-06-16T15:25:13 my fault 2014-06-16T15:25:19 installing now 2014-06-16T15:25:25 tessierashpool, that's ok 2014-06-16T15:25:36 you will also need libmysqlclient-dev 2014-06-16T15:25:42 and also python-dev 2014-06-16T15:26:54 tessierashpool, in the config.py, you also have to change the url at which sweet store is deployed 2014-06-16T15:27:13 the default value reads "http://demo.swtr.us" 2014-06-16T15:27:17 Title: SWeeT Store (at demo.swtr.us) 2014-06-16T15:27:22 change it to "http://localhost:5001 2014-06-16T15:31:25 tbd, I have updated the README 2014-06-16T15:34:26 zoso, ok trac link still needs an "out to lunch" annotation 2014-06-16T15:34:49 zoso: do I need to create a bare database first? 2014-06-16T15:36:46 initialized the databse 2014-06-16T15:39:54 zoso: how do I set the port that it runs? 2014-06-16T15:40:19 zoso: I have nginx, I usually bind the servers to arbitrary ports on localhost, 2014-06-16T15:40:51 zoso: and then make the settings in nginx 2014-06-16T15:45:24 tessierashpool, you can look up the doc for checking out how to configure nginx with wsgi 2014-06-16T15:45:53 if you are deploying the sweet store. Or else if you are running it locally, you can just call python runserver.py 2014-06-16T15:46:12 tbd, trac link is no more in the doc 2014-06-16T15:46:38 zoso: add 79.123.177.235 swtstore.lsn.cmpe.boun.edu.tr 2014-06-16T15:46:41 to /etc/hosts 2014-06-16T15:46:55 zoso: and visit that page, it looks up 2014-06-16T15:48:24 tessierashpool, cool :) that is nice 2014-06-16T15:49:19 can you post something? 2014-06-16T15:51:00 tessierashpool umm, I cant post directly, I have to first create an account in the store, and then register an app and register a context which the app will use. The I can use something like swtr(image annotation) to post at the sweet store 2014-06-16T15:51:53 let's do it then 2014-06-16T15:52:14 tessierashpool, the page takes a long time to open. The connection is too slow here 2014-06-16T15:52:15 2nd question: can we use the extension (browser) also? 2014-06-16T15:55:32 http://youbroketheinternet.org/ 2014-06-16T15:55:33 Title: #youbroketheinternet (at youbroketheinternet.org) 2014-06-16T15:56:07 tessierashpool, right now there is no browser extension, but shall be ready over the week. In the mean time, you can also set up an image annotation tool, give me a min I will share the link from where you can download the app 2014-06-16T16:02:52 tessierashpool, sorry the net is too slow here 2014-06-16T16:03:50 tessierashpool, can you also set up an instance of this https://github.com/janastu/swtr 2014-06-16T16:03:51 Title: janastu/swtr · GitHub (at github.com) 2014-06-16T16:04:12 that application lets you annotate images and sweet about them to a sweet store. 2014-06-16T16:10:26 tbd, the internet over here is as slow as a snail 2014-06-16T16:10:37 not paid? 2014-06-16T16:10:50 or run out in 10 days? 2014-06-16T16:11:33 the bill is cleared, just a horrible connection. We have not crossed FUP, yet. 2014-06-16T16:11:37 http://swtstore.lsn.cmpe.boun.edu.tr/apps/register should I fill in these? 2014-06-16T16:11:47 zoso, shd call and complain 2014-06-16T16:12:49 tessierashpool, yes you need to fill that up 2014-06-16T16:13:20 what would the host url of the app be? 2014-06-16T16:13:24 tessierashpool, if you are running an app locally then give that url in the field asked for, like http://localhost:5000 2014-06-16T16:13:59 tbd, it can be something like http://exampleapp.swtr.us 2014-06-16T16:14:00 Title: a11ypi : Accessibility for the Print-impaired (at exampleapp.swtr.us) 2014-06-16T16:14:58 provided the app is hosted there 2014-06-16T16:15:14 zoso, can he use exampleapp.swtr.us? 2014-06-16T16:15:41 i mean on of our apps 2014-06-16T16:15:44 *one 2014-06-16T16:17:33 *** toxicity_ has quit IRC (Ping timeout: 255 seconds) 2014-06-16T16:19:51 tbd, umm, not right now 2014-06-16T16:20:04 I will setup testapp.swtr.us 2014-06-16T16:20:05 and then he can use it 2014-06-16T16:20:14 give me 5 minutes 2014-06-16T16:20:34 ok. so i think we need a page to explain what an app is and where it needs to be hosted 2014-06-16T16:29:42 *** toxicity_ has joined #servelots 2014-06-16T16:32:02 zoso: how can we change this redirected URL we got after we authenticate with persona: POST http://lsn.cmpe.boun.edu.tr/users/login 404 (Not Found) 2014-06-16T16:33:20 tessierashpool, you should specify the redirect url in the configuration, when you are registering a new application 2014-06-16T16:33:35 I am setting up an application, so that you can test it 2014-06-16T16:34:28 zoso: OK but this comes up when we tried to login to sweet store again 2014-06-16T16:35:46 tessierashpool, Ohh, http://swtstore.lsn.cmpe.boun.edu.tr/ gives me a 502 error 2014-06-16T16:36:02 I can't open the page now 2014-06-16T16:36:18 http://lsn.cmpe.boun.edu.tr/swtstore/ 2014-06-16T16:36:25 Just go here now 2014-06-16T16:36:45 I made this because we tried to install swt swagger also 2014-06-16T16:38:46 tessierashpool, am opening the page, taking quite some time to open 2014-06-16T16:43:15 tessierashpool, tbd umm, am having a very bad connection here, cant even open a page 2014-06-16T16:44:03 zoso, onur is still trying to setup. page works but loging etc does not. prob because url prefix issues. with the way he has setup the swtstore 2014-06-16T16:44:06 I will be back online after 30 minutes or so. I am extremely sorry tessierashpool that I am not being of much help right now 2014-06-16T16:45:16 tbd, I will get back to you the earliest I can with what the issue is and how we can fix it. 2014-06-16T16:45:37 tbd, see you in a while 2014-06-16T16:45:49 *** zoso has quit IRC (Quit: Leaving) 2014-06-16T16:57:11 missmatching redirect url 2014-06-16T17:14:55 zoso, 30 mins :) 2014-06-16T17:36:26 *** zoso has joined #servelots 2014-06-16T17:36:57 tessierashpool, tbd sorry took me some time. 2014-06-16T17:38:10 tessierashpool, I think you guys figured what the issue was, I was able to login now to the swtstore at http://lsn.cmpe.boun.edu.tr/swtstore/ 2014-06-16T17:38:11 Title: SWT Store (at lsn.cmpe.boun.edu.tr) 2014-06-16T17:49:07 *** tessierashpool has quit IRC (Ping timeout: 244 seconds) 2014-06-16T18:04:56 *** toxicity_ has quit IRC (Quit: Leaving) 2014-06-16T18:17:34 *** tessierashpool has joined #servelots 2014-06-16T18:32:53 *** tbd has quit IRC (Ping timeout: 245 seconds) 2014-06-16T19:23:51 *** tessierashpool has quit IRC (Ping timeout: 255 seconds) 2014-06-16T20:05:52 *** tessierashpool has joined #servelots 2014-06-16T20:18:54 *** zoso has quit IRC (Ping timeout: 240 seconds) 2014-06-16T21:59:12 *** baali has quit IRC (Quit: Leaving.)