[p2pu-dev] Problem with first lernanta dev environment
Corbin Tarrant
Corbin at IAmCorbin.net
Wed Apr 4 06:25:40 UTC 2012
That works, shouldn't the number next to each tag not be including the
closed study groups in their count then since they will never be
displayed while closed?
------------------------
Corbin Tarrant
Corbin at iamcorbin.net
http://iamcorbin.net
------------------------
On Wed 04 Apr 2012 02:00:15 AM EDT, zuzel.vp wrote:
> Try to edit the signup on the study groups. It needs to be either
> non-moderated signup or moderated signup. It can't be closed signup if
> you want it to appear by default on the learn page (unless you pass
> closed_signup=on on the query string).
>
> On Tue, Apr 3, 2012 at 2:42 PM, Corbin Tarrant <Corbin at iamcorbin.net
> <mailto:Corbin at iamcorbin.net>> wrote:
>
> Yep, the test badge challenges and the study group I had created
> were all marked as "Under Development" so they weren't showing up.
>
> I unchecked those and the badge challenges appeared under view
> all. I still couldn't see the test study group I created though.
> Although it did list the two tags (div, test) (and had previously
> as well, while it was "Under Development"). I changed it to a
> challenge and sure enough it showed up. So is this a bug or is
> "View All" not supposed to show study groups? Either way I don't
> think it should say under tags: div(1) test(1) and then give zero
> results when clicked.
>
>
>
> ------------------------
> Corbin Tarrant
> Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>
> http://iamcorbin.net
> ------------------------
>
>
>
> On Tue 03 Apr 2012 01:53:28 PM EDT, zuzel.vp wrote:
>
>
> Thats odd. 'FORCE_DB=True python manage.py test' should run
> the tests
> not change your dev environment but happy the error is gone. The
> courses are probably going to show up if you visit
> http://127.0.0.1:8000/groups?__all_languages=on&under___development=on&closed_signup=__on
> <http://127.0.0.1:8000/groups?all_languages=on&under_development=on&closed_signup=on>
>
> <http://127.0.0.1:8000/groups?__all_languages=on&under___development=on&closed_signup=__on
> <http://127.0.0.1:8000/groups?all_languages=on&under_development=on&closed_signup=on>>
>
> or change the courses status so they are not under development
> and are
> open for signup (i.e. are challenges or have their
> sign_up.status set
> to moderated or non-moderated signup.
>
> --
> Thanks,
> Zuzel
>
> On Tue, Apr 3, 2012 at 11:54 AM, Corbin Tarrant
> <Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>>>
> wrote:
>
> pip install -U bleach
>
>
> Requirement already up-to-date: bleach
> That didn't work, but Dirk commented in the P2PU: lernanta group
> and suggested:
>
> Try running: FORCE_DB=True python manage.py test
>
> It worked and fixed everything, I can create new groups and add
> comments without error now.
>
> although, none of the courses are showing up in the Learn section.
> Even if I click "View All" it shows nothing. I can only find the
> courses through my user dashboard
>
>
> ------------------------
> Corbin Tarrant
> Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>>
> http://iamcorbin.net
> ------------------------
>
> On Tue 03 Apr 2012 09:54:34 AM EDT, zuzel.vp wrote:
>
> Hi,
>
> Sorry for the delay. My findings while debuging
> http://pastie.org/3669916 :
>
> * the version of bleach on Corbin's fork of lernanta is 1.1.0
> (https://github.com/IAmCorbin/____lernanta/blob/master/__lernanta/__requirements/prod.__txt#L13
> <https://github.com/IAmCorbin/__lernanta/blob/master/lernanta/__requirements/prod.txt#L13>
>
> <https://github.com/IAmCorbin/__lernanta/blob/master/lernanta/__requirements/prod.txt#L13
> <https://github.com/IAmCorbin/lernanta/blob/master/lernanta/requirements/prod.txt#L13>>
> )
> * the version of bleach on the main lernanta branch is 1.1.1
> (https://github.com/p2pu/____lernanta/blob/master/lernanta/____requirements/prod.txt#L13
> <https://github.com/p2pu/__lernanta/blob/master/lernanta/__requirements/prod.txt#L13>
> <https://github.com/p2pu/__lernanta/blob/master/lernanta/__requirements/prod.txt#L13
> <https://github.com/p2pu/lernanta/blob/master/lernanta/requirements/prod.txt#L13>>)
>
> * was able to reproduce the error (http://pastie.org/3720862)
> Corbin is getting by unistalling bleach 1.1.1 on my dev env
> and installing bleach 1.1.0
>
> Next steps:
>
> * Try to update your fork
> (https://github.com/p2pu/____lernanta/wiki/Github-Cheat-____Sheet
> <https://github.com/p2pu/__lernanta/wiki/Github-Cheat-__Sheet>
> <https://github.com/p2pu/__lernanta/wiki/Github-Cheat-__Sheet
> <https://github.com/p2pu/lernanta/wiki/Github-Cheat-Sheet>>) by
>
> fetching and merging from upstream.
> * Try to install the latest version of bleach by running 'pip
> install -U bleach'
>
> Let me know how it goes.
>
> --
> Thanks,
> Zuzel
>
> On Tue, Mar 27, 2012 at 3:08 PM, Corbin Tarrant
> <Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>>>__>
> wrote:
>
> This works to get some initial data into the system but I still
> can't edit anything on the dev site. If I try and edit one of
> those challenges that were created I get:
> TypeError at /groups/test-webmaking-101/______edit/
>
>
>
> Trying to add a message to the discussion tab gives me:
> TypeError at /statuses/create/groups/1/
>
> Thanks for the help,
>
> ------------------------
> Corbin Tarrant
> Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>>>
>
>
> http://iamcorbin.net
> ------------------------
>
>
> On Mon 26 Mar 2012 04:35:16 AM EDT, Prasanth wrote:
>
> Hello,
>
> I had reported this error. Since in reply it was mentioned
> that the admin site is not used in that particular way,
> I used
> the reply to another of my query to create initial data to
> play with:
>
> http://lists.p2pu.org/______pipermail/p2pu-dev/2012-______February/002446.html
> <http://lists.p2pu.org/____pipermail/p2pu-dev/2012-____February/002446.html>
> <http://lists.p2pu.org/____pipermail/p2pu-dev/2012-____February/002446.html
> <http://lists.p2pu.org/__pipermail/p2pu-dev/2012-__February/002446.html>>
>
>
> <http://lists.p2pu.org/____pipermail/p2pu-dev/2012-____February/002446.html
> <http://lists.p2pu.org/__pipermail/p2pu-dev/2012-__February/002446.html>
> <http://lists.p2pu.org/__pipermail/p2pu-dev/2012-__February/002446.html
> <http://lists.p2pu.org/pipermail/p2pu-dev/2012-February/002446.html>>>
>
> Perhaps that solution will work in this case also.
>
> Regards,
> Prasanth
>
> On Mon, Mar 26, 2012 at 9:54 AM, zuzel.vp
> <zuzel.vp at gmail.com <mailto:zuzel.vp at gmail.com>
> <mailto:zuzel.vp at gmail.com <mailto:zuzel.vp at gmail.com>>
> <mailto:zuzel.vp at gmail.com <mailto:zuzel.vp at gmail.com>
> <mailto:zuzel.vp at gmail.com <mailto:zuzel.vp at gmail.com>>>
> <mailto:zuzel.vp at gmail.com <mailto:zuzel.vp at gmail.com>
> <mailto:zuzel.vp at gmail.com <mailto:zuzel.vp at gmail.com>>
>
> <mailto:zuzel.vp at gmail.com <mailto:zuzel.vp at gmail.com>
> <mailto:zuzel.vp at gmail.com <mailto:zuzel.vp at gmail.com>>>>> wrote:
>
> My bad the place where I saw the error was:
> http://lists.p2pu.org/______pipermail/p2pu-dev/2012-______February/002444.html
> <http://lists.p2pu.org/____pipermail/p2pu-dev/2012-____February/002444.html>
> <http://lists.p2pu.org/____pipermail/p2pu-dev/2012-____February/002444.html
> <http://lists.p2pu.org/__pipermail/p2pu-dev/2012-__February/002444.html>>
>
>
> <http://lists.p2pu.org/____pipermail/p2pu-dev/2012-____February/002444.html
> <http://lists.p2pu.org/__pipermail/p2pu-dev/2012-__February/002444.html>
> <http://lists.p2pu.org/__pipermail/p2pu-dev/2012-__February/002444.html
> <http://lists.p2pu.org/pipermail/p2pu-dev/2012-February/002444.html>>>
>
> I will get back to you tomorrow morning (EST).
>
> On Fri, Mar 23, 2012 at 2:59 PM, Corbin Tarrant
> <Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>>>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>
> <mailto:Corbin at iamcorbin.net <mailto:Corbin at iamcorbin.net>>>__>__>
>
>
> wrote:
> > Hello everyone,
> >
> > I'm just getting started and have joined the p2pu lernanta study
> group and
> > have posted a problem I'm having there and I'm still hung up
> on it:
> > ______________________
> > ______________________
> > Corbin Tarrant March 19, 2012, 5:36 p.m.
> > I'm trying to play around with my local dev environment and need
> to create
> > some dummy content but when I try and create a study group(same
> error when I
> > change it to a course or challenge) it gives me this error when
> I try and
> > submit the form:
> >
> > TypeError at /groups/create/
> > __init__() got an unexpected keyword argument 'parser'
> >
> >
> > Jos March 19, 2012, 5:42 p.m.
> > Hey Corbin, seems like your DB is out of sync with your models.
> Have you run
> > migrations as?
> >
> > python manage.py migrate --all --delete-ghost-migrations
> > More info in the cheat sheet.
> >
> >
> > Corbin Tarrant March 19, 2012, 11:25 p.m.
> > I had not tried that command yet, I ran it but am still getting
> the same
> > error.
> >
> > I also tried: python manage.py test
> >
> > and it tells me: FAILED (errors=42)
> >
> > it looks like a lot of the errors are: DatabaseError: no
> such table:
> > users_userprofile
> >
> > also, running: ./sh/schemamigration
> >
> > goes through all the tables telling me "Nothing seems to have
> changed"
> >
> > --
> > Corbin Tarrant
> > Corbin at IAmCorbin.net
> > http://iamcorbin.net
> >
> >
> > _____________________________________________________
>
>
> > p2pu-dev mailing list
> > p2pu-dev at lists.p2pu.org <mailto:p2pu-dev at lists.p2pu.org>
> <mailto:p2pu-dev at lists.p2pu.__org
> <mailto:p2pu-dev at lists.p2pu.org>>
> <mailto:p2pu-dev at lists.p2pu. <mailto:p2pu-dev at lists.p2pu.>____org
> <mailto:p2pu-dev at lists.p2pu.__org
> <mailto:p2pu-dev at lists.p2pu.org>>>
> <mailto:p2pu-dev at lists.p2pu <mailto:p2pu-dev at lists.p2pu>.
> <mailto:p2pu-dev at lists.p2pu
> <mailto:p2pu-dev at lists.p2pu>.>______org
> <mailto:p2pu-dev at lists.p2pu. <mailto:p2pu-dev at lists.p2pu.>____org
> <mailto:p2pu-dev at lists.p2pu.__org
> <mailto:p2pu-dev at lists.p2pu.org>>>>
>
> > http://lists.p2pu.org/mailman/______listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/____listinfo/p2pu-dev>
> <http://lists.p2pu.org/__mailman/__listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/__listinfo/p2pu-dev>>
> <http://lists.p2pu.org/____mailman/listinfo/p2pu-dev
> <http://lists.p2pu.org/__mailman/listinfo/p2pu-dev>
> <http://lists.p2pu.org/__mailman/listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/listinfo/p2pu-dev>>>
> >
> _____________________________________________________
>
>
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org <mailto:p2pu-dev at lists.p2pu.org>
> <mailto:p2pu-dev at lists.p2pu.__org
> <mailto:p2pu-dev at lists.p2pu.org>>
> <mailto:p2pu-dev at lists.p2pu. <mailto:p2pu-dev at lists.p2pu.>____org
> <mailto:p2pu-dev at lists.p2pu.__org
> <mailto:p2pu-dev at lists.p2pu.org>>>
> <mailto:p2pu-dev at lists.p2pu <mailto:p2pu-dev at lists.p2pu>.
> <mailto:p2pu-dev at lists.p2pu
> <mailto:p2pu-dev at lists.p2pu>.>______org
> <mailto:p2pu-dev at lists.p2pu. <mailto:p2pu-dev at lists.p2pu.>____org
> <mailto:p2pu-dev at lists.p2pu.__org
> <mailto:p2pu-dev at lists.p2pu.org>>>>
>
> http://lists.p2pu.org/mailman/______listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/____listinfo/p2pu-dev>
> <http://lists.p2pu.org/__mailman/__listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/__listinfo/p2pu-dev>>
> <http://lists.p2pu.org/____mailman/listinfo/p2pu-dev
> <http://lists.p2pu.org/__mailman/listinfo/p2pu-dev>
> <http://lists.p2pu.org/__mailman/listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/listinfo/p2pu-dev>>>
>
>
>
>
> _____________________________________________________
>
>
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org <mailto:p2pu-dev at lists.p2pu.org>
> <mailto:p2pu-dev at lists.p2pu.__org
> <mailto:p2pu-dev at lists.p2pu.org>>
> <mailto:p2pu-dev at lists.p2pu. <mailto:p2pu-dev at lists.p2pu.>____org
> <mailto:p2pu-dev at lists.p2pu.__org
> <mailto:p2pu-dev at lists.p2pu.org>>>
> http://lists.p2pu.org/mailman/______listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/____listinfo/p2pu-dev>
> <http://lists.p2pu.org/__mailman/__listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/__listinfo/p2pu-dev>>
> <http://lists.p2pu.org/____mailman/listinfo/p2pu-dev
> <http://lists.p2pu.org/__mailman/listinfo/p2pu-dev>
> <http://lists.p2pu.org/__mailman/listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/listinfo/p2pu-dev>>>
>
> _____________________________________________________
>
>
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org <mailto:p2pu-dev at lists.p2pu.org>
> <mailto:p2pu-dev at lists.p2pu.__org
> <mailto:p2pu-dev at lists.p2pu.org>>
> <mailto:p2pu-dev at lists.p2pu. <mailto:p2pu-dev at lists.p2pu.>____org
> <mailto:p2pu-dev at lists.p2pu.__org
> <mailto:p2pu-dev at lists.p2pu.org>>>
> http://lists.p2pu.org/mailman/______listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/____listinfo/p2pu-dev>
> <http://lists.p2pu.org/__mailman/__listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/__listinfo/p2pu-dev>>
>
> <http://lists.p2pu.org/____mailman/listinfo/p2pu-dev
> <http://lists.p2pu.org/__mailman/listinfo/p2pu-dev>
>
> <http://lists.p2pu.org/__mailman/listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/listinfo/p2pu-dev>>>
>
>
>
>
> ___________________________________________________
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org <mailto:p2pu-dev at lists.p2pu.org>
> <mailto:p2pu-dev at lists.p2pu.__org
> <mailto:p2pu-dev at lists.p2pu.org>>
> http://lists.p2pu.org/mailman/____listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/__listinfo/p2pu-dev>
> <http://lists.p2pu.org/__mailman/listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/listinfo/p2pu-dev>>
>
> ___________________________________________________
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org <mailto:p2pu-dev at lists.p2pu.org>
> <mailto:p2pu-dev at lists.p2pu.__org
> <mailto:p2pu-dev at lists.p2pu.org>>
> http://lists.p2pu.org/mailman/____listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/__listinfo/p2pu-dev>
> <http://lists.p2pu.org/__mailman/listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/listinfo/p2pu-dev>>
>
>
>
>
> _________________________________________________
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org <mailto:p2pu-dev at lists.p2pu.org>
> http://lists.p2pu.org/mailman/__listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/listinfo/p2pu-dev>
>
> _________________________________________________
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org <mailto:p2pu-dev at lists.p2pu.org>
> http://lists.p2pu.org/mailman/__listinfo/p2pu-dev
> <http://lists.p2pu.org/mailman/listinfo/p2pu-dev>
>
>
>
>
> _______________________________________________
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org
> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
More information about the p2pu-dev
mailing list