Cypress技术论坛
直播中

黎桂珍

8年用户 165经验值
私信 关注
[问答]

用户主路径错误

PSoC Creator 4.1(4.1.0.268)
文化:俄语(俄罗斯)
操作系统版本:微软Windows NT 100.1563.0
CLR版本:4.0.30319.42000
“创建者”使用用户主目录(文档)来安装PDL并下载示例项目。
但是如果路径包含非英语字符,它就不能使用它。
例如:
我下载一个例子并尝试基于它创建一个项目。
创建者请求新的项目位置,下一步说路径中包含的用户名是不正确的字符串。

以上来自于百度翻译


     以下为原文
  PSoC Creator  4.1 (4.1.0.2686)
Culture: Russian (Russia)
OS Version: Microsoft Windows NT 10.0.15063.0
CLR Version: 4.0.30319.42000

"Creator" uses user home directory (Documents) for installing PDL and downloading example projects.
But if the path contains non-english characters, it fails to use it.

For example:

I download an example and tries to create a project based on it.
Creator asks for new project location and on the next step says that my username included in the path is incorrect string.

回帖(7)

吴桦

2019-1-3 16:43:10
它不是关于单个字符,它表示“Yang-Suthixy”是路径内的错误字符串。

以上来自于百度翻译


     以下为原文
  It's not about single character, it says "***саев" is incorrect string within path.
举报

黎桂珍

2019-1-3 16:58:15
对。它是创造者。但我不是在构建自定义项目(我把PDL写在同一个USER HOME子文件夹中,我预期它会遇到同样的问题)。
我刚刚收到CY8CITK-042(4248 BLE工具包),并尝试打开一个例子。创建者正确地在USSHOLD子目录中下载它,但是当我按下CREATE项目时,它要求新的项目位置,在下一个步骤中,用路径元素错误抛出那个窗口。
我还试图在一些正确的根文件夹中重新安装PDL,并用向导创建新项目——它没有问题。

以上来自于百度翻译


     以下为原文
  Yes. it's withing Creator. But i'm not building custom project (I wrote about PDL as it's placed in same userhome subfolder and I _expect_ same problems with it).
 
I've just received CY8CKIT-042 (4248 BLE Kit) and try to open one of Examples. Creator downloads it in userhome subdirectory correctly, but when I press Create project it asks for new project location and on the next step throws that window with path element error.
 
PS. I also tried to reinstall PDL in some correct root folder and to create new project with wizard - it builds with no problem.
举报

黎桂珍

2019-1-3 17:09:21
你明白了吗?
无法打开工作区“C:用户yfsDealsxO.PoSox4BulyCopsESE.SLuldRead LePSoCux4BulyCopsNeS.SLLDRYPE-LED。处理错误并重试。
我不认为这是一个PDL问题。文档可以更好地在这个主题上,但PDL是灵活的微控制器(FMX)产品和PSoC 6的驱动程序库。它不需要PSOC 4 BLE。
PSoC Creator无法在路径中使用这些字符处理文件夹中的项目,因为它依赖于不支持它们的生成流中的可执行文件。我们无法修复第三方工具,因此我们必须拒绝创建项目的请求。我已经尝试在我的Sype文件夹中创建新的项目和套件项目和代码示例项目,并且它不允许发生这种情况(严格地说,我使用的是4.2的内部构建,但我不认为自从4.1以来这已经发生了变化)。
我意识到这是一个巨大的痛苦,我为不便之处道歉,但是你能在我们的软件可以处理的文件夹中创建项目吗?

以上来自于百度翻译


     以下为原文
  Do you get this...
 
Unable to open the workspace "C:UsersyfsDocuments***ананPSoC_4_BLE_CapSense_Slider_LEDPSoC_4_BLE_CapSense_Slider_LED.cywrk": (Invalid character(s): ***ан). Address the error and try again.
 
I do not think this is a PDL issue. The documentation could be better on this subject but the PDL is a driver library for Flexible Microcontroller (FMx) products and also PSoC 6. It is not needed for PSoC 4 BLE.
 
PSoC Creator cannot handle projects in folders with these characters in the path because it relies upon executables in the build flow that do not support them. We cannot fix the third party tools and so we have to deny the request to create the project. I have tried to create new projects and kit projects and code example projects in my ***анан folder and it does not let that happen (strictly I am using an internal build of 4.2 but I do not think this has changed since 4.1).
 
I realize this is a big pain, and I apologize for the inconvenience, but can you create projects in a folder that our software can handle?
举报

李云生

2019-1-3 17:24:43
老实说:Windows支持路径名称中的语言特定字符15年了。一个不能处理的软件应该被纠正,不管“第三方”。至少(至少)安装程序不应该提出这样的文件名,也不接受它们作为选择。拆卸和重新安装可能是一个痛苦的问题。
鲍勃

以上来自于百度翻译


     以下为原文
  To be honest: Windows supports language specific characters in pathnames for 15 years now. A software that is not able to handle that should be corrected, regardless of "third party". At least (the very least) the installer should not propose such filenames nor accept them as a choice. Removing and re-installing can be a pain ita.
 
Bob
举报

更多回帖

发帖
×
20
完善资料,
赚取积分