Cannot login after Building Econsensus from Master Branch

12 views
Skip to first unread message

Glyn Price

unread,
Oct 8, 2014, 4:57:32 PM10/8/14
to econsens...@googlegroups.com

BUILD
The following is a summary of my work-flow for building. I'm
following the info. in the readmr.md text-file in
https://github.com/aptivate/econsensus

Run-up Ubuntu (14.04 LTS) that is on my laptop alongside MS windows 7.

Installed git-core using sudo apt-get, in a terminal window, and the
other 12 things/libraries.

Used mkdir in a terminal window to create a empty folder for the Econsensus
source files and then transferred the files using:
git clone https://github.com/aptivate/consensus.git

Used, git status, before and after to check that something has happened.
The display from this command suggested that the master branch had been transferred.

Used, ls -laXR, to check that some files has been transferred.

Used the two deploy commands to build stuff (virtualenv and database)


RUNUP
Used manage.py to runup the server. Got info in the window ending with instruction
to use ctrl+C to terminate the server when I'm finished. For now, I left it
waiting for me to do that when I'm finished.


USED: TEST 1 (it was okay as far as I know)
Used the internet address, http://127.0.0.1:8000/admin/, in the browser; a
username/password window appeared; entered admin admin and got
the Administration window. It seems okay, but as I do not know enough,
I clicked on the, Log out, item. It returned to the earlier un/pw window.
Question: What could I have clicked to test things?

USED: TEST 2
Used the same internet address, without admin, http://127.0.0.1:8000/, in the browser;
the Econsensus un/pw window appeared. This is the same window as for the
public Econsensus (internet address, econsensus.org).

When I used the un/pw I setup for myself when I was trying-out the public Econsensus
in my built instance of Econsensus the following happened:
first, brief activity at the bottom of the browser;
second, a line with GET appeared in the terminal window;
third, nothing. The window remained unchanged; and I did NOT get the the Econsensus
window with Help | Your Organisation | Your Details | Logout etc etc(Discussions etc)
Question: Are the username and password registered in Econsensus specific to each
instance of Econsensus? This would explain the above. Should'n't it have reported
an error saying that my un/pw are wrong?

USED: TEST 3
When I click on the, Sign up as new member, in my built instance of Econsensus, the
following happened:
first, brief activity at the bottom of the browser;
second, a line with GET appeared in the terminal window;
third, a new window appeared with the message: You are now registered. Activation email
sent. But when I looked in my email: nothing. I then looked in the folder,
.../django/econsensus/econsensus/econsensus-messages, for a log-file. It had the information
that an email had been sent to me and that the link in vaild for 7 days.
Also no success with using my new us/pw.
Question: Have I missed something? Surely I should have successfully registered a un/pw
for my build of Econsensus and used the un/pw to open my build Econsensus and set up
Organisatiion, Discussions etc? I think I need some help here.

Kind regards
Glyn (volunteer)









Glyn Price

unread,
Oct 9, 2014, 7:47:56 AM10/9/14
to econsens...@googlegroups.com



Build of Econsensus from master branch now can Login (did manual activation)

In the log-file in .../django/econsensus/econsensus/econsensus-messages there
is an Internet address that looks like it corresponds to the link in an
email (that I did not receive) that would activate the um/pw that I tried
to, Sign up as a new member.

I first entered about:blank in the address-box of the browser just to clear things
and then copy-and-paste the above link from the above log file into the address-box.
Then my blank window has econsenus logo and, Your account has been activated. You
may now login and start using the system.

When I click on the login item in this message I got the admin-window for the
Econsensus apps with zero organisations listed as expected. Great, but I
should have realised that this much quicker. I'm happy for now.

Thanks Glyn (volunteer)


 

Hamish Downer

unread,
Oct 9, 2014, 7:53:52 AM10/9/14
to econsens...@googlegroups.com, Glyn Price
Hello Glyn

Quoting Glyn Price (2014-10-08 21:57:32)
> USED: TEST 1 (it was okay as far as I know)
> Used the internet address, http://127.0.0.1:8000/admin/, in the browser; a
> username/password window appeared; entered admin admin and got
> the Administration window. It seems okay, but as I do not know enough,
> I clicked on the, Log out, item. It returned to the earlier un/pw window.
> Question: What could I have clicked to test things?

Sounds like you did OK. The admin is more useful once you've done some
stuff as a front end user, so:

> USED: TEST 2
> Used the same internet address, without admin, http://127.0.0.1:8000/, in
> the browser;
> the Econsensus un/pw window appeared. This is the same window as for the
> public Econsensus (internet address, econsensus.org).
>
> When I used the un/pw I setup for myself when I was trying-out the public
> Econsensus
> in my built instance of Econsensus the following happened:
> first, brief activity at the bottom of the browser;
> second, a line with GET appeared in the terminal window;
> third, nothing. The window remained unchanged; and I did NOT get the the
> Econsensus
> window with Help | Your Organisation | Your Details | Logout etc
> etc(Discussions etc)
> Question: Are the username and password registered in Econsensus specific
> to each instance of Econsensus? This would explain the above.

Yes, they are specific to each instance.

> Should'n't it have reported an error saying that my un/pw are wrong?

Yes it should, I just tried on the live server and the same problem is
there. And I've just found we've already logged that as an issue:
https://github.com/aptivate/econsensus/issues/212

Maybe that's something you could try and fix :)

> USED: TEST 3
> When I click on the, Sign up as new member, in my built instance of
> Econsensus, the
> following happened:
> first, brief activity at the bottom of the browser;
> second, a line with GET appeared in the terminal window;
> third, a new window appeared with the message: You are now registered.
> Activation email
> sent. But when I looked in my email: nothing. I then looked in the folder,
> .../django/econsensus/econsensus/econsensus-messages, for a log-file. It
> had the information
> that an email had been sent to me and that the link in vaild for 7 days.
> Also no success with using my new us/pw.
> Question: Have I missed something? Surely I should have successfully
> registered a un/pw
> for my build of Econsensus and used the un/pw to open my build Econsensus
> and set up
> Organisatiion, Discussions etc? I think I need some help here.

Couple of things:

The email sending on a development server doesn't actually send an
email, but it appears you've found the email text.

You need to activate your account before you can use your account.
Hopefully the email text you've found will have the activation link,
although possibly it will have the wrong domain. You need to load the
link in your web browser to activate the user. Once you've done that
you can login.

Let us know how you go
Hamish

--
Hamish Downer
ham...@aptivate.org | Skype: dmishd | Personal Twitter: twitter.com/hgd20

Aptivate - Ethical IT for International Development | +44 (0)1223 967838
http://www.aptivate.org | Newsletter: bit.ly/TCbsm6 | Twitter: twitter.com/aptivateuk

Aptivate is a not-for-profit company registered in England and Wales with company number 04980791
Our registered address is 25 Signet Court, Swann's Road, Cambridge, UK, CB5 8LA

Glyn Price

unread,
Oct 9, 2014, 9:34:56 AM10/9/14
to econsens...@googlegroups.com, gglyn...@gmail.com
Hi Hamish

It worked as you said. Thanks Glyn

Tom Lord

unread,
Oct 13, 2014, 12:15:47 PM10/13/14
to econsens...@googlegroups.com
Just to let you know, we have the username / password fix ready on staging, just needs deploying to live once we've re-tested the functionality on there.

cheers,
Tom.
--
You received this message because you are subscribed to the Google Groups "econsensusdiscuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to econsensusdisc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
to...@aptivate.org | +44 (0)1223 967838

Aptivate - Ethical IT for International Development
Website: http://www.aptivate.org | Newsletter: http://bit.ly/TCbsm6 | Twitter: http://twitter.com/aptivateuk
Reply all
Reply to author
Forward
0 new messages