Community Translation - Invalid Characters Error in PSoC Creator - KBA229090

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I'd like to translate this KBA229090 into Japanese.

moto

Original KBA: KBA229090

Invalid Characters Error in PSoC Creator - KBA229090

Translated by: MoTa_728816

=======================

タイトル: PSoC Creator の Invalid Characters Error - KBA229090

質問:

PSoC® Creator™ でプロジェクトを作成しようすると下記のようなエラーメッセージが表示されます:

“PSoC Creator Error prj:M0259 - Unable to proceed with project creation. Invalid character(s): ,”

どのように対応したら良いでしょうか?

回答:

特別な文字 (“ # @ ! ~ $ % ^ & ( ) - = + _ { } [ ] ' , ” 等) のどれか一つでも含まれているパスにプロジェクトを作成しようとすると、 PSoC Creator は図 1のエラーメッセージを表示します。

                                   図 1. PSoC Creator のエラーメッセージ

                         001-pastedImage_1.png

PSoC Creator はアプリケーションを作成したりビルドする為に使用している下位のツール群が特別な文字を含んだパスに対応していないため、これらの文字をサポートしていません。

このエラーを回避するためには、プロジェクトのパスに特別な文字が含まれていないことを確認してください。

ワークアラウンド:

もしパスに特別な文字が含まれていて、他に選択肢が無い場合、シンボリックリンクを作成するための Microsoft のツール MKLink をご使用ください。

シンボルリンクを作成するのには以下のようにします:

     mklink /d <シンボルリンク名> <ターゲット>

ここで、

/d はディレクトリのシンボルリンクを作成するオプションです。

例えばプロジェクトを C:/Company,Inc/(ターゲットディレクトリ) に作成する必要があった場合を考えてみましょう。このパスのシンボリックリンクを作成するためには以下の手順にしたがってください:

     1. 管理者としてコマンドプロンプトを実行します。

     2. パスに特別な文字を含まない任意のディレクトリに移動します。例えば, C:/Users/<ユーザー名>/Documents 等。

     3. mklink /d "C:\Company, Inc\." を実行します。

          図 2. mklink コマンドの実行

     002-pastedImage_38.png

     4. その後、 PSoC Creator を起動します。メニューの File > New > Project... を使用して新規プロジェクトを作成します。作成するプロジェクトにあわせてターゲットデバイスとプロジェクトテンプレートを選択します。ワークスペースを保存する場所を聞かれた時に、シンボルリンクディレクトリのパスをコピー&ペーストします。この例でパスは図3のように C:\Users\<ユーザー名>\Documents\PSoC_Project となっています。

          図 3. シンボルリンクディレクトリへのパス

     003-pastedImage_62.png

注意:シンボルリンクディレクトリを選択するのにブラウズオプション [...] は使用しないでください。 PSoC Creator のワークスペースディレクトリが図4のように、C:/Company, Inc/ に設定されてしまいます。

    図 4. PSoC Creator のワークスペースディレクトリ

     004-pastedImage_25.png

=======================

26-Mar-2020

moto

0 Likes
2 Replies
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello Tanaka san

We receive your translation, it will be published to KBA to Community.

You will receive the points as the word of KBA.

Thanks for your contribution to CDC!

Will keep you update the status.

Thanks,

Jenna Jo

Jenna Jo
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello, Tanaka-san

PSoC Creator の Invalid Characters Error - Community Translated (JA)

Your translation work has been published, please let me know - if there is issues.

Thanks for your work and waiting to be published.

You will be rewarded score as the token of appreciation.

Thanks for your continuous contribution.

Regards,

Jenna Jo

Jenna Jo