How to fix errors when running QwQ-32B in LMStudio

When using QwQ-32B, the MLX version throws this error during chat: “Error rendering prompt with jinja template: Error: Parser Error: Expected closing statement token. OpenSquareBracket !== CloseStatement.”, which you need to fix by modifying the jinja template. The gguf version doesn't have this problem. After the fix it ran successfully, as shown in the image.

AI

_reactNativeHealth.default.initHealthKit is not a function (it is undefined) error

I ran into the React Native HealthKit initialization error "_reactNativeHealth.default.initHealthKit is not a function (it is undefined)" and found it was caused by RN's new lazy-loading mechanism for modules, which leaves NativeModules as an empty object. I temporarily worked around it by manually grabbing the functions I needed and assigning them to the Kit object, so I could keep developing.

App Development

Error when packaging Adobe AIR with an ANE from an external SDK

Symptoms: Our project needed the ANE QR code scanning feature. After writing it in XCode with ZBarSDK and publishing it as an ANE, packing it into an IPA with adt threw this error: Packaging failed! Packaging error message: Compilation failed while executing : ld64 Packaging output: ld: warning: ignoring file /var/folders/l5/kql7svqx5j93vwg65tj3pt_c0000gn/T/8e0d5504-ffea-41da-a45b-22cfe260a197/libcn.flashj.ane.ios.QRScan.a, file was built for archive which is not the architecture being linked (armv7): /var/folders/l5/kql7svqx5j93vwg65tj3pt_c0000gn/T/8e0d5504-ffea-41da-a45b-22cfe260a197/libcn.flashj.ane.ios.QRScan.a Undefined symbols for architecture armv7: “_QRScanExtInitializer”, referenced from: _g_com_adobe_air_fre_fmap in extensionglue.o (maybe you meant: _QRScanExtInitializer_name) “_QRScanExtFinalizer”, referenced from: _g_com_adobe_air_fre_fmap in extensionglue.o (maybe you meant: _QRScanExtFinalizer_name) ld: symbol(s) not found for architecture armv7

App Development / Flash

Compiling a Robotlegs project in Flash causes runtime errors

When compiling a project that uses robotleges in the Flash IDE, it always throws a null error at runtime (cannot access a null object…). Previously I had only ever compiled in FDT and never had thi...

Flash

Security sandbox issue #2123

The first note on security sandboxes. Security sandboxes have tripped up plenty of people, so this is well-trodden ground. This afternoon I ran into error 2123. The scene of the crimeA certain list flash page needed to support gravatar avatars (gravatar’s cross-domain policy file lives at http://www.gravatar.com/avatar/crossdomain.xml). While loading the avatars they serve up, I hit a security sandbox violation, with this error: SecurityError: Error #2123: Security sandbox violation:

Flash

The file is clearly there, yet require_once(./*.php) throws an error

Problem description:Right after installing PMA, accessing it in Firefox shows a blank page with no output at all. In IE you can see a 500 error (Internal Server Error). Turn on error reporting and you find this: Warning: require_once(./libraries/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in ***\mousebomb\pma\index.php on line 35 Fatal error: require_once() [function.require]: Failed opening required ‘./libraries/common.inc.php’ (include_path=’.;C:\php5\pear’) in ***\mousebomb\pma\index.php on line 35 And yet the file really does exist, and IUSR (the IIS anonymous access user) has permission on it.

Backend Server

PDO transaction error?

Today I hit an error in the PDO transaction-handling part: Fatal error: Uncaught exception ‘PDOException’ with message ‘There is no active transaction’ in /data/www/web.passport/pay/classes/class.Mydb.php:145 Stack trace: #0 /data/www/web.passport/pay/classes/class.Mydb.php(145): PDO->rollBack() #1 /data/www/web.passport/pay/yeepayOrder.php(138): Mydb->transaction(Array) #2 {main} thrown in /data/www/web.passport/pay/classes/class.Mydb.php on line 145 Looking through the error log I saw:

Backend Server

In IE, the .type of an input element is read-only!

Today I hit an error and discovered that in IE the .type of an input element is read-only!

Web Frontend

XML parsing error: undefined entity

When I opened the XML generated by PHP, I ran into this error: XML parsing error: undefined entity Location: http://www.mousebomb/Manage/xml.php?act=staticText&name=about Line: 1, Column: 84: H...

Web Frontend

Fixing the error when Flash reads a ByteArray from amfphp

Who will save me? Error reading ByteArray from amfphp in Flash Related search phrases: Sending a ByteArray from AMFPHP to Flash fails / AMF can’t send a ByteArray to AS3 / ByteArray can’t be remoted to Flash TypeError: Error #1034: Type Coercion failed: cannot convert Object@******* to flash.utils.ByteArray. / TypeError: Error #1034: 强制转换类型失败:无法将 Object@*******转换为 flash.utils.ByteArray It happens with AS3 Flash remoting, not with Flex remoting.

Flash
12