Author Topic: Problem to export  (Read 2521 times)

0 Members and 1 Guest are viewing this topic.

Offline rmtriani

  • New QuantumATK user
  • *
  • Posts: 2
  • Country: br
  • Reputation: 0
    • View Profile
Problem to export
« on: October 1, 2016, 20:29 »
Hello,

I have a problem to export any structure to other file formats.
This message appear for me:

> Traceback (most recent call last):
>   File "./zipdir/NL/GUI/Tools/Builder/Builder.py", line 647, in export
>   File "./zipdir/NL/GUI/Core/ConfigurationExporter.py", line 147, in export
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xc1' in position 15: ordinal not in range(128)


Could anyone help me to solve?

I saw in other topic this  http://quantumwise.com/forum/index.php?topic=5.msg13#msg13
Can it  be a solution?

« Last Edit: October 1, 2016, 21:01 by rmtriani »

Offline Ulrik G. Vej-Hansen

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 425
  • Country: dk
  • Reputation: 8
    • View Profile
Re: Problem to export
« Reply #1 on: October 3, 2016, 10:06 »
I think the problem is caused by a unicode character in either the directory or the filename. As mentioned in the release notes for 2016.2, this still causes problems in some cases. So if you do have unicode characters somewhere in the directory/filename, try removing those and see if the problem persists.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5446
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Problem to export
« Reply #2 on: October 3, 2016, 17:44 »
Indeed, the unicode character u'\xc1' is equal to "Á" so either you have this in your username or the directory/filename where  you are trying to export the file. VNL 2017 will have better unicode support, but it's not entirely trivial to implement.

Offline rmtriani

  • New QuantumATK user
  • *
  • Posts: 2
  • Country: br
  • Reputation: 0
    • View Profile
Re: Problem to export
« Reply #3 on: October 4, 2016, 02:19 »
Hi everyone,

Yes, to some others directory I can export. But as all you said I changed the name for directory which contain "À" character and it work.
I did not know this information. Thanks for that.