Message from discussion
compiler
Received: by 10.43.71.18 with SMTP id yi18mr6720865icb.21.1352161419508;
Mon, 05 Nov 2012 16:23:39 -0800 (PST)
X-BeenThere: django-users@googlegroups.com
Received: by 10.42.68.146 with SMTP id x18ls15615807ici.7.gmail; Mon, 05 Nov
2012 16:23:12 -0800 (PST)
Received: by 10.42.172.68 with SMTP id m4mr6885571icz.1.1352161392522;
Mon, 05 Nov 2012 16:23:12 -0800 (PST)
Received: by 10.42.172.68 with SMTP id m4mr6885569icz.1.1352161392504;
Mon, 05 Nov 2012 16:23:12 -0800 (PST)
Return-Path: <kurtis.mull...@gmail.com>
Received: from mail-oa0-f45.google.com (mail-oa0-f45.google.com [209.85.219.45])
by gmr-mx.google.com with ESMTPS id ge7si1317874igb.0.2012.11.05.16.23.12
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 05 Nov 2012 16:23:12 -0800 (PST)
Received-SPF: pass (google.com: domain of kurtis.mull...@gmail.com designates 209.85.219.45 as permitted sender) client-ip=209.85.219.45;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of kurtis.mull...@gmail.com designates 209.85.219.45 as permitted sender) smtp.mail=kurtis.mull...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-oa0-f45.google.com with SMTP id i18so8143432oag.18
for <django-users@googlegroups.com>; Mon, 05 Nov 2012 16:23:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=nB141pACLHJr6MPBv6Lb5Ihbf0lAnL6FOWLz0/Jwy0A=;
b=zcDbv3PmfbKw4AYxs6N4Y784Zv5Qiu+W5akvXHkLfqoZjUuFaRFUEn0SEiwlaJ3ha0
10r2RcqhTh3hi4pFKVnYZnSaTpDSPlvzYTlXPgBv3bOKBFAUazVfrlKmfVBDD7x+xvfp
BegcBF8Tcau/emmbnRopIBN3OCrA/i+8fJE5zFzwMCTNFZ+DTi/hr8IOWO8SgFKwr+Qt
Um2j+9bO8utaEWahSzOITcoBvwlwoGUsdMp7mVHhdIPhV9nPU64HWdpIjnNu7Fa6ih9r
/rsPvRYMYNYCC7FF+i1e9+KhmeIpGgcKNAFBZP8eDbQb0E3ku4Iag7TjjSvtRZCxyV24
JSiA==
MIME-Version: 1.0
Received: by 10.60.7.38 with SMTP id g6mr9572115oea.106.1352161392182; Mon, 05
Nov 2012 16:23:12 -0800 (PST)
Received: by 10.182.155.4 with HTTP; Mon, 5 Nov 2012 16:23:12 -0800 (PST)
In-Reply-To: <50982D32.6080...@consbio.org>
References: <267175fe-196d-4c10-838c-54161a5484a2@googlegroups.com>
<CAB+Aj0vxfSO7LcqT+_BbEBPQaF9Vye=bYgY2z-Bj3n085A8...@mail.gmail.com>
<5287bd82-03c1-459b-a008-0026436c590e@googlegroups.com>
<50982D32.6080...@consbio.org>
Date: Mon, 5 Nov 2012 19:23:12 -0500
Message-ID: <CAPbEHse_P4FhNpCOrFq67fZ90T55N8_kTWiKm69Z=p_C+fO...@mail.gmail.com>
Subject: Re: compiler
From: Kurtis Mullins <kurtis.mull...@gmail.com>
To: django-users@googlegroups.com
Content-Type: multipart/alternative; boundary=e89a8fb1f88475c5d204cdc89bd8
--e89a8fb1f88475c5d204cdc89bd8
Content-Type: text/plain; charset=ISO-8859-1
You could use Lint to check your code for syntax errors.
On Mon, Nov 5, 2012 at 4:18 PM, Nikolas Stevenson-Molnar <
nik.mol...@consbio.org> wrote:
> I tried copy/pasting the code you linked into PyCharm and it worked fine.
> Gotta be spacing/indentation somewhere.
>
>
> _Nik
>
> On 11/5/2012 1:26 AM, Markus Christen wrote:
>
> I have tryed your input, but i have always the same problem... i cant fix
> it. it doesent work and i dont know why. (i have it in pycharm and there
> are only these 2 return problems marked.)
>
>
> Am Freitag, 2. November 2012 18:44:46 UTC+1 schrieb ke1g:
>
>> Surely the error message included a line number?
>>
>> Also, probably not related, but check that there is no whitespace after
>> your line ending back-slashes. (Hint it is safer to put the opening triple
>> quote before the backslash, and safer yet to put the triple quoted string
>> in a pare of parentheses, the opening one where you have the backslash.)
>>
>> On Wed, Oct 31, 2012 at 3:28 AM, Markus Christen <markusch...@gmail.com>wrote:
>>
>>> Good Morning
>>> I have downloaded files, that can helps by my mssql-odbc connection.
>>> This is my downloaded file:
>>> http://code.google.com/p/**django-pyodbc/source/browse/**
>>> trunk/sql_server/pyodbc/**compiler.py?r=190<http://code.google.com/p/django-pyodbc/source/browse/trunk/sql_server/pyodbc/compiler.py?r=190>
>>>
>>> On lines 188 and 273, i become the message "'return' outside of
>>> function". It's not a space/tab fail, i have checked this.
>>> How can i fix this?
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To view this discussion on the web visit https://groups.google.com/d/**
>>> msg/django-users/-/**uvBBHw13tokJ<https://groups.google.com/d/msg/django-users/-/uvBBHw13tokJ>
>>> .
>>> To post to this group, send email to django...@googlegroups.com.
>>> To unsubscribe from this group, send email to django-users...@**
>>> googlegroups.com.
>>> For more options, visit this group at http://groups.google.com/**
>>> group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
>>> .
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/DMb-vkIM5xsJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--e89a8fb1f88475c5d204cdc89bd8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
You could use Lint to check your code for syntax errors.<div class=3D"gmail=
_extra"><br><br><div class=3D"gmail_quote">On Mon, Nov 5, 2012 at 4:18 PM, =
Nikolas Stevenson-Molnar <span dir=3D"ltr"><<a href=3D"mailto:nik.molnar=
@consbio.org" target=3D"_blank">nik.mol...@consbio.org</a>></span> wrote=
:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
=20
=20
=20
<div bgcolor=3D"#FFFFFF" text=3D"#000000">
I tried copy/pasting the code you linked into PyCharm and it worked
fine. Gotta be spacing/indentation somewhere.<div class=3D"im"><br>
<br>
_Nik<br>
<br>
<div>On 11/5/2012 1:26 AM, Markus Christen
wrote:<br>
</div>
</div><div><div class=3D"h5"><blockquote type=3D"cite">
<div>I have tryed your input, but i have always the same
problem... i cant fix it. it doesent work and i dont know why.
(i have it in pycharm and=A0there are only these 2 return problems
marked.)</div>
<div>=A0</div>
<div><br>
Am Freitag, 2. November 2012 18:44:46 UTC+1 schrieb ke1g:</div>
<blockquote style=3D"margin:0px 0px 0px 0.8ex;padding-left:1ex;border=
-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"=
class=3D"gmail_quote">Surely the error
message included a line number?<br>
<br>
Also, probably not related, but check that there is no
whitespace after your line ending back-slashes.=A0 (Hint it is
safer to put the opening triple quote before the backslash, and
safer yet to put the triple quoted string in a pare of
parentheses, the opening one where you have the backslash.)<br>
<br>
<div class=3D"gmail_quote">On Wed, Oct 31, 2012 at 3:28 AM, Markus
Christen <span dir=3D"ltr"><<a>markusch...@gmail.com</a>></=
span>
wrote:<br>
<blockquote style=3D"margin:0px 0px 0px 0.8ex;padding-left:1ex;bo=
rder-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:so=
lid" class=3D"gmail_quote">
<div>Good Morning</div>
<div>I have downloaded files, that can helps by my
mssql-odbc connection. This is my downloaded file:</div>
<div><a href=3D"http://code.google.com/p/django-pyodbc/source/b=
rowse/trunk/sql_server/pyodbc/compiler.py?r=3D190" target=3D"_blank">http:/=
/code.google.com/p/<u></u>django-pyodbc/source/browse/<u></u>trunk/sql_serv=
er/pyodbc/<u></u>compiler.py?r=3D190</a></div>
<div>=A0</div>
<div>On lines 188 and 273, i become the message "'retu=
rn'
outside of function". It's not a space/tab fail, i h=
ave
checked this.</div>
<div>How can i fix this?</div>
<span><font color=3D"#888888">
-- <br>
You received this message because you are subscribed to
the Google Groups "Django users" group.<br>
To view this discussion on the web visit <a href=3D"https:/=
/groups.google.com/d/msg/django-users/-/uvBBHw13tokJ" target=3D"_blank">htt=
ps://groups.google.com/d/<u></u>msg/django-users/-/<u></u>uvBBHw13tokJ</a>.=
<br>
To post to this group, send email to <a>django...@googlegro=
ups.com</a>.<br>
To unsubscribe from this group, send email to <a>django-use=
rs...@<u></u>googlegroups.com</a>.<br>
For more options, visit this group at <a href=3D"http://gro=
ups.google.com/group/django-users?hl=3Den" target=3D"_blank">http://groups.=
google.com/<u></u>group/django-users?hl=3Den</a>.<br>
</font></span></blockquote>
</div>
<br>
</blockquote>
-- <br>
You received this message because you are subscribed to the Google
Groups "Django users" group.<br>
To view this discussion on the web visit <a href=3D"https://groups.go=
ogle.com/d/msg/django-users/-/DMb-vkIM5xsJ" target=3D"_blank">https://group=
s.google.com/d/msg/django-users/-/DMb-vkIM5xsJ</a>.<br>
To post to this group, send email to
<a href=3D"mailto:django-users@googlegroups.com" target=3D"_blank">dj=
ango-users@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to
<a href=3D"mailto:django-users+unsubscribe@googlegroups.com" target=
=3D"_blank">django-users+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at
<a href=3D"http://groups.google.com/group/django-users?hl=3Den" targe=
t=3D"_blank">http://groups.google.com/group/django-users?hl=3Den</a>.<br>
</blockquote>
<br>
</div></div></div><div class=3D"HOEnZb"><div class=3D"h5">
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Django users" group.<br>
To post to this group, send email to <a href=3D"mailto:django-users@googleg=
roups.com" target=3D"_blank">django-users@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:django-user=
s%2Bunsubscribe@googlegroups.com" target=3D"_blank">django-users+unsubscrib=
e@googlegroups.com</a>.<br>
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/django-users?hl=3Den" target=3D"_blank">http://groups.google.com/group=
/django-users?hl=3Den</a>.<br>
</div></div></blockquote></div><br></div>
--e89a8fb1f88475c5d204cdc89bd8--