On Sun, Dec 30, 2012 at 10:19 AM, Paul McNett <[email protected]> wrote:

> On 12/30/12 8:07 AM, Carey Gagnon wrote:
> > so that it doesn't throw the error to the user when the app is closed
> (app
> > being a py2exe generated exe.)
>
> Get around extraneous messages to the end user in py2exe apps by
> redirecting
> sys.stderr and sys.stdout, I'd suggest to files in the user's appdata
> directory.
>
> But you don't want exceptions at runtime to just be ignored. When an
> exception
> happens you should exit immediately after notifying the user in as
> friendly a way as
>

I understand this Paul, but everything is working just fine. I really feel
this has something to do with Ms SQL, and the fact that a table name is
ProvinceState with a PK field that is ProvinceState and another table link
back to this table who's FK is also ProvinceState. The dropdown box is done
the same as other foems that don't throw the error. The only difference
being that those other table have a int key with a varchar choice instead
of a var char key which is also the choice.


> possible, and notifying yourself somehow too.
>
> See my pmerror project on github for the beginnings of a solution to this.
>

I'm looking at it Paul, but am really stumped as to why this error is
happening. I use this method all the time and never get this ValueError.


Thanks
Carey


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/camgtpfhqzypzpcvj80g-qlqd4yhjn4y6g617kk5rdu_qaxq...@mail.gmail.com

Reply via email to