[p2pu-dev] Problem with first lernanta dev environment
zuzel.vp
zuzel.vp at gmail.com
Tue Apr 3 17:53:28 UTC 2012
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
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>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
> 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>)
>> * 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>
>> )
>> * 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>)
>> 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>> 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>
>>
>> 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>
>> >
>>
>> 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>>> 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>
>> >
>>
>> 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>>**>
>>
>> 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<p2pu-dev at lists.p2pu.org>
>> >
>> <mailto:p2pu-dev at lists.p2pu.__**org
>> <mailto:p2pu-dev at lists.p2pu.**org <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<p2pu-dev at lists.p2pu.org>
>> >
>> <mailto:p2pu-dev at lists.p2pu.__**org
>> <mailto:p2pu-dev at lists.p2pu.**org <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<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<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
>> 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<http://lists.p2pu.org/mailman/listinfo/p2pu-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20120403/929ecf2a/attachment.html>
More information about the p2pu-dev
mailing list