Re: Help with Debugging

2015-09-27 Thread Cai Gengyang
I am glad to announce that it works now ! The error was an addition random 'qq' that somehow appeared in my settings.py file on line 44. Once I spotted and removed it , the code works. I have pasted the entire successful piece of code here for viewing and discussion ... CaiGengYangs-MacBook-Pro

Re: Help with Debugging

2015-09-27 Thread Andrea D'Amore
On 2015-09-28 05:26:35 +, Cai Gengyang said: File "/Users/CaiGengYang/mysite/mysite/settings.py", line 45 'django.middleware.csrf.CsrfViewMiddleware', ^ SyntaxError: invalid syntax The syntax looks fine in the pastebin, did you possibl

Re: Help with Debugging

2015-09-27 Thread Cai Gengyang
This is my input and output error message (the whole thing) : CaiGengYangs-MacBook-Pro:~ CaiGengYang$ cd mysite folder CaiGengYangs-MacBook-Pro:mysite CaiGengYang$ ls manage.pymysite CaiGengYangs-MacBook-Pro:mysite CaiGengYang$ python manage.py migrate Traceback (most recent call

Re: Help with Debugging

2015-09-27 Thread Steven D'Aprano
On Mon, 28 Sep 2015 03:45 am, Cai Gengyang wrote: > http://pastebin.com/RWt1mp7F --- If anybody can find any errors with this > settings.py file, let me know ! > > Can't seem to find anything wrong with it ... Perhaps there is nothing wrong with it. What makes you think that there is? Do you ge

Help with Debugging

2015-09-27 Thread Cai Gengyang
http://pastebin.com/RWt1mp7F --- If anybody can find any errors with this settings.py file, let me know ! Can't seem to find anything wrong with it ... -- https://mail.python.org/mailman/listinfo/python-list

Re: help with debugging a ctypes problem

2006-09-24 Thread gap
[EMAIL PROTECTED] wrote: >> help figuring out how to debug ... ctypes ... >> a commercial dll. A certain function takes five arguments, foo(a, b, c, d, >> e). >> Can I view the appropriate stack? ... Any other ideas or advice? etc? > > Did you call the foo of _cdecl ctypes.cdll or the foo of _s

Re: help with debugging a ctypes problem

2006-09-23 Thread p . lavarre
> help figuring out how to debug ... ctypes ... > a commercial dll. A certain function takes five arguments, foo(a, b, c, d, > e). > Can I view the appropriate stack? ... Any other ideas or advice? etc? Did you call the foo of _cdecl ctypes.cdll or the foo of _stdcall = ctypes.windll? What is

help with debugging a ctypes problem

2006-09-23 Thread gap
I'm no c programmer, and I'm a ctypes newbie. I'll frame my problem as simply as I can. Sorry if it's too much or not enough info. I don't expect an explicit answer (but maybe), just help figuring out how to debug. WinXP, python 2.4.2 I'm using ctypes to access functions in a commercial dll.