time:2015/04/19 1. 描述:运行cocos的cpp-test例子,结果修改了代码之后提示错误:Get data from file(fonts/arial.ttf) failed, error code is 32 2. 原因:未知~ 3. 解决:根据[1]中的方法解决问题 * 打开platform/win32/CCFileUtilsWin32.cpp* 找到两处::CreateFileW* 将第三个参数原本的0改为FILE_SHARE_READ 4. 参考: [1]http:/…
取资源图片时遇到执行时错误: Cocos2d: Get data from file(xxx/xxx.xxx) failed! 原因是我加入资源目录的方式不正确,例如以下图,我选择的是在Resource中加入Group.这样加入完menuscene目录是黄色的,我在代码中引用资源时路径是"menuscene/background.png",可是在项目看来menuscene并非一个真实存在的Folder,而是一个Group,所以会找不到. 解决方法是加入文件时选择Create folde…
使用OGG的 "Loading data from file to Replicat"的方法应该注意的问题:replicat进程是前台进程 因此.最好是在vncserver中调用该replicat进程或者以nohup方式放在后台执行.以下的是使用nohup方式放在后台执行. [oracle@lei1 ~]$ ll rep_backgroud.sh -rwxr-xr-x 1 oracle oinstall 98 Jun 2 03:02 rep_backgroud.sh [oracle@l…
OGG "Loading data from file to Replicat"table静态数据同步配置过程 一个.mgr过程 GGSCI (lei1) 3> view params mgr port 7809 二.抽取进程extftor GGSCI (lei1) 4> view params extftor SOURCEISTABLE userid goldengate, password yyyyy rmthost 192.168.100.189, mgrport 7…
mysql快速导入5000万条数据过程记录(LOAD DATA INFILE方式) 首先将要导入的数据文件top5000W.txt放入到数据库数据目录/var/local/mysql/data/${db_name}/ 下,并确保导入用户拥有这个txt文件的权限,否则会报Error 13错误 1.${table_name}换myisam,我们的场景对事务没啥要求,innodb引擎速度太慢了,原来导入12个小时都没导完2.导入前修改参数和禁止索引更新mysql> SET SESSION BULK_I…
错误记录:Data too long for column 'xxx' at row 1 使用Flask-sqlalchemy操作数据时报错: "Data too long for column 'chapter_list' at row 1" 在网上找了很久,发现不是编码问题,也不是字符集的问题. 于是根据报错提示同时测试一下数据长度,发现是:125968(Text是6万多),果然超标了.于是上网找长字段,发现了还有其他的字段,对应MEDIUMTEXT,LONGTEXT 方法: fr…
转载自:http://ganeshtiwaridotcomdotnp.blogspot.com/2011/12/sound-audio-file-player-in-java-working.html Sound (audio file) player in java - working source code example import java.io.File; import java.io.IOException; import javax.sound.sampled.AudioForm…
/** * pdf 加水印 * * @return */ public byte[] pdfAddWaterMark(byte[] byes) { String fileName = UUID.randomUUID().toString() + ".pdf"; String courseFile = ""; try { // 第二种:获取项目路径 D:\git\daotie\daotie //生成临时文件 , 读取完删除 File directory = new F…
在使用 IDEA, 发现一个问题File size exceeds configured limit (2560000). Code insight features not available.…
打开unity3d,首次倒入工程到unity编辑器,但是频繁弹出“Opening file Library/FailedAssetImports.txt failed”的错误对话框,很麻烦. 解决方法很简单:先把电脑上安装的杀毒软件先退出,或者把unity加入白名单,然后重新倒入就不会出现问题了. 参考文章:http://answers.unity3d.com/questions/413670/opening-file-fail.html…
在开发的时候,需要把依赖的服务更新到最新,然后 手动composer update一下,提示如下: failed) Update failed (The "e "https://api.github.com/repos/illuminate/validation/zipball/6590d61858f78c301bced7308593abfcd1c7e527" fi" file could not be downloaded: SSL operation faile…
./certbot-auto certonly 报错: Transaction check error:   file /etc/rpm/macros.ghc-srpm from install of redhat-rpm-config-9.1.0-80.el7.centos.noarch conflicts with file from package epel-release-6-8.noarch  Error Summary -------------  Could not install…
出错提示如下: ERROR Failed to compile with errors :: error in ./src/App.vue Module build failed: Error: No parser and no file path given, couldn't infer a p arser. at normalize (D:\works\:) at formatWithCursor (D:\works\:) at D:\works\node_modules\prettier…
ERROR Failed to compile with 2 errors 12:00:33 error in ./src/App.vue Module build failed: Error: No parser and no file path given, couldn't infer a parser. at normalize (C:\Users\admin\Desktop\222\demo\node_modules\prettier\index.js:7051:13) at form…
[root@hyc ~]# ftp 192.168.254.5 Connected to 192.168.254.5 (192.168.254.5). Welcome to blah FTP service. Name (192.168.254.5:root): user2 Please specify the password. Password: OOPS: bad bool value in config file for: anon_world_readable_only Login f…
执行test程序时输出: EAL: Error reading from file descriptor 23: Input/output error 原因: 在虚拟机添加的网卡,dpdk不支持导致的. 需要修改一行代码,跳过dpdk pci 检查 修改代码行 lib/librte_eal/linuxapp/igb_uio/igb_uio.c 找到 pci_intx_mask_supported(dev) 这行代码,然后修改为 pci_intx_mask_supported(dev)||true…
(C++) Assertion failed: !"Bad error code", file VMem.c, line 715 Misc error. myInterface Full error message Assertion failed: !"Bad error code", file VMem.c, line 715 View a screenshot of this error message Cause IDE: C++ Builder 6.0 P…
在SSIS下做Excel导入数据的时候遇到下面的错误 [Excel Source [16]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0209303. T…
接上一个,REDO报错搞定后OPEN数据库时又报错ORA-00600: internal error code, arguments: [2662]. 原因是_ALLOW_RESETLOGS_CORRUPTION后resetlogs打开数据库,我们可能会因为SCN不一致而遭遇到ORA-00600 2662号错误( current scn 小于undo block scn). 现象及解决--这个没拍照參考EYGLE的样例吧 Sun Dec 11 18:02:25 2005 Errors in fi…
[oracle@dgdb1 ~]$ ggsci Oracle GoldenGate Command Interpreter for OracleVersion 11.2.1.0.3 14400833 OGGCORE_11.2.1.0.3_PLATFORMS_120823.1258_FBOLinux, x64, 64bit (optimized), Oracle 11g on Aug 23 2012 20:20:21 Copyright (C) 1995, 2012, Oracle and/or…
问题 vscode编写C++程序,使用microsoft C++ Unable to open 'cvt.cpp': Unable to read file 'c:\Program Files\Microsoft VS Code\minkernel\crts\ucrt\src\appcrt\convert\cvt.cpp' (Error: Unable to resolve non-existing file 'c:\Program Files\Microsoft VS Code\minkern…
OBLIVIATE redesigned ORAM for SGX filesystem operations for confuse access patterns to protect user privacy. Why All existing SGX filesystems are vulnerable to system call snooping, page fault, or cache based side-channel attacks. How Run isolated fi…
load data local infile 'd:/1.txt' into table tcm.wm_dis_category fields terminated by';' lines terminated by'\r\n' (name,parent_id,pinyin)…
结构图 webconfig 配置正确的连接字符串 <connectionStrings> <add name="DBConnection" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=Test;Integrated Security=True" providerName="System.Data.SqlClient" /> </connecti…
批量生成修改路径的脚本.select 'alter database rename file ''' || name ||'''' || ' to '''|| substr(name,0,instr(name,'/',-1) -1)|| '_ST' || substr(name,instr(name,'/',-1)) ||''';'from v$datafile; select 'alter database rename file ''' || name ||'''' || ' to '''|…
-- ::25.026 +: [ERR] Connection id "0HLQH64H76UL5", Request id "0HLQH64H76UL5:00000001": An unhandled exception was thrown by the application. MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specifie…
1)使用root用户登录mysql 2)将 local_infile 变量设置为true SET GLOBAL local_infile = true; 3)重启数据库 在系统偏好设置中找到MySql,选择重启. https://stackoverflow.com/questions/10762239/mysql-enable-load-data-local-infile/35205908…
这是由于配置osg时 freetype 插件没有配置到位. 我个人的解决方法 打开CMAKE,点击advance,不勾选OSG_TEXT_USE_FONTCONFIG. 同时将freetype路径设置为如下:…
1. 问题 问题出在微信端,而且是苹果机的微信端(苹果你咋这么矫情,安卓正常).:代码还是之前的代码,貌似是苹果升级系统后部分版本出现的 BUG,后来证明确实跟 ios 版本有关,网上也找过类似的解决措施: 2. 解决方法 2.1 添加 async: false(未验证) function saveUser() { $.ajax({ type:"POST", url:"SaveUser.action", data:$('#fm').serialize(), data…
最近在做AX2012 R3 CU9 到CU11的upgrade时 (用的Admin帐号), 在Date upgrade 的 synchronize database 这步 跑了一半,报出错误 说“failed to create a session; confirm that the user has the proper privileges to log on to the Microsoft Dynamics.”. Bing了一圈,找到了有用信息http://community.dynam…