QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: gump423 on September 19, 2009, 22:50

Title: The failure of drag-and-drop function
Post by: gump423 on September 19, 2009, 22:50
Hi guys,

I just started to learn Virtual Nanolab a couple of days ago. When I proceeded to NanoLanguage Scripter module, I found I could not use drag-and-drop function. Everytime I tried to drag a .py or .vnl file to the NanoLanguage Scripter, an internal error occurred with the error message of
                         "exceptions. UnicodeEncode Error:
                          'ascii' codec can't encode characters in position 30-31: ordinal not in range(128)"

This problem was reproducible and made me desperate, can anybody help me out on it? Or is there any alternative way to do the same thing with the drag-and-drop function?

Thanks in advance!
                         
Title: Re: The failure of drag-and-drop function
Post by: Anders Blom on September 19, 2009, 23:39
Perhaps your script contains a character which is outside the normal 7-bit ASCII table (i.e. a Unicode character)? Or may it be that the directory or file name itself has some Unicode characters?
Title: Re: The failure of drag-and-drop function
Post by: gump423 on September 22, 2009, 19:34
Thanks a lot. You really helped me out.