Advertisement
gusibsd

python stack trace listdir

Mar 24th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. --- modulename: install_lib, funcname: install
  2. install_lib.py(114): if os.path.isdir(self.build_dir):
  3. --- modulename: genericpath, funcname: isdir
  4. genericpath.py(40): try:
  5. genericpath.py(41): st = os.stat(s)
  6. genericpath.py(44): return stat.S_ISDIR(st.st_mode)
  7. --- modulename: stat, funcname: S_ISDIR
  8. stat.py(41): return S_IFMT(mode) == S_IFDIR
  9. --- modulename: stat, funcname: S_IFMT
  10. stat.py(25): return mode & 0170000
  11. install_lib.py(115): outfiles = self.copy_tree(self.build_dir, self.install_dir)
  12. --- modulename: cmd, funcname: copy_tree
  13. cmd.py(373): return dir_util.copy_tree(
  14. cmd.py(374): infile, outfile,
  15. cmd.py(375): preserve_mode,preserve_times,preserve_symlinks,
  16. cmd.py(376): not self.force,
  17. cmd.py(377): dry_run=self.dry_run)
  18. --- modulename: cmd, funcname: __getattr__
  19. cmd.py(98): if attr == 'dry_run':
  20. cmd.py(99): myval = getattr(self, "_" + attr)
  21. cmd.py(100): if myval is None:
  22. cmd.py(101): return getattr(self.distribution, attr)
  23. --- modulename: dir_util, funcname: copy_tree
  24. dir_util.py(124): from distutils.file_util import copy_file
  25. dir_util.py(126): if not dry_run and not os.path.isdir(src):
  26. --- modulename: genericpath, funcname: isdir
  27. genericpath.py(40): try:
  28. genericpath.py(41): st = os.stat(s)
  29. genericpath.py(44): return stat.S_ISDIR(st.st_mode)
  30. --- modulename: stat, funcname: S_ISDIR
  31. stat.py(41): return S_IFMT(mode) == S_IFDIR
  32. --- modulename: stat, funcname: S_IFMT
  33. stat.py(25): return mode & 0170000
  34. dir_util.py(129): try:
  35. dir_util.py(130): names = os.listdir(src)
  36. dir_util.py(131): except os.error, (errno, errstr):
  37. dir_util.py(132): if dry_run:
  38. dir_util.py(135): raise DistutilsFileError, \
  39. dir_util.py(136): "error listing files in '%s': %s" % (src, errstr)
  40. core.py(152): except KeyboardInterrupt:
  41. core.py(154): except (IOError, os.error), exc:
  42. core.py(161): except (DistutilsError,
  43. core.py(162): CCompilerError), msg:
  44. core.py(163): if DEBUG:
  45. core.py(166): raise SystemExit, "error: " + str(msg)
  46. --- modulename: trace, funcname: _unsettrace
  47. trace.py(80): sys.settrace(None)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement