• [问题求助] 安装paddleocr失败
    参考论坛贴安装https://bbs.huaweicloud.com/forum/thread-194071-1-1.htmlLooking in indexes: https://mirrors.tools.huawei.com/pypi/simpleWARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001A53C50D9A0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /pypi/simple/paddleocr/WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001A53C50DCD0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /pypi/simple/paddleocr/WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001A53C50DE80>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /pypi/simple/paddleocr/WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001A53C50DD60>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /pypi/simple/paddleocr/WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001A53C534220>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /pypi/simple/paddleocr/ERROR: Could not find a version that satisfies the requirement paddleocr (from versions: none)ERROR: No matching distribution found for paddleocrWARNING: You are using pip version 22.0.4; however, version 24.3.1 is available.
  • [技术干货] 在ADC2.0如何记录“危险”级别的操作日志
    背景: 一般记录操作日志 使用 POST /adc-log/rest/v1/operation-log/record 有需要的话可以参考:http://3ms.huawei.com/hi/group/3059465/thread_8794526.html?mapId=10621426&for_statistic_from=my_threads_group_forum&ctype=-1最近有开发者提出如何 记录“危险”级别的操作日志, 但是上面的接口没有关于级别字段的入参,因此无法实现。 方案:可以使用GLS接口 POST /gls/audit-log/v1/record,用cse接口调用方式,可以在运行脚本中正常运行。var request = {"operator": "swb","operationType": "Add","operationObject": "User","operationResult": "SUCCESS","operationLevel": "RISK",  //INFO, WARN, RISK"operationInfo":"测试危险级别日志","source": "adc","operationTime": TimeUtil.getUTCLong()};var response = ServiceInvoker.post("/gls:gls/audit-log/v1/record", request);return response 参数参考:(来源机关产品文档)Request Body参数说明参数是否为必选类型描述operator是String操作者,长度1-100位operatorId否String操作者id,最大长度100位operatorAddress否String操作者IP地址,长度1-100位operationType是String操作类型(英文),长度1-100位,支持填写大小写字母、数字、中划线-和下划线_operationTypeCn否String操作类型(中文),最大长度200位operationObject是String操作对象,长度1-255位,支持填写大小写字母、数字、中划线-和下划线_operationInfo否String操作具体信息(英文),最大长度32766位operationInfoCn否String操作具体信息(中文),最大长度32766位operationResult是Enum String操作结果,枚举值:SUCCESS, FAIL, PART_SUCCESSoperationLevel否Enum String日志等级,枚举值:INFO, WARN, RISKsource是String日志来源,即各服务的服务名,长度1-64位。支持字符:0-9,a-z,A-Z,中划线(-),下划线(_)operationTime是Long操作时间,毫秒时间戳domainId否String域名id,最大长度100位domain否String域名,最大长度100位projectId否String项目id,最大长度100位project否String项目名称,最大长度100位logType否Enum String日志类型,枚举值:SYSTEM, SECURITY, OPERATIONtraceId否Long调用链IdtenantId否String租户ID,表示日志产生的来源租户。最大100位(不传则从X-Access-Token中获取)
  • [问题求助] WeAutomate执行器许可证配置官网链接页面空白,如何获取许可证
    WeAutomate执行器许可证配置官网链接页面空白,如何获取许可证    
  • [问题求助] RPA写入单元格问题
    需要写入表格J列J2:J11,一直显示单元格格式不正确
  • [问题求助] 写入单元格控件显示格式不正确
      《财务机器人应用与开发》.谭宏,这本教材212页5-37操作一直失败,显示格式不正确,按照提示修改了单元格格式也不行,不清楚问题出在哪里,源代码和Excel文件放在了附件。  
  • [问题求助] 获取网页链接
    通过网页数据抓取控件获取网页数据,但因为网址本身没有url信息导致获取不了,这种情况下怎样能获取当前网页所有行对应的url信息
  • [问题求助] 功能键中F4怎么输入
    在RPA中用 sendkeys 发送功能键,F4怎么输入呢
  • [技术干货] 4.1.0版本截取元素图片报错,ValueError: pid must be a positive integer (got -1437034160)
    替换Studio 4.1.0\Robot\com\huawei\antrobot\plugin_common\win_uia路径下uia_utils.pyc文件
  • [问题求助] 一个序列号只能试用一次吗
    安装新版rpa后,重新生成许可文件,已经无法生成了,现在一个序列号只能生成一次许可文件吗?
  • [问题求助] extractWebData网页数据获取问题
    想获取网页页面数据,使用了extractWebData,但因网页数据分多段显示,第一段xpath是/html/body/div[2]/div[3]/ul[1]/li[1]到/html/body/div[2]/div[3]/ul[1]/li[6],第二段xpath是/html/body/div[2]/div[3]/ul[2]/li[1]到/html/body/div[2]/div[3]/ul[2]/li[6],除了使用2个extractWebDatak控件分段获取以外,是否有别的更好办法来通用处理此类问题?因为要获取多个网页数据,如果每个网页单独定制逻辑工作量很大
  • [技术干货] 海酆防溺水检测系统
    各路大神如何把物联网接入高危行业?
  • [问题求助] getWordClick控件传入目标文本后控件提示找不到文本
    应用程序有一个下拉选择控件,通过getText控件能够获取到该控件的选项文本信息,但使用getWordClick控件传入目标文本后控件提示找不到文本
  • [问题求助] 华为数字机器人Automate Uniportal账号登录与许可问题
    大家好!我体验华为数字机器人Automate时,发现有两种登录方式:Uniportal账号和激活许可。如果选择Uniportal账号登录,是否还需要在软件内导入许可文件?如果不需要导入许可文件,这种用账号登录可以使用多长时间?
  • [问题求助] Weautomate使用pop.getEmail时报错:[系统执行错误: 发生了未捕获异常,详情:ValueError(\"invalid literal for int() with base 10: 'UT'\")]
     [2024-12-30 14:40:48,139] [INFO] - studio.logger(common_log:178) - 启动机器人 4.1.0 [2024-12-30 14:40:48,155] [INFO] - studio.logger(common_log:178) - 开始执行[脚本] [example_email****** [2024-12-30 14:40:48,223] [INFO] - com.huawei.antrobot.utils.communication.communication(is_available_service:75) - test service: password******ully [2024-12-30 14:40:48,224] [INFO] - worker.robot.robot(__set_service_running:176) - service started for password******encrypt******decrypt****** [2024-12-30 14:40:48,289] [ERROR] - com.huawei.antrobot.framework.authentication.auth.auth(check_access_token:166) - get uniportal interface code failed, error_info:,None [2024-12-30 14:40:48,424] [INFO] - com.huawei.antrobot.framework.variables.parse_variables.parse_variables(decrypt_value:259) - try to decrypt****** [2024-12-30 14:40:48,550] [INFO] - com.huawei.antrobot.parser.input_parser.input_parser(get_input_variables_or_excel_data:66) - run with variables.json file [2024-12-30 14:40:48,551] [INFO] - com.huawei.antrobot.parser.input_parser.input_parser(parse_parameters_json:123) - run with parameters.json file [2024-12-30 14:40:48,552] [INFO] - com.huawei.antrobot.framework.decryption.password_util.password_util(parse_json_file:48) - begin to parse parameters.json file [2024-12-30 14:40:48,552] [INFO] - com.huawei.antrobot.framework.decryption.password_util.password_util(parse_decrypt_json_data_to_list:66) - begin to parse parameters.json data to context [2024-12-30 14:40:48,553] [INFO] - com.huawei.antrobot.framework.variables.parse_variables.parse_variables(decrypt_value:259) - try to decrypt****** [2024-12-30 14:40:48,611] [INFO] - com.huawei.antrobot.framework.variables.parse_variables.parse_variables(decrypt_value:259) - try to decrypt****** [2024-12-30 14:40:48,720] [INFO] - worker.robot.robot(run_with_no_inputdata:147) - run robot without variables.json and excel data [2024-12-30 14:40:48,956] [INFO] - com.huawei.antrobot.parser.wap_xml.parser.xml2model.xml2model(parse:117) - Begin parse xml file [2024-12-30 14:40:49,012] [INFO] - com.huawei.antrobot.logging.log_output.log_output(log_output_start_end:168) - start running logic: robot line:0 [None] in subscript02.xml [2024-12-30 14:40:49,013] [INFO] - com.huawei.antrobot.logging.log_output.log_output(log_output_start_end:168) - start running action: pop.getEmail line:4 [获取邮件(pop)] in subscript02.xml [2024-12-30 14:40:49,208] [WARNING] - com.huawei.antrobot.framework.security_check.digital_certificate_checker.digital_certificate_checker(inner:59) - There are no uploaded certificates in the certificate library directory [2024-12-30 14:40:49,209] [INFO] - console.obtain_email(print_prompt_log:223) - 正在取回邮件,请耐心等待…… [2024-12-30 14:40:50,074] [ERROR] - com.huawei.antrobot.dispatch.dispatcher.dispatcher(logout_traceback:131) - Traceback (most recent call last):   File "..com.huawei.antrobot.framework.failure.failure_deal.py", line 95, in inner   File "..com.huawei.antrobot.framework.security_check.allow_list_utils.py", line 278, in inner   File "..com.huawei.antrobot.dispatch.dispatcher.py", line 103, in run   File "..com.huawei.antrobot.drivers.common_driver.py", line 60, in run_action   File "..com.huawei.antrobot.actions.common.base.py", line 69, in order   File "..com.huawei.antrobot.actions.common.base.py", line 114, in run   File "..com.huawei.antrobot.framework.security_check.digital_certificate_checker.py", line 62, in inner   File "..com.huawei.antrobot.actions.wa-mail******mail******mail******in getemail   File "..com.huawei.antrobot.actions.wa-mail******mail******mail******in get_subjects_senders_email******   File "..com.huawei.antrobot.actions.wa-mail******mail******email******et_date   File "..com.huawei.antrobot.actions.wa-mail******mail******email******t_utc ValueError: invalid literal for int() with base 10: 'UT'  [2024-12-30 14:40:50,080] [INFO] - com.huawei.antrobot.logging.log_output.log_output(log_output_start_end:168) - end running action: pop.getEmail line:4 [获取邮件(pop)] in subscript02.xml with result:None [2024-12-30 14:40:50,083] [ERROR] - studio.logger(common_log:178) - 完成执行[原子命令] [subscript02.xml 第4行] 获取邮件(pop) [获取邮件(pop)] [NOK] [RobotUncaughtError] [系统执行错误: 发生了未捕获异常,详情:ValueError(\\\"invalid literal for int() with base 10: 'UT'\\\")] [2024-12-30 14:40:50,086] [INFO] - com.huawei.antrobot.logging.log_output.log_output(log_output_start_end:168) - end running logic: robot line:0 [None] in subscript02.xml with result:None [2024-12-30 14:40:50,088] [ERROR] - studio.logger(common_log:178) - 完成执行[脚本] [example_email******[NOK] [RobotUncaughtError] [系统执行错误: 发生了未捕获异常,详情:ValueError(\"invalid literal for int() with base 10: 'UT'\")] [2024-12-30 14:40:50,114] [ERROR] - studio.logger(common_log:178) - 结束机器人: 任务执行失败 [2024-12-30 14:40:50,115] [INFO] - __main__.antrobot(<module>:127) - robot finished 
  • [技术干货] 4.1.0版本等待图片出现报错TypeError(\"intO argument must be a string, a bytes-like object or a number not "NoneType"\")]
    报错现象:解决方案:替换安装路径Studio 4.1.0\python\Lib\site-packages\wa_uiimage\citrix_auto.pyc文件,文件见附件