Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73555

Re: Error in PyDev but not in the standard python interpreter

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ethan@stoneleaf.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:not': 0.03; 'debugging': 0.07; 'environments': 0.07; 'subject:Error': 0.07; 'sys': 0.07; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'try:': 0.09; '~ethan~': 0.09; 'subject:python': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'import': 0.22; 'header:User- Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'appreciated.': 0.29; 'chris': 0.29; 'am,': 0.29; '>>>>': 0.31; 'subject:the': 0.34; "i'd": 0.34; 'charset:us-ascii': 0.36; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'tips': 0.61; 'received:173': 0.61; 'received:69.56': 0.68; 'from.': 0.93
Date Tue, 24 Jun 2014 08:08:00 -0700
From Ethan Furman <ethan@stoneleaf.us>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version 1.0
To python-list@python.org
Subject Re: Error in PyDev but not in the standard python interpreter
References <lobued$r48$1@speranza.aioe.org> <mailman.11218.1403617680.18130.python-list@python.org> <loc07h$9l$1@speranza.aioe.org> <CAPTjJmqTn6Jx2eP6JEQ4RKUMb_e11h_jf8tsBKa0oXEWriWj-w@mail.gmail.com>
In-Reply-To <CAPTjJmqTn6Jx2eP6JEQ4RKUMb_e11h_jf8tsBKa0oXEWriWj-w@mail.gmail.com>
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - gator3304.hostgator.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - stoneleaf.us
X-BWhitelist no
X-Source-IP 173.12.184.233
X-Exim-ID 1WzSKG-0004AB-GU
X-Source /opt/php52/bin/php-cgi
X-Source-Args /opt/php52/bin/php-cgi /home4/jumper/public_html/index.php
X-Source-Dir airabovewater.com:/public_html
X-Source-Sender ([173.12.184.233]) [173.12.184.233]:55299
X-Source-Auth ethan+stoneleaf.us
X-Email-Count 0
X-Source-Cap dG9idWs7dG9idWs7Z2F0b3IzMzA0Lmhvc3RnYXRvci5jb20=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.11224.1403633558.18130.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1403633558 news.xs4all.nl 2936 [2001:888:2000:d::a6]:48392
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:73555

Show key headers only | View raw


On 06/24/2014 07:04 AM, Chris Angelico wrote:
>
> Here's what I'd try:
>
>>>> import sys
>>>> sys.modules[d1.__class__.__module__].__file__
>>>> sys.modules[d2.__class__.__module__].__file__
>
> Do those in both environments and see where things are actually coming
> from.

Debugging tips always appreciated.

Thanks, Chris!

--
~Ethan~

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Error in PyDev but not in the standard python interpreter Fabien <fabien.maussion@gmail.com> - 2014-06-24 15:28 +0200
  Re: Error in PyDev but not in the standard python interpreter Chris Angelico <rosuav@gmail.com> - 2014-06-24 23:47 +1000
    Re: Error in PyDev but not in the standard python interpreter Fabien <fabien.maussion@gmail.com> - 2014-06-24 15:59 +0200
      Re: Error in PyDev but not in the standard python interpreter Chris Angelico <rosuav@gmail.com> - 2014-06-25 00:04 +1000
        Re: Error in PyDev but not in the standard python interpreter Fabien <fabien.maussion@gmail.com> - 2014-06-24 16:27 +0200
          Re: Error in PyDev but not in the standard python interpreter Chris Angelico <rosuav@gmail.com> - 2014-06-25 00:35 +1000
            Re: Error in PyDev but not in the standard python interpreter Fabien <fabien.maussion@gmail.com> - 2014-06-24 17:40 +0200
              Re: Error in PyDev but not in the standard python interpreter Chris Angelico <rosuav@gmail.com> - 2014-06-25 01:58 +1000
              Re: Error in PyDev but not in the standard python interpreter Ethan Furman <ethan@stoneleaf.us> - 2014-06-24 09:02 -0700
      Re: Error in PyDev but not in the standard python interpreter Ethan Furman <ethan@stoneleaf.us> - 2014-06-24 08:08 -0700
  Re: Error in PyDev but not in the standard python interpreter Fabio Zadrozny <fabiofz@gmail.com> - 2014-06-24 10:46 -0300
  Re: Error in PyDev but not in the standard python interpreter Tony the Tiger <tony@tiger.invalid> - 2014-06-28 20:39 +0000

csiph-web