Author Topic: The failure of drag-and-drop function  (Read 3807 times)

0 Members and 1 Guest are viewing this topic.

Offline gump423

  • New QuantumATK user
  • *
  • Posts: 2
  • Reputation: 0
    • View Profile
The failure of drag-and-drop function
« 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!
                         

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: The failure of drag-and-drop function
« Reply #1 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?
« Last Edit: September 19, 2009, 23:42 by Anders Blom »

Offline gump423

  • New QuantumATK user
  • *
  • Posts: 2
  • Reputation: 0
    • View Profile
Re: The failure of drag-and-drop function
« Reply #2 on: September 22, 2009, 19:34 »
Thanks a lot. You really helped me out.