By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1471 - Build issue: python-trinity: ImportError: No module named dcop
Summary: Build issue: python-trinity: ImportError: No module named dcop
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: non-core programs (show other bugs)
Version: R14.0.x [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2013-04-20 21:42 CDT by Darrell
Modified: 2018-07-30 08:47 CDT (History)
4 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Build log (99.05 KB, text/x-log)
2014-11-17 11:08 CST, Darrell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darrell 2013-04-20 21:42:25 CDT
I don't know what the error means. Full snippet:

Testing PyKDE module imports

Modules built:
  dcop tdecore tdefx tdeui tdeio tderesources tdeabc tdeutils tdefile tdeparts tdehtml tdespell tdeprint tdemdi

Importing:

dcop
Traceback (most recent call last):
  File "importTest.py", line 20, in <module>
    exec ("import " + mod)
  File "<string>", line 1, in <module>
ImportError: No module named dcop
Comment 1 Timothy Pearson 2014-11-17 10:39:31 CST
Is this bug still valid?

Thanks!
Comment 2 Darrell 2014-11-17 11:08:44 CST
Created attachment 2348 [details]
Build log

>Is this bug still valid?
I haven't built TDE since Oct. 11, but the attached build log from then contains the same message (line 848).

Build script snippet:

...
echo "Configuring..."
python ./configure.py \
  -k $PREFIX \
  -n $LIBDIR \
  -o $PREFIX/include \
  -n $PREFIX/lib${LIBDIRSUFFIX} \
  -u \
  -d "$PYTHONLIB" \
  -L "/usr/include/python$PYTHONVER"
  CFLAGS="$FLAGS" \
  CXXFLAGS="$FLAGS"

if [ "$TEE_OUTPUT" = "false" ]; then
  make $NUMJOBS --silent || exit 1
else
  make $NUMJOBS VERBOSE=1 || exit 1
fi

make install DESTDIR=$PKG || exit 1

python importTest.py
...
Comment 3 Timothy Pearson 2014-11-17 11:11:41 CST
OK, thanks for confirming!
Comment 4 Michele Calgaro 2018-07-30 08:47:08 CDT
Python support was fixed in one of the R14.0.x releases (R14.0.3 or .4 if I remember correctly). Running importTest.py works fine now.
-------------------------------------
python ./tde/main/libraries/python-trinity/importTest.py

Testing PyKDE module imports

Modules built:
  dcop tdecore tdefx tdeui tdeio tderesources tdeabc tdeutils tdefile tdeparts tdehtml tdespell tdeprint tdemdi

Importing:

dcop
tdecore
tdefx
tdeui
tdeio
tderesources
tdeabc
tdeutils
tdefile
tdeparts
tdehtml
tdespell
tdeprint
tdemdi