These are chat archives for Sensorica/valuenetwork

24th
Jan 2016
Maria Frangos
@mfrangos
Jan 24 2016 15:17
@christroutner Remember the conversation we had about archiving documents? Many of the process and project docs at Sensorica are quite long. I found an open source publishing tool online: http://scalar.usc.edu/scalar/ I am not sure how it works, if it is useful or if it can be integrated into our NRP (it uses an open API) because I am not able to make that call on a technical level. But I thought I’d post it here. I am going to look at it a bit closer as well.
Chris Troutner
@christroutner
Jan 24 2016 16:46
Ok. I'll take a look at it.
Josh Cowan
@Jshcwn
Jan 24 2016 19:12
@christroutner Above, you mentioned you were going to set up a test server. I think this answers a question of mine. Is there a currently available sandbox for me to play with the NRP? I am logged into Sensorica's NRP but I don't want to "play" too much for fear of having a real but unforseen affect on... something.
Chris Troutner
@christroutner
Jan 24 2016 19:43
@Jshcwn, most of us have our own test servers running on our local machine. I created this blog post with instructions for setting one up on a windows box. I recently spun up a Digital Ocean Droplet and got the NRP software to run on it: http://198.199.118.209:8000/
That's where I'll be showing stuff off for the new UI. The database is populated with a snapshot of the Sensorica database from the begining of January.
I created a super user account for you on that server. username/pass is josh/sensorica. Please change your password as soon as you can and let you know when you do it.
Feel free to mess around. I have the Droplet imaged, so I can just restore the image if I need to reset it back to the way it was.
Lynn Foster
@fosterlynn
Jan 24 2016 19:48
So this is cool! You can actually run the regular NRP there too. (Makes sense.) You have to start with a specific page, try http://198.199.118.209:8000/accounting/start/. @christroutner is it OK for people to use this as a test place?
(I mean you can't just get to the home page directly because that goes to the new UI. But any other page will work.)
(OK, wrong again, it actually does go directly to the NRP home page.) @christroutner sorry looks like I'm just catching up to what you were saying.... I'll just slink off and go do something useful.... :)
Bob Haugen
@bhaugen
Jan 24 2016 19:53
But, @christroutner - if you want the new UI to take over the front page, let me know and I'll help you make that happen. Won't take long.
Chris Troutner
@christroutner
Jan 24 2016 20:27
I'm not that far along yet @bhaugen . Right now I'm working on getting the libraries and frameworks together and doing an API demo.
Bob Haugen
@bhaugen
Jan 24 2016 20:28
I'm not in a hurry. Whenever you want it. Chart your own course.
Chris Troutner
@christroutner
Jan 24 2016 20:28
@fosterlynn Yes, people can use this as a test server. I believe I need to create accounts for whomever wants one? I'd hate to be a gatekeeper of logins. The other problem is that when/if I need to reimage the server, all the logins will get lost.
@mfrangos I took a high-level view of Scalar and it's API. It looks awesome! I very much like the idea of incorporating content from this site for document management. Not sure yet on the best way to do that, but it should definitely stay on our radar.
Bob Haugen
@bhaugen
Jan 24 2016 20:30
@christroutner -can you save the database and put it back? And maybe somebody else can step up to the account creation duties?
We can write some instructions.
Chris Troutner
@christroutner
Jan 24 2016 20:32
I can save a snapshot of the server with any databases or logins we want, so that we can always go back to it. It would work great, I think, if I could create accounts for everyone in the group now and we all had instructions for when we need to add people later.
Bob Haugen
@bhaugen
Jan 24 2016 20:32
And yes, this until we get either user invitations or figure out how self-signup should work in an open value network (which will require a lot of thinking about security and permissions). We have already had spam infestations on one of the test servers.
I'll write instructions and put them in the github wiki.
Josh Cowan
@Jshcwn
Jan 24 2016 20:39
@christroutner I just tried to save a new password but got the following error message. error at /account/password/
[Errno 111] Connection refused
Request Method: POST
Request URL: http://198.199.118.209:8000/account/password/
Django Version: 1.4.22
Exception Type: error
Exception Value:
[Errno 111] Connection refused
Exception Location: /usr/lib/python2.7/socket.py in create_connection, line 571
Python Executable: /home/trout/Envs/vn/bin/python
Python Version: 2.7.6
Python Path:
['/home/trout/Envs/vn/valuenetwork',
'/home/trout/Envs/vn/lib/python2.7',
'/home/trout/Envs/vn/lib/python2.7/plat-x86_64-linux-gnu',
'/home/trout/Envs/vn/lib/python2.7/lib-tk',
'/home/trout/Envs/vn/lib/python2.7/lib-old',
'/home/trout/Envs/vn/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/home/trout/Envs/vn/local/lib/python2.7/site-packages',
'/usr/local/lib/python2.7/dist-packages/pip-7.1.2-py2.7.egg',
'/usr/local/lib/python2.7/site-packages',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages']
Server time: Sun, 24 Jan 2016 20:38:03 +0000
@christroutner There is more if you want me to screen shot the whole page, let me know
Chris Troutner
@christroutner
Jan 24 2016 20:47
Well, it appears your password was changed. Can you log out and back in with your new credentials?
Bob Haugen
@bhaugen
Jan 24 2016 20:48
I got in ok.
Chris Troutner
@christroutner
Jan 24 2016 20:48
Really? I didn't think the login credentials passed over. That's convenient.
Bob Haugen
@bhaugen
Jan 24 2016 20:50
They're in the database. Josh seems to be in there. Can't tell about his password, it's doubly encrypted.
I'll try changing my password, maybe there's a problem there...
The problem is in send_mail(subject, message, settings.DEFAULT_FROM_EMAIL, [user.email])
the password was changed, the system is trying to send Josh an email to confirm it, but the Web server has no email server.
Josh Cowan
@Jshcwn
Jan 24 2016 20:54
Yup, I logged out and logged back in with my new credentials.
Bob Haugen
@bhaugen
Jan 24 2016 20:54
the problem was just in sending out emails.
This may happen in other situations where the system is trying to send emails. @christroutner can you set up an SMTP server on a Digital Ocean droplet? If so, I'll send an email about how to put it in local_settings.py.
Chris Troutner
@christroutner
Jan 24 2016 20:55
That sounds pretty safe to ignore, considering it's a test server.
It didn't crash it, and everything else seems to be running fine.
Bob Haugen
@bhaugen
Jan 24 2016 20:56
Otherwise, this may happenn in other situations. None of which will matter a lot, because in all cases I can think of, the requested action happens first, then the email notification gets sent.
So we should just have some crashy sound affect and say "it's a test!"
Chris Troutner
@christroutner
Jan 24 2016 20:57
Works for me. ;-)
Bob Haugen
@bhaugen
Jan 24 2016 20:58
I don't actually have a crashy sound effect function, though... :frowning:
Maria Frangos
@mfrangos
Jan 24 2016 21:42
@christroutner just saw your message now… hmmm… something is up with my phone notifications. Yeah, Scalar looks good but I am not technical enough to understand whether or not it would live up to its impression :) Aside from handling documents, do you think it could also handle visualising connections and associations (what the NRPs current Gantt can’t do as well)? I saw something on the site that led me to believe that this was possible.
@Jshcwn regarding your comment about making it easier to find projects, that is the plan. I will get you up to speed on this later tonight and we could arrange a time to meet this week and improve it.
Maria Frangos
@mfrangos
Jan 24 2016 21:50
Guys, does anyone object to recording our meetings from now on? I really want to kick-start a scientific paper on this project once we have a working new NRP launched. I think this would make for an excellent case study on design processes within an open network. By recording our meetings, we can have raw data that will be there for future reference. It could be audio only.
Lynn Foster
@fosterlynn
Jan 24 2016 22:20
@mfrangos I'm generally terrified of recording meetings, but I'm still game to do it. I'm trying to get used to it. :)
Josh Cowan
@Jshcwn
Jan 24 2016 23:28
@mfrangos, cool, I'll look forward to looking at whatever you want to show. As for meeting this week, I'm planning on being at Sensorica on Wed. afternoon. We could meet there or near there if that works for you. Otherwise, let me know when you'd like to meet and we'll go from there. As far as recording meetings, I'm fine with it. I'm actually American not Canadian so I gave up on my privacy a long time ago :worried:
Lynn Foster
@fosterlynn
Jan 24 2016 23:52

I'm actually American not Canadian so I gave up on my privacy a long time ago

@Jshcwn ever so true, I'll try to look at it that way.... :frowning: (Bob and I are in Wisconisn.)

Chris Troutner
@christroutner
Jan 24 2016 23:54
@mfrangos I played around with Scalar a little bit. It doesn't look terribly different from Wordpress. As for the visualization, I just can't say. We really need someone to play around with it and find out what it can do. Right now I'm focused on getting the AdminLTE template, Backbone.js, and Require.js, and the NRP API to play nice together.
I'm fine with recording our meetings.