Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-822

SynaxError when running mongod & mongo

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.1.5
    • Component/s: All Tools
    • Labels:
      None
    • Environment:
      OSX / Python

      Running ./mongod or ./mongo results in an SyntaxError:

      python ./mongod
      File "./mongod", line 1
      SyntaxError: Non-ASCII character '\xcf' in file ./mongod on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
      python ./mongo
      File "./mongo", line 1
      SyntaxError: Non-ASCII character '\xcf' in file ./mongo on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

      I installed the package anew but the error(s) still resulted.

            Assignee:
            Unassigned Unassigned
            Reporter:
            Havalx Haval [X]
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: