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

SynaxError when running mongod & mongo

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: