Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11769

Only remove mongosniff when generating packages if it's there

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: 2.5.4
    • Component/s: Packaging
    • None
    • Fully Compatible
    • Linux

      When running packager.py, if mongosniff isn't in the downloaded tarball, the script throws a fatal error. It should just move on.

      Traceback (most recent call last):
        File "packager.py", line 638, in <module>
          main(sys.argv)
        File "packager.py", line 176, in main
          repos.append(make_package(distro, arch, spec, srcdir))
        File "packager.py", line 343, in make_package
          os.unlink(sdir+("%s/usr/bin/mongosniff"%BINARYDIR))
      OSError: [Errno 2] No such file or directory: 'dst/i686/debian-sysvinit/mongodb-org-unstable-2.5.4/BINARIES/usr/bin/mongosniff'
      [ubuntu@distro-deb2 buildscripts]$
      

            Assignee:
            ernie.hershey@mongodb.com Ernie Hershey (Inactive)
            Reporter:
            ernie.hershey@mongodb.com Ernie Hershey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: