Menu

#5 Percent sign in rbgen brakes make on Ubuntu 7.10

open
nobody
None
5
2008-05-12
2008-05-12
No

When running make on Ubuntu 7.10 I receive this error:
[...]
./rbgen example4.rb
File "./rbgen", line 9
SyntaxError: Non-ASCII character '\xc2' in file ./rbgen on line 9, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
---

After removing the percent sign from the word "%prefix" the make works. The encoding should be specified in the file.

Discussion

  • Patrik Lermon

    Patrik Lermon - 2008-05-12
    • summary: Percent sign in rbgen brakes make on Ubutnu 7.10 --> Percent sign in rbgen brakes make on Ubuntu 7.10
     
  • Patrik Lermon

    Patrik Lermon - 2008-05-12

    Logged In: YES
    user_id=881774
    Originator: YES

    Typo.

     

Log in to post a comment.

MongoDB Logo MongoDB