-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无法获取libraryUuid #10
Comments
You can use Debug Mode for this: https://prodocs.easyeda.com/en/api/guide/invoke-apis.html#entering-debug-mode |
Hi bro! Thanks for your response. As I have debugged in debug mode, I have got an error as follows:
This maybe because |
Using your method, I was able to get the library_uuid and c_uuid with the following code: const comp_info = (await eda.lib_Device.search('Resistor')).shift();
const library_uuid = comp_info.libraryUuid;
if (!library_uuid) {
throw new Error("Failed to get project library uuid!");
}
const c_uuid = comp_info.uuid;
console.log('library_uuid:', library_uuid, 'c_uuid:', c_uuid); If you are still having problems, can you tell me a bit about your runtime environment? eg: your software version, whether you are on the browser side, whether you are in client offline mode... |
Thanks for your response. Can you please be more specific about the software version? Like which software do you want? |
Assuming you mean the 嘉立创EDA version as the software version, so the version is v2.2.32 and I am on the browser site. And I am using 嘉立创EDA professional. |
Hello! How is the things going? Really need the quick response here... |
I've gotten several emails prompting me that you've left a message here, but I don't see the message in the email every time I click in. Has the problem been resolved? The new version is avaliable (2.2.34.5). Please try to reproduce your problem in this release and provide the minimal reproduction code here. |
How to log in into this version on the browser site? And also, I have tried to use this piece of script to generate library uuid
|
By the way, |
Next to the version number in the top right corner of your page, there will be a small up arrow waiting for you. |
Okey... Looks like you may not have been pushed to. You can use this address to access the current version: https://pro.lceda.cn/editor Warning Please note: This is the address that specifies a fixed version (2.2.34.6), meaning that it will not be pushed to any newer version when it is in use. |
Thank you! It works now:) |
If you want to output logs in the console, check out the documentation: https://prodocs.easyeda.com/en/api/guide/invoke-apis.html#entering-debug-mode
|
Hello! Please see the new issues #13 and #14 I have posted. Thank you:) |
|
Hello! Just want to remind you to take a look on #14 and then #13. |
最新版本2.2.34.8已经正式发布,该问题已经修复 |
你好 我这边想尝试利用api来放置单个器件 但是放置的时候总是报错 原因应该是
libraryUuid
没有办法获取 在console
里面打印总是空。如下是我编写的程序 想放置一个电阻 能否帮我看看这种形式问题出在哪里?或者能否提供一个使用实例 让我更好地了解。The text was updated successfully, but these errors were encountered: