General Discussion

The duck's 12 step program. Post here if you found a bug/design error.
jtmailinator at 4:15PM, July 17, 2011
(online)
posts: 2
joined: 8-4-2010
Running firefox,
unsupported operand type(s) for -: ‘datetime.date’ and ‘NoneType’


places that worked this afternoon don't work now.
tRickityHouses at 4:16PM, July 17, 2011
(offline)
posts: 20
joined: 12-9-2006
not sureif anyone took note of this porblem with the page organization menu. im on google chrome.

as u can see the “comic page 145” is stuck on page 1. its impossible to move it to page 2. It is essentially stuck on page 1 like an island and theres no way to move them to different pages. The top of the list is the same way. just wanted to put that out there. I have a few fillers that I like to plop down and then shift to the end of the chapter when I'm done but now i can't and its kinda stuck on random locations.

fukujinzuke at 5:01PM, July 17, 2011
(online)
posts: 271
joined: 9-3-2008
My animated .gif pages are no longer animated… It just shows only the first frame.
Mentioned this in a couple of other places, but User Control Panel –> Comics Assisted by (me) –> Edit –> Pages –> (select any page) Edit
… is not working. Yesterday it lead to 502 Bad Gateway. Today it leads to a long page of code that starts with
“NameError at /comics/edit_page/5343167/
global name ‘comic’ is not defined”

and ends with
“You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard 500 page.”
Salsa at 5:33PM, July 17, 2011
(offline)
posts: 2,384
joined: 7-10-2008
fukujinzuke wrote:
My animated .gif pages are no longer animated… It just shows only the first frame.
Mentioned this in a couple of other places, but User Control Panel –> Comics Assisted by (me) –> Edit –> Pages –> (select any page) Edit
… is not working. Yesterday it lead to 502 Bad Gateway. Today it leads to a long page of code that starts with
“NameError at /comics/edit_page/5343167/
global name ‘comic’ is not defined”

and ends with
“You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard 500 page.” 
They converted everything to Jpeg. So yeah no animated comics, which is one of th ethings that only webcomics can do.
RAGE!
fukujinzuke at 5:39PM, July 17, 2011
(online)
posts: 271
joined: 9-3-2008
Ah, okay. I knew they were cutting out the flash, but didn't know they were cutting out animated gifs too. boo.
herio at 5:41PM, July 17, 2011
(online)
posts: 702
joined: 1-7-2006
OnlyFoolsAndVikings wrote:
@Herio
 
Oh wow. That's really… really weird. Is it coming up every time you try to do anything?
its happend when i frst loged in and only onice with page uploads
I Am The 1337 Master at 5:44PM, July 17, 2011
(offline)
posts: 3,785
joined: 1-16-2009
^ but did any of you have a comic full of swf's?
…I didn't think so. :P
And I think the “recently update” system is messed up because it says that a comic in which all I did was edit the comic's info and yet it thinks that it updated.
also, harkovast keeps rising up there even though it has only gotten a bunch of comments, not a billion pages.
Darwin at 6:02PM, July 17, 2011
(online)
posts: 611
joined: 4-25-2006
I wanted to pop back in here and say “Thanks” for taking a look at and then fixing the things I mentioned (Esp. Fave lists defaulting open.) I immediately noticed the changes when I got on today.  I wasn't sure you were able to get to them because I didn't see a response and my post got buried pretty quickly.
I will let you know that I am  running Firefox and I noted also that the threads in the forum are properly formated in my browser.  (BTW I am not going to grab chrome just because you say so…Isa like my firefox thanks.)  I will check the formatting of the images/text on the comic pages when I can get back in them.
On my MCP (UCP?) I notice that that is also working properly (IE displaying images/text properly.  Images locker still won't let me upload anything. So that's still on the list!
The problems of not being able to view the comics have come back however, (I was able to get in them yesterday and customize, but I wanted to look at the fave lists for the comics to be sure they were similarly fixed.)  It gives me a “Type error message”
Okay that's my input for today!
seventy2 at 6:09PM, July 17, 2011
(online)
posts: 3,953
joined: 11-15-2007
when this happens

it causes this

Somewhere along the line, The code is broken and causes misalignment. 
GoogleChrome 12.0.74
Windows 7
facara
Running Anew an exercise blog.
I'm gonna love you till the money comes, half of it's gonna be mine someday.
I Am The 1337 Master at 6:14PM, July 17, 2011
(offline)
posts: 3,785
joined: 1-16-2009
seventy2 wrote:

it causes this

CURSE YOU ONLYFOOLS AND VIKINGS!!!
>:(
OnlyFoolsAndVikings at 6:24PM, July 17, 2011
(online)
posts: 549
joined: 5-25-2010
IT WASN'T ME I SWEAR
IT WAS AN IMPOSTER!!
 
But that's happening to me as well! D: I'm using Windows 7 and IE.
of all the things I've lost I miss my mind the most.
EXCUSE ME WHILE I STROKE MY MOUSTACHE IN A SUGGESTIVE MANNER!
hpkomic at 6:34PM, July 17, 2011
(online)
posts: 943
joined: 1-1-2006
I accidentally deleted a comic of mine, but I am unable to rebuild it because every time I try to enter the title using the “create” feature I get that the name still exists. I am unsure if this is a bug or not.
I Am The 1337 Master at 6:49PM, July 17, 2011
(offline)
posts: 3,785
joined: 1-16-2009

OnlyFoolsAndVikings
wrote:
IT WASN'T ME I SWEAR
IT WAS AN IMPOSTER!!
 But that's happening to me as well! D: I'm using Windows 7 and IE.
 Save it for the Judge.

And yeah, it's happening on IE 8 and Chrome (latest so…whatever the number is…). not too often though. just now and then.
  

@HPKOMIC: that used to randomly happen when we had the old site. sometimes it'd let you and then sometimes it wouldn't.
I can't complain, I made and deleted the same comic about…five times…(speaking of which…might revive that…)
last edited on July 17, 2011 6:52PM
srhdt at 7:19PM, July 17, 2011
(online)
posts: 106
joined: 4-5-2007
I'll post a more detailed update tomorrow in the news, but the following should be fixed now:

Profile comments were re-imported and should be correct
Users over 18 should be able to view ‘A’ rated comics
Login names are no longer case sensitive
drunkduck.com/community now leads to the forums
PQ's work, but we still need to re-import old ones
Gunwallace at 9:18PM, July 17, 2011
(offline)
posts: 236
joined: 10-13-2010
You're probably aware of this, but …
Can no longer view ANY comic page on any browser (Safari, Firefox and Chrome all give the same error) on a Mac (OS 10.5.8).  The error is very long (too long to post here), but the first lines are …

TypeError at /Utterly_Rucked/
unsupported operand type(s) for -: ‘datetime.date’ and ‘NoneType’
David ‘Gunwallace’ Tulloch, www.virtuallycomics.com
jayhawke at 9:30PM, July 17, 2011
(online)
posts: 2
joined: 10-13-2010
Problem! getting this message with all comics…
TypeError at /SHELL/
unsupported operand type(s) for -: ‘datetime.date’ and ‘NoneType’

I think something when “BLAMM!” again….
El Cid at 9:38PM, July 17, 2011
(online)
posts: 946
joined: 5-4-2009
For what it's worth:
 
PC, Windows 7, 64 bit, Google Chrome
 
All comics displaying fine for me.
 
EDIT: Comics display fine for me in IE and Firefox as well. Are you guys both using Macs?
last edited on July 17, 2011 9:39PM
SLK8ne at 9:54PM, July 17, 2011
(online)
posts: 29
joined: 3-5-2011
I've had similar errors to this all night. As well as 502 errors. Now when I try and get into the comics section I get the following error:
TemplateSyntaxError at /search/
Caught TypeError while rendering: unsupported operand type(s) for -: ‘datetime.date’ and ‘NoneType’



Request Method:
GET


Request URL:
http://www.drunkduck.com/search/


Django Version:
1.3


Exception Type:
TemplateSyntaxError


Exception Value:

Caught TypeError while rendering: unsupported operand type(s) for -: ‘datetime.date’ and ‘NoneType’



Exception Location:
/home/duck/public/drunkduck/users/templatetags/user_tags.py in is_mature, line 14


Python Executable:
/home/duck/public/drunkduck/


Python Version:
2.6.5


Python Path:

['/home/duck/public/drunkduck',
‘.’,
‘',
’/usr/local/lib/python2.6/dist-packages/pip-0.8.3-py2.6.egg',
‘/usr/lib/python2.6’,
‘/usr/lib/python2.6/plat-linux2’,
‘/usr/lib/python2.6/lib-tk’,
‘/usr/lib/python2.6/lib-old’,
‘/usr/lib/python2.6/lib-dynload’,
‘/usr/lib/python2.6/dist-packages’,
‘/usr/lib/python2.6/dist-packages/PIL’,
‘/usr/lib/pymodules/python2.6’,
‘/usr/local/lib/python2.6/dist-packages’,
‘/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg-info’,
‘/home/duck/public/drunkduck’]



Server time: 

 

Sun, 17 Jul 2011 21:52:02 -0700



 
last edited on July 17, 2011 9:56PM
SLK8ne at 9:54PM, July 17, 2011
(online)
posts: 29
joined: 3-5-2011
sorry for the double reply
last edited on July 17, 2011 9:57PM
Nicotine at 9:56PM, July 17, 2011
(online)
posts: 494
joined: 6-18-2007
I don't know if this has already been said because I don't have time to trudge through this thread, but I cannot edit anything on my webcomic page.  I change things but when I press save then cancel the changed don't hold.  Also, there is no way for me to change the background of my page.
I use a Mac, latest edition OS, Safari.
I don't want to leave this site, but I can't use it if simple function like these don't work. D:
El Cid at 10:00PM, July 17, 2011
(online)
posts: 946
joined: 5-4-2009
I had those problems too until I tried running the site on Google Chrome. You might give that a try?
Anubis at 11:06PM, July 17, 2011
(online)
posts: 100
joined: 12-29-2006
The update thing is still down. Still saying my last update was teh 15th  but I know I updated on the 16th and 17th  and one comming up on the 18th.  
Bloody Kisses says it updated june 6th  but I have done updates after that as well on teh 15th  and one due on the 18th
Nicotine at 11:19PM, July 17, 2011
(online)
posts: 494
joined: 6-18-2007
El Cid wrote:
I had those problems too until I tried running the site on Google Chrome. You might give that a try?

Thanks, that seems to have solved the problem.  They should look into how all the controls work on Safari because things are a little wonky there.
TBustah at 11:24PM, July 17, 2011
(online)
posts: 8
joined: 10-24-2006
This:
OnlyFoolsAndVikings at 11:50PM, July 17, 2011
(online)
posts: 549
joined: 5-25-2010
that picture reminds me of the world's worst game of Tetris.
of all the things I've lost I miss my mind the most.
EXCUSE ME WHILE I STROKE MY MOUSTACHE IN A SUGGESTIVE MANNER!
plymayer at 11:55PM, July 17, 2011
(online)
posts: 34
joined: 11-5-2008
At this point I can't really do anything with the comics.
                
Can't read them (of any rating). Can't access my own (so there's no way to know if I will have the same uploading/formating/etc problems most others are having).
          
What I can do is send and receive PQs and post to the forums. Others don't seem to be able to do that so it's something I guess.
            
I've attempted everything from Firefox, IE and Chrome.
          
Going to wait and see what happens. Maybe the powers that be will fix the problems soon.
       
I like DD and looking at the other (free) webcomic hosts, I don't want to leave. Although, like 80% of the folks here I hate the new colors.  I can live with them.
     
Don't want to the pay site thing. I'd have to go about getting advertising etc to manage it and that would just take the fun out of it.
last edited on July 17, 2011 11:56PM
plymayer at 12:21AM, July 18, 2011
(online)
posts: 34
joined: 11-5-2008
srhdt wrote:
I'll post a more detailed update tomorrow in the news, but the following should be fixed now:

Users over 18 should be able to view ‘A’ rated comics




Not for me it isn't.  


                       


In fact, I can't access any comics at all of any rating.  I've tried IE, Firefox and Chrome.

 
MrHades at 12:34AM, July 18, 2011
(online)
posts: 174
joined: 1-25-2008
fukujinzuke wrote:My animated .gif pages are no longer animated… It just shows only the first frame.Mentioned this in a couple of other places, but User Control Panel –> Comics Assisted by (me) –> Edit –> Pages –> (select any page) Edit… is not working. Yesterday it lead to 502 Bad Gateway. Today it leads to a long page of code that starts with“NameError at /comics/edit_page/5343167/global name ‘comic’ is not defined”…and ends with“You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.”

I got this error too when I tried to view how my next comic page would look on the edit page. The thumbnailif the next page which is due to go up on Wednesday looks like it has been squashed vertically.

Also, is there a guide to all the new features and such we can look at/refer to? I took a quick look, but I don't have a lot of time on my hands at the moment and came up short.
Hey, why not follow me on Twitter? User name: @THE_MrHades
bravo1102 at 1:00AM, July 18, 2011
(online)
posts: 3,224
joined: 1-21-2008

TypeError at /Mask_of_the_Aryans/
unsupported operand type(s) for -: ‘datetime.date’ and ‘NoneType’



Request Method:
GET


Request URL:
http://www.drunkduck.com/Mask_of_the_Aryans/


Django Version:
1.3


Exception Type:
TypeError


Exception Value:

unsupported operand type(s) for -: ‘datetime.date’ and ‘NoneType’



Exception Location:
/home/duck/public/drunkduck/users/templatetags/user_tags.py in is_mature, line 14


Python Executable:
/home/duck/public/drunkduck/


Python Version:
2.6.5


Python Path:

['/home/duck/public/drunkduck',
‘.’,
‘',
’/usr/local/lib/python2.6/dist-packages/pip-0.8.3-py2.6.egg',
‘/usr/lib/python2.6’,
‘/usr/lib/python2.6/plat-linux2’,
‘/usr/lib/python2.6/lib-tk’,
‘/usr/lib/python2.6/lib-old’,
‘/usr/lib/python2.6/lib-dynload’,
‘/usr/lib/python2.6/dist-packages’,
‘/usr/lib/python2.6/dist-packages/PIL’,
‘/usr/lib/pymodules/python2.6’,
‘/usr/local/lib/python2.6/dist-packages’,
‘/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg-info’,
‘/home/duck/public/drunkduck’]



Server time:
Mon, 18 Jul 2011 00:56:59 -0700





Traceback Switch to copy-and-paste view


/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py in get_response


for middleware_method in self._view_middleware:


response = middleware_method(request, callback, callback_args, callback_kwargs)


if response:


break



if response is None:


try:



response = callback(request, *callback_args, **callback_kwargs)



except Exception, e:


# If the view raised an exception, run it through exception


# middleware, and if the exception middleware returns a


# response, use that. Otherwise, reraise the exception.


for middleware_method in self._exception_middleware:


response = middleware_method(request, e)


Local vars



VariableValue




exceptions





e

TypeError(“unsupported operand type(s) for -: ‘datetime.date’ and ‘NoneType’”,)



callback_args

()



receivers





middleware_method

>



self





settings





request

,
POST:,
COOKIES:{'HstCla1192225': ‘1309256700203’,
‘HstCns1192225’: ‘2’,
‘HstCnv1192225’: ‘2’,
‘HstPn1192225’: ‘3’,
‘HstPt1192225’: ‘4’,
‘TMedia’: ‘Coun%3ANA/Postal%3ANA/’,
‘TMediaISP’: ‘NA’,
‘__gads’: ‘ID=70936caa60423843:T=1289494496:S=ALNI_Mbb7HUpBDhn1Y9LheQGLnykz69pMw’,
‘__qca’: ‘P0-704019193-1289494416109’,
‘__switchTo5x’: ‘6’,
‘__unam’: ‘7639673-12cceb27a99-28517e7a-16’,
‘__utma’: ‘157871727.1741094225.1289494415.1310718254.1310974240.380’,
‘__utmb’: ‘157871727.279.0.1310975804921’,
‘__utmc’: ‘157871727’,
‘__utmz’: ‘157871727.1310974240.380.49.utmcsr=comicfury.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum/viewthread.php’,
‘csrftoken’: ‘bb0fc0a836f5435861431545c23ecf6e’,
‘rsi_segs’: ‘B11159_10001|B11159_10011’,
‘sessionid’: ‘f4b99066cd3cd75a9879792ea4e5dc56’,
‘ttime’: ‘1310718204’,
‘wawtime’: ‘1294830243’},
META:{'CONTENT_LENGTH': ‘',
’CONTENT_TYPE': ‘',
’CSRF_COOKIE': ‘bb0fc0a836f5435861431545c23ecf6e’,
‘DOCUMENT_ROOT’: ‘/usr/local/nginx/html’,
‘HTTP_ACCEPT’: ‘image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*’,
‘HTTP_ACCEPT_ENCODING’: ‘gzip, deflate’,
‘HTTP_ACCEPT_LANGUAGE’: ‘en-us’,
‘HTTP_CONNECTION’: ‘Keep-Alive’,
‘HTTP_COOKIE’: ‘TMedia=Coun%3ANA/Postal%3ANA/; TMediaISP=NA; HstCla1192225=1309256700203; HstPn1192225=3; HstPt1192225=4; HstCnv1192225=2; HstCns1192225=2; TMedia=Coun%3ANA/Postal%3ANA/; TMediaISP=NA; csrftoken=bb0fc0a836f5435861431545c23ecf6e; sessionid=f4b99066cd3cd75a9879792ea4e5dc56; __utmc=157871727; ttime=1310718204; __utma=157871727.1741094225.1289494415.1310718254.1310974240.380; __utmz=157871727.1310974240.380.49.utmcsr=comicfury.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum/viewthread.php; __qca=P0-704019193-1289494416109; __gads=ID=70936caa60423843:T=1289494496:S=ALNI_Mbb7HUpBDhn1Y9LheQGLnykz69pMw; __unam=7639673-12cceb27a99-28517e7a-16; wawtime=1294830243; __switchTo5x=6; rsi_segs=B11159_10001|B11159_10011; __utmb=157871727.279.0.1310975804921’,
‘HTTP_HOST’: ‘www.drunkduck.com’,
‘HTTP_REFERER’: 'http://www.drunkduck.com/forum/topic/169969/?page=6',
‘HTTP_USER_AGENT’: ‘Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB7.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; Media Center PC 4.0)’,
‘PATH_INFO’: u'/Mask_of_the_Aryans/',
‘QUERY_STRING’: ‘',
’REMOTE_ADDR': ‘173.54.97.57’,
‘REMOTE_PORT’: ‘1630’,
‘REQUEST_METHOD’: ‘GET’,
‘REQUEST_URI’: ‘/Mask_of_the_Aryans/’,
‘SCRIPT_NAME’: u'',
‘SERVER_NAME’: ‘www.drunkduck.com’,
‘SERVER_PORT’: ‘80’,
‘SERVER_PROTOCOL’: ‘HTTP/1.1’,
‘uwsgi.version’: ‘0.9.7’,
‘wsgi.errors’: ,
‘wsgi.file_wrapper’: ,
‘wsgi.input’: ,
‘wsgi.multiprocess’: True,
‘wsgi.multithread’: False,
‘wsgi.run_once’: False,
‘wsgi.url_scheme’: ‘http’,
‘wsgi.version’: (1, 0)}>



callback





resolver





urlresolvers





callback_kwargs

{'slug': u'Mask_of_the_Aryans'}



response

None



urlconf

'urls'





/home/duck/public/drunkduck/comics/views.py in comic_page



def comic_page(request, slug, page_id=None):





try:


comic = Comic.objects.get(slug__iexact=slug, is_deleted=False)


except:


return HttpResponseNotFound()



if not is_mature(request.user) and comic.rating == ‘A’:



return HttpResponseRedirect('/errors/age/')


pages = comic.pages.filter(is_deleted=False, post_date__lte=datetime.now()).order_by('order_id')


page_count = pages.count()


if page_count == 0:


return HttpResponseRedirect('/errors/nopages/')





Local vars



VariableValue




request

,
POST:,
COOKIES:{'HstCla1192225': ‘1309256700203’,
‘HstCns1192225’: ‘2’,
‘HstCnv1192225’: ‘2’,
‘HstPn1192225’: ‘3’,
‘HstPt1192225’: ‘4’,
‘TMedia’: ‘Coun%3ANA/Postal%3ANA/’,
‘TMediaISP’: ‘NA’,
‘__gads’: ‘ID=70936caa60423843:T=1289494496:S=ALNI_Mbb7HUpBDhn1Y9LheQGLnykz69pMw’,
‘__qca’: ‘P0-704019193-1289494416109’,
‘__switchTo5x’: ‘6’,
‘__unam’: ‘7639673-12cceb27a99-28517e7a-16’,
‘__utma’: ‘157871727.1741094225.1289494415.1310718254.1310974240.380’,
‘__utmb’: ‘157871727.279.0.1310975804921’,
‘__utmc’: ‘157871727’,
‘__utmz’: ‘157871727.1310974240.380.49.utmcsr=comicfury.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum/viewthread.php’,
‘csrftoken’: ‘bb0fc0a836f5435861431545c23ecf6e’,
‘rsi_segs’: ‘B11159_10001|B11159_10011’,
‘sessionid’: ‘f4b99066cd3cd75a9879792ea4e5dc56’,
‘ttime’: ‘1310718204’,
‘wawtime’: ‘1294830243’},
META:{'CONTENT_LENGTH': ‘',
’CONTENT_TYPE': ‘',
’CSRF_COOKIE': ‘bb0fc0a836f5435861431545c23ecf6e’,
‘DOCUMENT_ROOT’: ‘/usr/local/nginx/html’,
‘HTTP_ACCEPT’: ‘image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*’,
‘HTTP_ACCEPT_ENCODING’: ‘gzip, deflate’,
‘HTTP_ACCEPT_LANGUAGE’: ‘en-us’,
‘HTTP_CONNECTION’: ‘Keep-Alive’,
‘HTTP_COOKIE’: ‘TMedia=Coun%3ANA/Postal%3ANA/; TMediaISP=NA; HstCla1192225=1309256700203; HstPn1192225=3; HstPt1192225=4; HstCnv1192225=2; HstCns1192225=2; TMedia=Coun%3ANA/Postal%3ANA/; TMediaISP=NA; csrftoken=bb0fc0a836f5435861431545c23ecf6e; sessionid=f4b99066cd3cd75a9879792ea4e5dc56; __utmc=157871727; ttime=1310718204; __utma=157871727.1741094225.1289494415.1310718254.1310974240.380; __utmz=157871727.1310974240.380.49.utmcsr=comicfury.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum/viewthread.php; __qca=P0-704019193-1289494416109; __gads=ID=70936caa60423843:T=1289494496:S=ALNI_Mbb7HUpBDhn1Y9LheQGLnykz69pMw; __unam=7639673-12cceb27a99-28517e7a-16; wawtime=1294830243; __switchTo5x=6; rsi_segs=B11159_10001|B11159_10011; __utmb=157871727.279.0.1310975804921’,
‘HTTP_HOST’: ‘www.drunkduck.com’,
‘HTTP_REFERER’: 'http://www.drunkduck.com/forum/topic/169969/?page=6',
‘HTTP_USER_AGENT’: ‘Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB7.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; Media Center PC 4.0)’,
‘PATH_INFO’: u'/Mask_of_the_Aryans/',
‘QUERY_STRING’: ‘',
’REMOTE_ADDR': ‘173.54.97.57’,
‘REMOTE_PORT’: ‘1630’,
‘REQUEST_METHOD’: ‘GET’,
‘REQUEST_URI’: ‘/Mask_of_the_Aryans/’,
‘SCRIPT_NAME’: u'',
‘SERVER_NAME’: ‘www.drunkduck.com’,
‘SERVER_PORT’: ‘80’,
‘SERVER_PROTOCOL’: ‘HTTP/1.1’,
‘uwsgi.version’: ‘0.9.7’,
‘wsgi.errors’: ,
‘wsgi.file_wrapper’: ,
‘wsgi.input’: ,
‘wsgi.multiprocess’: True,
‘wsgi.multithread’: False,
‘wsgi.run_once’: False,
‘wsgi.url_scheme’: ‘http’,
‘wsgi.version’: (1, 0)}>



comic





page_id

None



slug

u'Mask_of_the_Aryans'





/home/duck/public/drunkduck/users/templatetags/user_tags.py in is_mature


@register.filter


def is_mature(user):


if user.is_authenticated():


try:


birthday = user.profile.birthday


except:


return False



diff = date.today() - birthday



age = diff.days / 365


if age >= 18:


return True


return False



@register.filter


Local vars



VariableValue




birthday

None



user











Environment:


Request Method: GET
Request URL: http://www.drunkduck.com/Mask_of_the_Aryans/

Django Version: 1.3
Python Version: 2.6.5
Installed Applications:
['django.contrib.auth',
‘django.contrib.contenttypes’,
‘django.contrib.sessions’,
‘django.contrib.sites’,
‘django.contrib.admin’,
‘django.contrib.humanize’,
‘django.contrib.webdesign’,
‘tinymce’,
‘smileys’,
‘oembed’,
‘pagination’,
‘tagging’,
‘users’,
‘uservideos’,
‘trophies’,
‘videos’,
‘news’,
‘messages’,
‘podcasts’,
‘corp’,
‘tutorials’,
‘forums’,
‘comics’,
‘search’,
‘comments’,
‘ratings’,
‘duckmarks’,
‘tweets’,
‘requests’,
‘layouts’,
‘analytics’,
‘imagelocker’,
‘subpages’,
‘south’]
Installed Middleware:
('django.middleware.common.CommonMiddleware',
‘django.contrib.sessions.middleware.SessionMiddleware’,
‘django.middleware.csrf.CsrfViewMiddleware’,
‘django.middleware.csrf.CsrfResponseMiddleware’,
‘django.contrib.auth.middleware.AuthenticationMiddleware’,
‘django.contrib.messages.middleware.MessageMiddleware’,
‘pagination.middleware.PaginationMiddleware’)


Traceback:
File “/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py” in get_response
111. response = callback(request, *callback_args, **callback_kwargs)
File “/home/duck/public/drunkduck/comics/views.py” in comic_page
302. if not is_mature(request.user) and comic.rating == ‘A’:
File “/home/duck/public/drunkduck/users/templatetags/user_tags.py” in is_mature
14. diff = date.today() - birthday

Exception Type: TypeError at /Mask_of_the_Aryans/
Exception Value: unsupported operand type(s) for -: ‘datetime.date’ and ‘NoneType’




Request information
GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES



VariableValue




HstPn1192225

'3'



__utmz

'157871727.1310974240.380.49.utmcsr=comicfury.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum/viewthread.php'



HstCla1192225

'1309256700203'



__switchTo5x

'6'



HstPt1192225

'4'



wawtime

'1294830243'



__unam

'7639673-12cceb27a99-28517e7a-16'



HstCns1192225

'2'



HstCnv1192225

'2'



TMediaISP

'NA'



sessionid

'f4b99066cd3cd75a9879792ea4e5dc56'



__gads

'ID=70936caa60423843:T=1289494496:S=ALNI_Mbb7HUpBDhn1Y9LheQGLnykz69pMw'



TMedia

'Coun%3ANA/Postal%3ANA/'



__qca

'P0-704019193-1289494416109'



csrftoken

'bb0fc0a836f5435861431545c23ecf6e'



__utma

'157871727.1741094225.1289494415.1310718254.1310974240.380'



__utmb

'157871727.279.0.1310975804921'



__utmc

'157871727'



ttime

'1310718204'



rsi_segs

'B11159_10001|B11159_10011'




META



VariableValue




wsgi.multiprocess

True



HTTP_REFERER

'http://www.drunkduck.com/forum/topic/169969/?page=6'



SCRIPT_NAME

u''



REQUEST_METHOD

'GET'



PATH_INFO

u'/Mask_of_the_Aryans/'



SERVER_PROTOCOL

'HTTP/1.1'



QUERY_STRING

''



CONTENT_LENGTH

''



HTTP_USER_AGENT

'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB7.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; Media Center PC 4.0)'



HTTP_CONNECTION

'Keep-Alive'



HTTP_COOKIE

'TMedia=Coun%3ANA/Postal%3ANA/; TMediaISP=NA; HstCla1192225=1309256700203; HstPn1192225=3; HstPt1192225=4; HstCnv1192225=2; HstCns1192225=2; TMedia=Coun%3ANA/Postal%3ANA/; TMediaISP=NA; csrftoken=bb0fc0a836f5435861431545c23ecf6e; sessionid=f4b99066cd3cd75a9879792ea4e5dc56; __utmc=157871727; ttime=1310718204; __utma=157871727.1741094225.1289494415.1310718254.1310974240.380; __utmz=157871727.1310974240.380.49.utmcsr=comicfury.com|utmccn=(referral)|utmcmd=referral|utmcct=/forum/viewthread.php; __qca=P0-704019193-1289494416109; __gads=ID=70936caa60423843:T=1289494496:S=ALNI_Mbb7HUpBDhn1Y9LheQGLnykz69pMw; __unam=7639673-12cceb27a99-28517e7a-16; wawtime=1294830243; __switchTo5x=6; rsi_segs=B11159_10001|B11159_10011; __utmb=157871727.279.0.1310975804921'



SERVER_NAME

'www.drunkduck.com'



REMOTE_ADDR

'173.54.97.57'



wsgi.url_scheme

'http'



SERVER_PORT

'80'



DOCUMENT_ROOT

'/usr/local/nginx/html'



wsgi.input





HTTP_HOST

'www.drunkduck.com'



wsgi.multithread

False



REQUEST_URI

'/Mask_of_the_Aryans/'



HTTP_ACCEPT

'image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*'



wsgi.version

(1, 0)



wsgi.run_once

False



wsgi.errors





REMOTE_PORT

'1630'



HTTP_ACCEPT_LANGUAGE

'en-us'



uwsgi.version

'0.9.7'



CONTENT_TYPE

''



wsgi.file_wrapper

''



CSRF_COOKIE

'bb0fc0a836f5435861431545c23ecf6e'



HTTP_ACCEPT_ENCODING

'gzip, deflate'




Settings
Using settings module settings



SettingValue




USE_L10N

False



USE_THOUSAND_SEPARATOR

False



LANGUAGE_CODE

'en-us'



ROOT_URLCONF

'urls'



MANAGERS

()



DEFAULT_CHARSET

'utf-8'



STATIC_ROOT

''



TEST_DATABASE_CHARSET

None



MESSAGE_STORAGE

'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'



DATABASE_HOST

''



IGNORABLE_404_STARTS

('/cgi-bin/', ‘/_vti_bin’, ‘/_vti_inf’)



SEND_BROKEN_LINK_EMAILS

False



URL_VALIDATOR_USER_AGENT

'Django/1.3 (http://www.djangoproject.com)'



STATICFILES_FINDERS

('django.contrib.staticfiles.finders.FileSystemFinder',
‘django.contrib.staticfiles.finders.AppDirectoriesFinder’)



SESSION_COOKIE_DOMAIN

None



SESSION_COOKIE_NAME

'sessionid'



AWS_STORAGE_BUCKET_NAME

'media.drunkduck.com'



ADMIN_FOR

()



TIME_INPUT_FORMATS

('%H:%M:%S', ‘%H:%M’)



DATABASES

{'default': {'ENGINE': ‘django.db.backends.postgresql_psycopg2’,
‘HOST’: ‘192.168.167.22’,
‘NAME’: ‘drunkduck’,
‘OPTIONS’: {},
‘PASSWORD’: ‘********************’,
‘PORT’: ‘5432’,
‘TEST_CHARSET’: None,
‘TEST_COLLATION’: None,
‘TEST_MIRROR’: None,
‘TEST_NAME’: None,
‘TIME_ZONE’: ‘America/Los_Angeles’,
‘USER’: ‘drunkduck’}}



ACCESS_SECRET

'********************'



TEST_DATABASE_NAME

None



FILE_UPLOAD_PERMISSIONS

None



AWS_SECRET_ACCESS_KEY

'********************'



FILE_UPLOAD_HANDLERS

('django.core.files.uploadhandler.MemoryFileUploadHandler',
‘django.core.files.uploadhandler.TemporaryFileUploadHandler’)



DEFAULT_CONTENT_TYPE

'text/html'



APPEND_SLASH

True



FIRST_DAY_OF_WEEK

0



DATABASE_ROUTERS





YEAR_MONTH_FORMAT

'F Y'



STATICFILES_STORAGE

'django.contrib.staticfiles.storage.StaticFilesStorage'



CACHES

{'default': {'BACKEND': ‘django.core.cache.backends.locmem.LocMemCache’,
‘LOCATION’: ‘'}}



SERVER_EMAIL

’root@localhost'



SESSION_COOKIE_PATH

'/'



IGNORABLE_404_ENDS

('mail.pl', ‘mailform.pl’, ‘mail.cgi’, ‘mailform.cgi’, ‘favicon.ico’, ‘.php’)



MIDDLEWARE_CLASSES

('django.middleware.common.CommonMiddleware',
‘django.contrib.sessions.middleware.SessionMiddleware’,
‘django.middleware.csrf.CsrfViewMiddleware’,
‘django.middleware.csrf.CsrfResponseMiddleware’,
‘django.contrib.auth.middleware.AuthenticationMiddleware’,
‘django.contrib.messages.middleware.MessageMiddleware’,
‘pagination.middleware.PaginationMiddleware’)



USE_I18N

False



THOUSAND_SEPARATOR

','



SECRET_KEY

'********************'



LANGUAGE_COOKIE_NAME

'django_language'



FILE_UPLOAD_TEMP_DIR

None



COMIC_URL

'http://media.drunkduck.com/'



TRANSACTIONS_MANAGED

False



LOGGING_CONFIG

'django.utils.log.dictConfig'



TEMPLATE_LOADERS

('django.template.loaders.filesystem.Loader',
‘django.template.loaders.app_directories.Loader’)



TEMPLATE_DEBUG

True



CSRF_COOKIE_NAME

'csrftoken'



TEST_DATABASE_COLLATION

None



FORCE_SCRIPT_NAME

None



CACHE_BACKEND

'locmem://'



SESSION_COOKIE_SECURE

False



TINYMCE_SPELLCHECKER

True



CSRF_COOKIE_DOMAIN

None



FILE_CHARSET

'utf-8'



DEBUG

True



SESSION_FILE_PATH

None



AWS_ACCESS_KEY_ID

'AKIAJ5RENZ2C35363IHQ'



DEFAULT_FILE_STORAGE

'storages.backends.s3.S3Storage'



INSTALLED_APPS

['django.contrib.auth',
‘django.contrib.contenttypes’,
‘django.contrib.sessions’,
‘django.contrib.sites’,
‘django.contrib.admin’,
‘django.contrib.humanize’,
‘django.contrib.webdesign’,
‘tinymce’,
‘smileys’,
‘oembed’,
‘pagination’,
‘tagging’,
‘users’,
‘uservideos’,
‘trophies’,
‘videos’,
‘news’,
‘messages’,
‘podcasts’,
‘corp’,
‘tutorials’,
‘forums’,
‘comics’,
‘search’,
‘comments’,
‘ratings’,
‘duckmarks’,
‘tweets’,
‘requests’,
‘layouts’,
‘analytics’,
‘imagelocker’,
‘subpages’,
‘south’]



LANGUAGES

(('ar', ‘Arabic’),
('az', ‘Azerbaijani’),
('bg', ‘Bulgarian’),
('bn', ‘Bengali’),
('bs', ‘Bosnian’),
('ca', ‘Catalan’),
('cs', ‘Czech’),
('cy', ‘Welsh’),
('da', ‘Danish’),
('de', ‘German’),
('el', ‘Greek’),
('en', ‘English’),
('en-gb', ‘British English’),
('es', ‘Spanish’),
('es-ar', ‘Argentinian Spanish’),
('es-mx', ‘Mexican Spanish’),
('es-ni', ‘Nicaraguan Spanish’),
('et', ‘Estonian’),
('eu', ‘Basque’),
('fa', ‘Persian’),
('fi', ‘Finnish’),
('fr', ‘French’),
('fy-nl', ‘Frisian’),
('ga', ‘Irish’),
('gl', ‘Galician’),
('he', ‘Hebrew’),
('hi', ‘Hindi’),
('hr', ‘Croatian’),
('hu', ‘Hungarian’),
('id', ‘Indonesian’),
('is', ‘Icelandic’),
('it', ‘Italian’),
('ja', ‘Japanese’),
('ka', ‘Georgian’),
('km', ‘Khmer’),
('kn', ‘Kannada’),
('ko', ‘Korean’),
('lt', ‘Lithuanian’),
('lv', ‘Latvian’),
('mk', ‘Macedonian’),
('ml', ‘Malayalam’),
('mn', ‘Mongolian’),
('nl', ‘Dutch’),
('no', ‘Norwegian’),
('nb', ‘Norwegian Bokmal’),
('nn', ‘Norwegian Nynorsk’),
('pa', ‘Punjabi’),
('pl', ‘Polish’),
('pt', ‘Portuguese’),
('pt-br', ‘Brazilian Portuguese’),
('ro', ‘Romanian’),
('ru', ‘Russian’),
('sk', ‘Slovak’),
('sl', ‘Slovenian’),
('sq', ‘Albanian’),
('sr', ‘Serbian’),
('sr-latn', ‘Serbian Latin’),
('sv', ‘Swedish’),
('ta', ‘Tamil’),
('te', ‘Telugu’),
('th', ‘Thai’),
('tr', ‘Turkish’),
('uk', ‘Ukrainian’),
('ur', ‘Urdu’),
('vi', ‘Vietnamese’),
('zh-cn', ‘Simplified Chinese’),
('zh-tw', ‘Traditional Chinese’))



DATABASE_ENGINE

''



DATABASE_NAME

''



COMMENTS_FIRST_FEW

0



PREPEND_WWW

False



PASSWORD_RESET_TIMEOUT_DAYS

'********************'



SESSION_COOKIE_HTTPONLY

False



DATABASE_PORT

''



DEBUG_PROPAGATE_EXCEPTIONS

False



MONTH_DAY_FORMAT

'F j'



LOGIN_URL

'/login/'



SESSION_EXPIRE_AT_BROWSER_CLOSE

False



ACCESS_TOKEN

'207726284-uFI8u4nTqBOW4wCsP9Ns3w64JGZwjosab2pdZ3P4'



TIME_FORMAT

'P'



DATE_INPUT_FORMATS

('%Y-%m-%d',
‘%m/%d/%Y’,
‘%m/%d/%y’,
‘%b %d %Y’,
‘%b %d, %Y’,
‘%d %b %Y’,
‘%d %b, %Y’,
‘%B %d %Y’,
‘%B %d, %Y’,
‘%d %B %Y’,
‘%d %B, %Y’)



AUTHENTICATION_BACKENDS

('django.contrib.auth.backends.ModelBackend',)



EMAIL_HOST_PASSWORD

'********************'



AUTH_PROFILE_MODULE

'users.Profile'



CACHE_MIDDLEWARE_ALIAS

'default'



SESSION_SAVE_EVERY_REQUEST

False



ADMIN_MEDIA_PREFIX

'/media/admin/'



NUMBER_GROUPING

0



SESSION_ENGINE

'django.contrib.sessions.backends.db'



AWS_CALLING_FORMAT

2



CSRF_FAILURE_VIEW

'django.views.csrf.csrf_failure'



COMMENTS_SKETCHY_USERS_GROUP

None



LOGIN_REDIRECT_URL

'/accounts/profile/'



LOGGING

{'disable_existing_loggers': False,
‘handlers’: {'mail_admins': {'class': ‘django.utils.log.AdminEmailHandler’,
‘level’: ‘ERROR’}},
‘loggers’: {'django.request': {'handlers': ,
‘level’: ‘ERROR’,
‘propagate’: True}},
‘version’: 1}



CACHE_MIDDLEWARE_KEY_PREFIX

''



LOCALE_PATHS

()



TEMPLATE_STRING_IF_INVALID

''



COMMENTS_ALLOW_PROFANITIES

False



LOGOUT_URL

'/accounts/logout/'



EMAIL_USE_TLS

False



TEMPLATE_DIRS

('/home/duck/public/drunkduck/templates',)



FIXTURE_DIRS

()



EMAIL_HOST

'smtp.emailsrvr.com'



DATE_FORMAT

'N j, Y'



MEDIA_ROOT

'/home/duck/public/drunkduck/media/'



ADMINS

()



FORMAT_MODULE_PATH

None



DEFAULT_FROM_EMAIL

'webmaster@localhost'



STATICFILES_DIRS

()



MEDIA_URL

'/media/'



DATETIME_FORMAT

'N j, Y, P'



EMAIL_SUBJECT_PREFIX

' ‘



SITE_ID

1



DISALLOWED_USER_AGENTS

()



ALLOWED_INCLUDE_ROOTS

()



CONSUMER_SECRET

’********************'



STATIC_DOC_ROOT

'/home/duck/public/drunkduck/media/'



DECIMAL_SEPARATOR

'.'



PROJECT_DIR

'/home/duck/public/drunkduck'



DATABASE_USER

''



AWS_SECRET_KEY

'********************'



TEST_RUNNER

'django.test.simple.DjangoTestSuiteRunner'



SHORT_DATE_FORMAT

'm/d/Y'



TIME_ZONE

'America/Los_Angeles'



AWS_ROOT

'users/'



FILE_UPLOAD_MAX_MEMORY_SIZE

2621440



EMAIL_BACKEND

'django.core.mail.backends.smtp.EmailBackend'



DEFAULT_TABLESPACE

''



TEMPLATE_CONTEXT_PROCESSORS

('django.contrib.auth.context_processors.auth',
‘django.core.context_processors.request’,
‘django.core.context_processors.media’)



AWS_S3URL

'http://media.drunkduck.com/'



SESSION_COOKIE_AGE

1209600



SETTINGS_MODULE

'settings'



USE_ETAGS

False



LANGUAGES_BIDI

('he', ‘ar’, ‘fa’)



DEFAULT_INDEX_TABLESPACE

''



INTERNAL_IPS

()



STATIC_URL

None



EMAIL_PORT

'25'



CONSUMER_KEY

'z8o36ZRk6KBJTsrPRiLA'



SHORT_DATETIME_FORMAT

'm/d/Y P'



TAGGING_AUTOCOMPLETE_JS_BASE_URL

'/media/js'



AWS_ACCESS_KEY

'AKIAJ5RENZ2C35363IHQ'



TINYMCE_DEFAULT_CONFIG

{'plugins': ‘bbcode’,
‘remove_linebreaks’: False,
‘theme’: ‘advanced’,
‘theme_advanced_buttons1’: ‘bold,italic,underline,strikethrough,blockquote,link,unlink,bullist,numlist,image,forecolor,fontsizeselect,code’,
‘theme_advanced_buttons2’: ‘',
’theme_advanced_buttons3': ‘',
’theme_advanced_buttons4': ‘',
’theme_advanced_disable': ‘',
’theme_advanced_toolbar_align': ‘left’,
‘theme_advanced_toolbar_location’: ‘top’}



ABSOLUTE_URL_OVERRIDES

{}



DATABASE_OPTIONS

{}



CACHE_MIDDLEWARE_SECONDS

600



BANNED_IPS

()



DATETIME_INPUT_FORMATS

('%Y-%m-%d %H:%M:%S',
‘%Y-%m-%d %H:%M’,
‘%Y-%m-%d’,
‘%m/%d/%Y %H:%M:%S’,
‘%m/%d/%Y %H:%M’,
‘%m/%d/%Y’,
‘%m/%d/%y %H:%M:%S’,
‘%m/%d/%y %H:%M’,
‘%m/%d/%y’)



DATABASE_PASSWORD

'********************'



COMMENTS_MODERATORS_GROUP

None



PROFANITIES_LIST

'********************'



EMAIL_HOST_USER

'support@drunkduck.com'



COMMENTS_BANNED_USERS_GROUP

None





You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.
So I pasted in the whole spiel that I get when I try to view any comic page.  I'm getting the above error.  Now I think the Django thing is the key to me once more being able to view comics, but what is that? 
Windows 7 and IE.  So do I have to change all my established internet habits just to get his one site to work?
Tantz Aerine at 2:47AM, July 18, 2011
(online)
posts: 1,616
joined: 10-11-2006
I still am unable to get the site to save any background image, though it is uploaded properly in the image uploader and it displays in the activated layout mode.
I use the latest google chrome. 
Are we going to do something about that? 
Also, the compression of the images is becoming pretty noticeable :( 
 

Forgot Password
©2011 WOWIO, Inc. All Rights Reserved