Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39033
| Path | csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <vincent.vandevyvre@swing.be> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'exception': 0.03; 'url:launchpad': 0.05; 'line:': 0.07; 'raised': 0.07; 'skip:/ 10': 0.07; 'importerror': 0.09; 'subject:module': 0.09; 'unhandled': 0.09; 'cc:addr:python-list': 0.10; 'looked': 0.10; 'gui': 0.11; 'tutorials': 0.15; 'debugged': 0.16; 'folder.': 0.16; 'from:addr:swing.be': 0.16; 'from:addr:vincent.vandevyvre': 0.16; 'from:name:vincent vande vyvre': 0.16; 'message-id:@swing.be': 0.16; 'oqapy': 0.16; 'paqager': 0.16; 'quite.': 0.16; 'received:mobistar.be': 0.16; 'subject:Eric': 0.16; 'url:oqapy': 0.16; 'url:paqager': 0.16; 'url:qarte': 0.16; 'v.v.': 0.16; 'wrote:': 0.17; 'code,': 0.18; 'feb': 0.19; 'module': 0.19; 'followed': 0.20; 'import': 0.21; 'error.': 0.21; 'file:': 0.22; 'cc:2**0': 0.23; 'this:': 0.23; "haven't": 0.23; "i've": 0.23; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'am,': 0.27; 'initial': 0.28; '"no': 0.29; 'class': 0.29; 'this.': 0.29; "i'm": 0.29; 'error': 0.30; 'skip:! 10': 0.33; 'code:': 0.33; 'tutorial': 0.33; 'entered': 0.34; 'eric': 0.35; 'path': 0.35; 'something': 0.35; 'but': 0.36; 'url:org': 0.36; 'anything': 0.36; 'thank': 0.36; 'two': 0.37; 'subject:: ': 0.38; 'sure': 0.38; 'received:192': 0.39; 'skip:" 10': 0.40; 'received:192.168': 0.40; 'think': 0.40; 'your': 0.60; 'skip:u 10': 0.60; 'url:index': 0.61; 'received:80.12': 0.65; 'day': 0.73; 'miss': 0.75; '2013': 0.84; 'joel': 0.91; 'phil': 0.91 |
| Date | Sun, 17 Feb 2013 17:06:24 +0100 |
| From | Vincent Vande Vyvre <vincent.vandevyvre@swing.be> |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
| MIME-Version | 1.0 |
| To | Joel Goldstick <joel.goldstick@gmail.com> |
| Subject | Re: Eric - "No module named MainWindow" |
| References | <51209E06.5070003@bigpond.com> <5120C085.1060101@swing.be> <CAPM-O+zcd-JEyxGFCmQ=An36RpnLvoRF3OrdAkuoyUwVuy1oEg@mail.gmail.com> |
| In-Reply-To | <CAPM-O+zcd-JEyxGFCmQ=An36RpnLvoRF3OrdAkuoyUwVuy1oEg@mail.gmail.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Cc | "python-list@python.org" <python-list@python.org> |
| 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 | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1898.1361117187.2939.python-list@python.org> (permalink) |
| Lines | 49 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1361117187 news.xs4all.nl 6982 [2001:888:2000:d::a6]:33277 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:39033 |
Show key headers only | View raw
Le 17/02/13 16:13, Joel Goldstick a écrit : > > > > On Sun, Feb 17, 2013 at 6:35 AM, Vincent Vande Vyvre > <vincent.vandevyvre@swing.be <mailto:vincent.vandevyvre@swing.be>> wrote: > > Le 17/02/13 10:08, Phil a écrit : > > Thank you for reading this. > > > > I've been playing with Eric all day and I almost have a working GUI > > application, but not quite. I have followed the two tutorials on the > > Eric site and I'm sure that I haven't miss entered anything and so I > > think the error is the result of something missing from my system or > > perhaps a path error. > > > > This is the error message: > > > > The debugged program raised the exception unhandled ImportError > > "No module named MainWindow" > > File: /home/phil/main.py, Line: 4 > > > > And this is the code: > > > > !/usr/bin/python > > > > from PyQt4.QtGui import QApplication > > from ui.MainWindow import MainWindow > > (strip) > > > I just looked at the tutorial that you might be experimenting with on > this page: > http://eric-ide.python-projects.org/tutorials/MiniBrowser/index.html > > The class MainWindow is in mainwindow.py in the ui folder. I would > try this: > > from ui.mainwindow import MainWindow In your initial code, thi's "ui.MainWindow" not "ui.mainwindow" -- Vincent V.V. Oqapy <https://launchpad.net/oqapy> . Qarte <https://launchpad.net/qarte> . PaQager <https://launchpad.net/paqager>
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Eric - "No module named MainWindow" Vincent Vande Vyvre <vincent.vandevyvre@swing.be> - 2013-02-17 17:06 +0100
csiph-web