Monday, 18 June 2018

Downloads Folder crashing in Windows 7

What to do when:

> Downloads folder is crashing after every 5 secs

> If you are opening any program from Downloads, it hangs and ultimately you have to end process
  from task manager i.e. explorer.exe
 
SO WHAT IS THE SOLUTION?

VERY SIMPLE STEPS to solve this problem.


Now you can freely access files in Downloads folder.

Thanks for watching !

When updates are not working in windows 7 SP1

When updates are not working in win7:
OS: Windows 7 SP1
Arch: x64

Download: https://www.microsoft.com/en-in/download/details.aspx?id=20858

Install it

Now reboot and check for windows update.
It will start working.

Error 80073712 in windows 7
> DISM /Online /Cleanup-Image /CheckHealth
> DISM /Online /Cleanup-Image /ScanHealth
> DISM /Online /Cleanup-Image /RestoreHealth

Friday, 15 June 2018

"application was unable to start correctly 0xc0000005" Python error on windows 7

I spend 3 hours banging my head against wall to find the exact solution.

Its not b but 5 at the end so it is not graphics driver issue.

Luckily, I have three Python versions installed on my system; one 32 bits and two 64 bits.

Here, culprit is corrupted Microsoft VC++ libraries(runtime)

Simple trick is:

To repair installation of Microsoft VC++ libraries through ADD REMOVE PROGRAMS.


Try to run python shell, it should work now.

[1] https://www.microsoft.com/en-us/download/details.aspx?id=48145&751be11f-ede8-5a0c-058c-2ee190a24fa6=True

[2] https://stackoverflow.com/questions/9047072/windows-python-version-and-vc-redistributable-version/41582303



Wednesday, 13 June 2018

Solved Solution AmazonBasics Wired Keyboard Function keys not working

It is because windows service is turned off.  Follow the procedure and your all function keys and other shortcut keys will start working.

Restart the HID Human Interface Service

To fix this problem yourself, follow these steps:
  1. Open Microsoft Management Console (MMC) snap-in for Services.
    • In Windows Vista or Windows 7, click Start Start button , type services.msc in the Start Search box, and then press ENTER.

      User Account Control permission If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
    • In Windows XP, click Start, click Run, type services.msc in the Open box, and then click OK.
  2. In the list of services in the Details pane, double-click HID Human Interface Service, and then make sure that the Startup type is set to Automatic.
Now check the AmazonBasics keyboard you will see your keyboard working state.

Thanks for reading.








SBI and IBPS SO Topics

Data interpretation

Averages

Time,speed and distance

Mensuration

Interest

Percentage

Algebra

Time & Work

Approximation

Profit and Loss

Partnership

Ratio and Proportion

Mixture and Allegation

Saturday, 12 May 2018

Getting error while installing pip or setuptools

Python has weird as well as awesome tool known as pip.

Main precaution to take care is never ever leave half baked python packages installed as they are main reasons for dependency problems.

https://stackoverflow.com/questions/16144934/trouble-install-pip-windows

pip can be upgrde or downgrade using same command:

python -m pip install --upgrade boto3

It looks like a bug in pip where it's assuming its metadata is stored as UTF-8. Instead, your username appears to be encoded as "windows-1255".

You could try the following:

File "C:\Users\name\ AppData\Local\Programs\Python\Python35-32\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 1616, in get_metadata
    return self._get(self._fn(self.egg_info, name)).decode("utf-8")

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf2 in position 22365: invalid continuation byte
You are using pip version 7.1.2, however version 8.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.


1. Backup: C:\Users\name\AppData\Local\Programs\Python\Python35-32\lib\site-packages\pip\_vendor\pkg_resources\__init__.py
2. Goto line: 1616
3. Change utf-8 to mbcs.
4. Re-run upgrade
 

Thursday, 26 April 2018

Not detecting any Wireless/Wifi Network in CentOS 7

Here is my experience, for the following reasons:


  1. If you got connected to Wifi network when you have installed CentOS 7.
  2. After CentOS 7 entering into sleep mode OR accidental shutdown due to power
    drainage OR you have restarted & logged into CentOS 7

and if your wifi not working.

Don't install extra kernel module OR install any new packages OR do any tweak.

Just shutdown and boot again in CentOS 7. Your wifi will start working again.


Bottom Line:  This is what I realised after 6 hours of tweaks and tried everything out.