Search

'Developer/Misc'에 해당되는 글 3건

  1. 2019.08.23 System Folder Name change from Korean to English
  2. 2019.06.16 Python syntax error
  3. 2019.06.16 gvim warning produced when closing gvim

System Folder Name change from Korean to English

Developer/Misc 2019. 8. 23. 23:58 Posted by JAKE_SLEEPY
Symptom:

다운로드 -> Download
문서     -> Document
...

Cause: Installed Ubuntu with Korean Version


Solution

  1. Open a Terminal

  1. Type "LANG=C xdg-user-dirs-update --force




It is recommendable to install Ubuntu with English Version

'Developer > Misc' 카테고리의 다른 글

Python syntax error  (0) 2019.06.16
gvim warning produced when closing gvim  (0) 2019.06.16

Python syntax error

Developer/Misc 2019. 6. 16. 10:11 Posted by JAKE_SLEEPY
Symptom:

    SyntaxError: Non-ASCII character '\xc0' in file




Solution:

Use UTF-8 encoding


    In a script file, put # -*- coding: utf-8 -*-           at the second line


    ex) 1.           #!/usr/bin/python2.7
        2.           # -*- coding: utf8 -*-

'Developer > Misc' 카테고리의 다른 글

System Folder Name change from Korean to English  (0) 2019.08.23
gvim warning produced when closing gvim  (0) 2019.06.16

gvim warning produced when closing gvim

Developer/Misc 2019. 6. 16. 09:50 Posted by JAKE_SLEEPY
Symptom:

(gvim:17446): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type '<invalid>'











Solution: 
                        


vim-gnome and vim-gtk must be uninstalled


                        $ sudo apt-get remove vim-gnome
                        $ sudo apt-get remove vim-gtk



vim-gtk3 needs to be installed


                        $ sudo apt-get install vim-gtk3


'Developer > Misc' 카테고리의 다른 글

System Folder Name change from Korean to English  (0) 2019.08.23
Python syntax error  (0) 2019.06.16