ubuntu-accomplishments-contributors team mailing list archive
-
ubuntu-accomplishments-contributors team
-
Mailing list archive
-
Message #00025
Re: Web editor
On 03/09/2012 01:36 AM, Janos Gyerik wrote:
Hi Jono,
Ah, I don't get that in my env. Based on the stack trace you pasted I
think I fixed it, please check. If there is another problem please
send me again the stack trace!
If your fix was the import then that was the problem. I made the same
change locally to fix it.
=== modified file 'editor/management/commands/checkaccom.py'
--- editor/management/commands/checkaccom.py 2012-03-09 07:07:39 +0000
+++ editor/management/commands/checkaccom.py 2012-03-09 07:39:16 +0000
@@ -1,6 +1,7 @@
import os
import ConfigParser
+from django.core.exceptions import ObjectDoesNotExist
from django.core.management.base import BaseCommand
from editor.models import Application, Accomplishment, Icon, Category
And remember, you have to re-run the checkaccom command every time
after you reinstall ~/accomplishments.
Cheers,
Janos
On Fri, Mar 9, 2012 at 8:17 AM, Jono Bacon <jono@xxxxxxxxxx
<mailto:jono@xxxxxxxxxx>> wrote:
Janos,
Just a quick note re. your recent code to run 'python manage.py
checkaccom' it complains about:
File
"/home/jono/source/branches/accomplishments-web-editor/editor/management/commands/checkaccom.py",
line 84, in handle
except ObjectDoesNotExist:
NameError: global name 'ObjectDoesNotExist' is not defined
As such, I haven't merged it in yet. When you are ready, just let me
know and I can merge it in.
Jono
--
Jono Bacon
Ubuntu Community Manager
www.ubuntu.com <http://www.ubuntu.com/> / www.jonobacon.org
<http://www.jonobacon.org/>
www.identi.ca/jonobacon <http://www.identi.ca/jonobacon>
www.twitter.com/jonobacon <http://www.twitter.com/jonobacon>
--
Mailing list:
https://launchpad.net/~ubuntu-accomplishments-contributors
<https://launchpad.net/%7Eubuntu-accomplishments-contributors>
Post to :
ubuntu-accomplishments-contributors@xxxxxxxxxxxxxxxxxxx
<mailto:ubuntu-accomplishments-contributors@xxxxxxxxxxxxxxxxxxx>
Unsubscribe :
https://launchpad.net/~ubuntu-accomplishments-contributors
<https://launchpad.net/%7Eubuntu-accomplishments-contributors>
More help : https://help.launchpad.net/ListHelp
--
Janos Gyerik
http://titan2x.com/
--
David Vestal
Follow ups
References