chkdsk produces different errors every time after 40 tries

I was getting a BSOD even when trying to boot into safe mode, so I booted from the Windows 7 install disk, pressed Shift+F10 to enter command prompt mode right away (because I have several operating systems on this system, the infinitely despicable so-called “Repair Mode” — what a misnomer! — takes about 40 minutes searching for operating systems to “repair”).

Then I determine which drive letter is associated with the system disk in question, then enter CHKDSK /F

It found errors the first couple of times and claimed to have repaired them, and eventually it reported that it had found no errors. But I’ve learned over the years that this can be a lie, so I’ve gotten in the habit of running the command again and again until it claims it found no errors twice in a row.

I’ve now run it about 40 times, and every single time now it reports errors, typically first the same one or two (corrupted attribute record x), then always one or more different error(s) every single time! Sometimes it reports that the volume is in use by a different process and asks if I want to dismount it first (to which I answer yes), but what other process could possibly have it attached at this point? Perhaps the infinitely stupid “searching for operating system” process, that’s still running after all this time?

Anyway, what the heck do I do now?

QuickTime component causing errors when running osascript command

If I run a simple osascript from the command line:

osascript -e 'tell app "Safari" to activate' 

I get hundreds of this error:

2019-01-19 13:07:31.224 osascript[3908:9313907] Error loading /Library/QuickTime/EyeTV MPEG Support.component/Contents/MacOS/EyeTV MPEG Support: dlopen(/Library/QuickTime/EyeTV MPEG Support.component/Contents/MacOS/EyeTV MPEG Support, 0x0106): code signature in (/Library/QuickTime/EyeTV MPEG Support.component/Contents/MacOS/EyeTV MPEG Support) not valid for use in process: mapping process is a platform binary, but mapped file is not

I have to wait for the errors to finish running before the script actually runs, which is annoying.

I tried using codesign to fix the issue:

codesign --architecture x86_64 -f -s "My Cert" 'EyeTV MPEG Support'

But it didn’t help. I believe the error is caused by Mojave’s security policy.

One way to fix this is to remove the the QuickTime component from this folder. But I’m hoping there is a better fix as the EyeTV app requires this component to run.


Migrating Drupal 7 input formats to Drupal 8.6.x causes errors

I am trying to write custom migrations to migrate my Drupal 7 website to Drupal 8. I am currently using Drupal 8.6.7 and Drupal 7.61 for a copy of the production website.

So far I have set up the D8 website with composer (docroot is path/to/web) ( )

I have always used Drush for maintenance actions on the D7 site and I am using Drush 9 for most of the actions including the migrations on the D8 site.

I have installed the most relevant modules in the D8 site so that I can start the migration, most notably all the D8 equivalents of the modules I used in the text formats/filters as well as migrate_plus, migrate_tools and migrate_upgrade.

The migration files are generated with the Drush command:

drush @dev migrate-upgrade "$  LEGACYDB" "$  LEGACYURL" --configure-only --migration-prefix=osn_custom_ 

So far I have successfully migrated the users and their roles so I have some knowledge on how migrations work.

The problem I am currently working on is the migration of a custom content type called ‘classified’. This type has a default Drupal 7 body field and a field ‘field_image’. So quite ordinary.

When I use the default generated migration file, it looks like everything is migrated, but the text is not visible. After research I found this is caused by the fact that the input format is set to the D7 code (in my case 2 aka ‘full html’) while there is no filter code in D8 that is called ‘2’. (src: ).

I decided that I might as well convert 2 to ‘basic html’ and use the D8 configuration and not migrate the D7 text filters at all.

I created a migration lookup plugin with a static map that converts all D7 codes to the preferred D8 code. It might work well, but I am running into the problem that I can’t get the migration plugin to work with the migration of the ‘classified’ migration configuration. So I decided to simplify it and set the format to a default value ‘basic_html’.

Here is what I tried in the migrate_plus.migration.osn_custom_d7_node_classified.yml The code snippets below only show the body configuration, because the other field configurations are generated with the drush command and not altered.

body: body 

the default. Content is migrated, input format is set to ‘2’.

According to this:

and this:

and this:

it should be done like this:

  'body/format':      plugin: default_value     default_value: basic_html    'body/value': body 

However, this results in the following error:

[error]  InvalidArgumentException: Placeholders must have a trailing [] if they are to be expanded with an array of values. in Drupal\Core\Database\Connection->expandArguments() (line 729 of /Users/helma/Sites/OSND8/dev/web/core/lib/Drupal/Core/Database/Connection.php).  [error]  Placeholders must have a trailing [] if they are to be expanded with an array of values. (/Users/helma/Sites/OSND8/dev/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php:783) 

I have no clue what is wrong and what I should do instead. I also don’t know how to debug this to find out what it’s expecting.

Can someone please give me some pointers?

Moved AD Connect to a new server and now end-users are getting errors when replying to internal emails in Outlook

I moved my Microsoft AD Connect install from one server to another today. I installed AD Connect on the new server in staging mode, turned on staging mode on the old server, turned it off on the new server and let it run. All seemed fine, I checked back about 20 mins later in my Office 365 Admin portal and all objects were still in sync with AD, great.

However, about an hour later one of my users tries to forward or reply to an email to another internal user in Outlook and receives this message, name removed:

Your message to couldn’t be delivered.

I’ve since heard that 3 other users started getting this message since I made the change. Luckily it’s Friday and they’re out of the office now, but I can’t help but feel the two are related.

I didn’t save the config on the old server before I uninstalled it, but the one think I’ve noticed, when comparing it to other AD Connect installs that I have is that those ones default to Source Anchor: ObjectGUID. However, when I look at this one, the Source Anchor is: ms-DS-ConsistencyGuid. I opened a ticket with Microsoft and they assured me this wouldn’t be an issue, but it’s the only thing I can see different between the two.

We did an office 365 migration and made sure to port over the X500 records from the previous on-site Exchange server, that was several months ago and there’s been no issues.

Has anyone encountered anything like this? I did notice on the new AD Connect server, on the first Full Import to the Office 365 tenant it had about 150+ adds for new CNs, seems related.

Any input would be greatly appreciated.

Ubuntu Booting Issues – (Unknown File System errors) Version 18.04.1 LTS

Yesterday when a formatted an external USB drive i thought i made a mistake initially in selecting the wrong drive. Everything as fine though, nothing went wrong initially.

After all that had happened my computer continued to work fine. Went to bed;woke up today and started working and everything was fine (i did not power off last night it was on sleep mode). However l was trying to install this dev tool and to make sure everything was working l restarted it and it wont boot properly just an ‘unknown file system’ error when l boot.

l used a live USB Ubuntu (Try Ubuntu) to recover and followed some instructions to use boot repair from:

l did that and tried to restart again and still am ending up with the same file system error. Keep in mind l already checked all the file systems using the commands on Grub to check if it was loading from the right partition but all of them turned up with nothing any ideas ?

Edit: Here is y pasteUrl -

SUPEE-10975 Creates Console Errors

Magento Community Version Patched Up till 10888

I just applied patch SUPEE-10975 and now when I go to the checkout pages I am getting some serious console errors:

prototype.js:5653 Uncaught TypeError: element.attachEvent is not a function     at Function.observe (prototype.js:5653)     at js.js:627 observe @ prototype.js:5653 (anonymous) @ js.js:627 prototype.js:5644 Uncaught TypeError: element.attachEvent is not a function     at observe (prototype.js:5644)     at HTMLDocument._methodized [as observe] (prototype.js:438)     at captcha.js:1 observe @ prototype.js:5644 _methodized @ prototype.js:438 (anonymous) @ captcha.js:1 prototype.js:5644 Uncaught TypeError: element.attachEvent is not a function     at observe (prototype.js:5644)     at HTMLDocument._methodized [as observe] (prototype.js:438)     at common.js:300 observe @ prototype.js:5644 _methodized @ prototype.js:438 (anonymous) @ common.js:300 prototype.js:5653 Uncaught TypeError: element.attachEvent is not a function     at observe (prototype.js:5653)     at HTMLDocument._methodized [as observe] (prototype.js:438)     at livepipe.js:133     at livepipe.js:135 observe @ prototype.js:5653 _methodized @ prototype.js:438 (anonymous) @ livepipe.js:133 (anonymous) @ livepipe.js:135 window.js:87 Uncaught Control.Window requires IframeShim to be loaded. (anonymous) @ window.js:87 

I assume it has to do with the inclusion of the newer version of jquery 1.12.1

But not sure what to do? I’ve reverted it and not getting these errors anymore.

Thanks for your help in advance!

Getting errors while >> sudo npm install -g onoff in raspbian OS

error :

epoll@2.0.7 install /usr/local/lib/node_modules/onoff/node_modules/epoll node-gyp rebuild

gyp WARN EACCES user “root” does not have permission to access the dev dir “/root/.node-gyp/10.15.0” gyp WARN EACCES attempting to reinstall using temporary dev dir “/usr/local/lib/node_modules/onoff/node_modules/epoll/.node-gyp” gyp WARN install got an error, rolling back install gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/usr/local/lib/node_modules/onoff/node_modules/epoll/.node-gyp’ gyp ERR! System Linux 4.14.79-v7+ gyp ERR! command “/usr/local/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild” gyp ERR! cwd /usr/local/lib/node_modules/onoff/node_modules/epoll gyp ERR! node -v v10.15.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! epoll@2.0.7 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the epoll@2.0.7 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-01-16T03_11_50_846Z-debug.log

Powershell errors about Dtd

I am using PowerShell script listed here: to update managed metadata terms but for some reason its throwing an error. It was working fine when I tested on my test tenant but in production (end client, different tenant), Its not working. Below is the error message:

“Error Importing Term Store Data! Exception calling ExecuteQuery with 0 arguement(s): For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReadersettings to parse and pass the settings into XmlReader.Create method.”

Can someone please help me why I am seeing this error and what is the solution, thanks in advance. P.S: I am using the exact same Powershell script that is in the article link I mentioned above, with the changes being, tenant url, CSvheader etc.

How to get errors of Msbuild launched by process?

I’m creating a small program that launches a msbuild to compile an application. I use process but I can not get the errors that are generated. If I launch the msbuild from cmd messages appear in red, I understand that these errors should be detected by the ErrorDataReceived event but it does not work

                        process = new Process();                         process.StartInfo.RedirectStandardOutput = true;                         process.StartInfo.RedirectStandardError = true;                         process.OutputDataReceived += new DataReceivedEventHandler(OutputHandlerData);                         process.ErrorDataReceived += new DataReceivedEventHandler(OutputHandlerError);                         process.StartInfo.UseShellExecute = false;                         process.StartInfo.CreateNoWindow = true;                         process.StartInfo.FileName = "test.bat";                         process.Start();                         process.BeginOutputReadLine();                         process.BeginErrorReadLine();      private void OutputHandlerError(object sendingProcess, DataReceivedEventArgs outLine)     {         log = log + outLine.Data + "\n";         WriteInLog(log);     }          private void OutputHandlerData(object sendingProcess, DataReceivedEventArgs outLine)     {         if (outLine.Data != null)         {             if (outLine.Data.Contains("can not find"))             {                 log = log + outLine.Data;                 WriteInLog(log);             }         }     } 

Unbalanced Panel Data Fixed Effects Model with Instruments and Robust or Clustered standard errors

I’m an undergraduate with very little experience in R and Econometrics, so forgive me if I mix-up my terms a little bit.

So far, I have gathered an unbalanced panel data set that contains student attainment data from IPEDS and Labor Force stats from American Fact Finder. I’m trying to run a 2SLS model in R and I’m having a rough time.

My question: Is there a way to run a fixed effects model with one instrument and clustered or robust error terms in R? I have been using the ivreg function for the 2SLS regressions and that has been working; however, because I have tried to include so many fixed effects with the factor(x) command, I keep getting error messages from R when I try to include some of my independent variables. I explored the plm package a little bit and I keep getting errors because my panel is unbalanced.

Any help is appreciated. Thanks!