After hunting around the context menu options for the full tree, I found that
setting the immediate parent folder (python) in the tree to the source
pythonpath, it resolved the import error flag. Thanks for the suggestion about
what to try.
Thanks,
Ed Lipson
Director
BNY Mellon | 2 Hanson Pl AIM 111-0800 | Brooklyn NY 11217
Information Lifecycle Management
T 718.315.4763 | F 724.540.6622 | C 917.859.5180 |
ed.lip...@bnymellon.com<mailto:ed.lip...@bnymellon.com>
From: Lipson, Ed
Sent: Monday, July 29, 2019 4:21 AM
To: w...@nc.rr.com; pydev-code@lists.sourceforge.net
Subject: Re: [Pydev-code] unresolved import
There was no context menu option to set a folder as source, up and down the
tree. There was a pydev context menu option to remove the eclipse project
folder from the pythonpath by setting it as a non-source folder. That did clear
the import errors. I'm not sure of the follow-on impacts of that change.
Thanks,
Ed Lipson
From: Bill Trautman <lhasa...@gmail.com<mailto:lhasa...@gmail.com>>
Sent: Saturday, July 27, 2019 3:20 PM
To: pydev-code@lists.sourceforge.net<mailto:pydev-code@lists.sourceforge.net>
Subject: Re: [Pydev-code] unresolved import
Ed,
Did you make sure the primary folder that main is in is set as source folder
using the context menu pydev option?
Bill
On 7/26/2019 12:51 PM, Lipson, Ed wrote:
Imports under the pyqt fbs tree come up as unresolved. Program works. I tired
posting to StackExchnage first, but I kept on getting an error there and no
messages.
Source tree
m:\eclipse-workspace\putty\
[src\main\python]
main.py 6,055 07/26/2019 12:18 -a--
_db.py 4,973 07/26/2019 11:36 -a--
putty.py 6,211 07/26/2019 11:03 -a--
_util.py 3,966 07/25/2019 09:18 -a--
_mylogger.py 3,446 07/17/2019 11:02 -a--
Module main.py:
import getpass
import sys
from PyQt5 import QtWidgets
from fbs_runtime.application_context.PyQt5 import ApplicationContext
# unresloved imports
from putty import Ui_PuttyWindows
import _db
import _mylogger
Any clues as to why they are flagged but it still works? Other errors which are
flagged do actually fail, as they should.
Thanks,
Ed Lipson
The information contained in this e-mail, and any attachment, is confidential
and is intended solely for the use of the intended recipient. Access, copying
or re-use of the e-mail or any attachment, or any information contained
therein, by any other person is not authorized. If you are not the intended
recipient please return the e-mail to the sender and delete it from your
computer. Although we attempt to sweep e-mail and attachments for viruses, we
do not guarantee that either are virus-free and accept no liability for any
damage sustained as a result of viruses.
Please refer to https://disclaimer.bnymellon.com/eu.htm for certain disclosures
relating to European legal entities. We take our data protection and privacy
responsibilities seriously and our privacy notice explains how we collect, use
and share personal information in the course of our business activities. It can
be accessed at the privacy section of
www.bnymellon.com<http://www.bnymellon.com>.
_______________________________________________
pydev-code mailing list
pydev-code@lists.sourceforge.net<mailto:pydev-code@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/pydev-code
The information contained in this e-mail, and any attachment, is confidential
and is intended solely for the use of the intended recipient. Access, copying
or re-use of the e-mail or any attachment, or any information contained
therein, by any other person is not authorized. If you are not the intended
recipient please return the e-mail to the sender and delete it from your
computer. Although we attempt to sweep e-mail and attachments for viruses, we
do not guarantee that either are virus-free and accept no liability for any
damage sustained as a result of viruses.
Please refer to https://disclaimer.bnymellon.com/eu.htm for certain disclosures
relating to European legal entities. We take our data protection and privacy
responsibilities seriously and our privacy notice explains how we collect, use
and share personal information in the course of our business activities. It can
be accessed at the privacy section of
www.bnymellon.com<http://www.bnymellon.com>.
The information contained in this e-mail, and any attachment, is confidential
and is intended solely for the use of the intended recipient. Access, copying
or re-use of the e-mail or any attachment, or any information contained
therein, by any other person is not authorized. If you are not the intended
recipient please return the e-mail to the sender and delete it from your
computer. Although we attempt to sweep e-mail and attachments for viruses, we
do not guarantee that either are virus-free and accept no liability for any
damage sustained as a result of viruses.
Please refer to https://disclaimer.bnymellon.com/eu.htm for certain disclosures
relating to European legal entities. We take our data protection and privacy
responsibilities seriously and our privacy notice explains how we collect, use
and share personal information in the course of our business activities. It can
be accessed at the privacy section of www.bnymellon.com.
_______________________________________________
pydev-code mailing list
pydev-code@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-code