MGTwitterEngine error: yajl/yajl_parse.h no such file or directory - mgtwitterengine

I'm using MGTwitterEngine in my project and when compiling the whole project I get 23 error which are all releated to yajl/yajl_parse.h no such file or directory
Is there any solution for that?
Thanks!

The project only contains references to yajl. You have to plug it in by yourself.

Related

Adding external .js and .d.ts file to react typescript app

I have a react-typescript based application and I am trying to add an external xyz.min.js file and its corresponsing xyz.min.d.ts file to my app. I'm able to refer to the classes defined inside the .d.ts file without any issues, but when I try to run the application after build and pack, I get error for those classes defined in .d.ts as Uncaught ReferenceError: XYZ is not defined.
I see that the xyz.min.d.ts file is not included in the lib folder after build. I tried adding this file under files in tsconfig.json, still no luck.
Any idea what's missing here?

How to allow MediaWiki to create Transclusion_Count/data pages

I imported the Template:Notice from MediaWiki, but am getting the following error:
Lua error in package.lua at line 80: module 'Module:Transclusion_count/data/N' not found.
I'm understanding that these data files are generated somehow rather than being imported. How do I get my MediaWiki instance to create these data files?
Thanks in advance.

How should one zip a large folder in Windows 10, upload it to GDrive, then unzip it?

I have a directory consisting of 22 sub-directories. Altogether, the directory is about 750GB in size and I need this data on GDrive so that I can work with it in Google Colab. Obviously uploading this takes an absolute age (particularly with my slow connection) so I would like to zip it, upload it, then unzip it in the cloud.
I am using 7zip and zipping each subdirectory using the zip format and "normal" compression level. (EDIT: Can now confirm that I get the same error for 7z and tar format). Each subdirectory ends up between 14 and 20GB in size. I then upload this and attempt to unzip it in Google Colab using the following code:
drive.mount('/content/gdrive/')
!apt-get install p7zip-full
!7za x "/content/gdrive/My Drive/av_tfrecords/drumming_7zip.zip" -o"/content/gdrive/My Drive/unzipped_av_tfrecords/" -aos
This extracts some portion of the zip file before throwing an error. There are a variety of errors and sometimes the code will not even begin unzipping the file before throwing an error. This is the most common error:
Can not open the file as archive
ERROR: Unknown error -2147024891
Archives with Errors: 1
If I then attempt to rerun the !7za command, it may extract one or 2 files more from the zip file before throwing this error:
terminate called after throwing an instance of 'CInBufferException'
It may also complain about particular files within the zip archive:
ERROR: Headers Error : drumming/yt-g0fi0iLRJCE_23.tfrecords
I have also tried using:
!unzip -n "/content/gdrive/My Drive/av_tfrecords/drumming_7zip.zip" -d "/content/gdrive/My Drive/unzipped_av_tfrecords/"
But that just begins throwing errors:
file #254: bad zipfile offset (lseek): 8137146368
file #255: bad zipfile offset (lseek): 8168710144
file #256: bad zipfile offset (lseek): 8207515648
Although I would prefer a solution in Colab, I have also tried using an app available in GDrive named "Zip Extractor". But that too throws an error and has a dataquota.
This has now happened across 4 zip files and each time I try something new, it takes an a long time to try it out because of the upload speeds. Any explanations for why this is happening and how I can resolve the issue would be greatly appreciated. Also I understand there are probably alternatives to what I am trying to do and they would be appreciated also, even if they do not directly answer the question. Thank you!
I got same problem
Solve it by
new ProcessBuilder(new String[] {"7z", "x", fPath, "-o" + dir)
Use command line array, not just full line!
Luck!
Why does this command behave differently depending on whether it's called from terminal.app or a scala program?

Edit JSON File in Scratch 3.0

I would like to know if it is possible to edit the JSON file of Scratch 3.0 project. I downloaded a project, changed the name into a .zip, unzipping it, and opening the JSON file that it left. I did not change any line of the JSON code. I compressed the project and changed its name into sb3; but when I upload it the Scratch 3.0 GUI I got this:
Oops! Something went wrong.
We are so sorry, but it looks like Scratch has crashed. This bug has been automatically reported to the Scratch Team. Please refresh your page to try again.
Make sure the folder structure of the new sb3 matches the original. If you zip the outer folder after extracting instead of the files inside, the folder structure won't be what Scratch expects and it will throw an error.

Gassetic looking for file with _0 added to file name

In my gassetic.yml file I have the following
files:
app.css: # This is the output filename
- src/someBundle/app.scss
However when gassetic runs, I get an error saying src/someBundle/app_0.scss is missing.
If I create this file and edit it, its this app_0.scss that is compiled.
Why does gassetic / gulp look for this file when its not specified in my yml file?
Thanks
It adds index of the file in the folder to avoid overwritting.
I think this is a bug but you can fix it by adding autoRenaming: false to the dev environment. See Multiple Environments setup