I installed Visual Studio 2012. After that when I tried to open an older C++ project in Visual Studio 2010 and compile it, I get this error:
LINK: fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
This is an error caused by the installation of Visual Studio 2012. To fix this, just download and install the Visual Studio 2010 Service Pack 1. The SP1 install takes a while. The error should be gone after that.
Tried with: Visual Studio 2010, Visual Studio 2012 and Windows 7 x64
I connected a Dell Inspiron 1320 notebook with HDMI output to a Toshiba REGZA LCD TV using a HDMI cable. The notebook is running Windows 7 Home Premium. When I play a video file on the notebook, both the audio and video from the TV seems to be fine. However, when you actually sit down to watch for a longer time you notice that the audio sounds kind of muffled or noisy and the spoken words are hard to distinguish.
First, I suspected the TV, since it has so many audio settings in its menus. After testing all possible audio combinations on the TV, there was no improvement in the audio.
Then, I decided to turn to the Dell Inspiron 1320. The HDMI video and audio from this notebook is generated by its Intel GM 45 chipset. I used the Support section of the Intel webpage to check if any of the notebook’s Intel hardware had newer drivers. And yes, there was a much newer graphics driver available. I downloaded, installed it and rebooted the notebook. When I connected the TV, the new driver could now detect that it was a Toshiba TV that was connected through HDMI and needless to say that the audio output was perfect! 🙂
Tried with: Dell Inspiron 1320 and Toshiba REGZA LCD TV
Run ipython3.exe and it quits with this error: ImportError: No module named pkg_resources
pkg_resources is a module that ships with the setuptools package. setuptools has been adandoned now, but a fork of it named distribute provides this module. So, install distribute (see how) and this error will be gone.
Tried with: ipython 0.12.1, Python 3.2 64-bit and Windows 7 64-bit
VLC moved from 1.x to 2.x major version a while ago and I upgraded to VLC 2.0.1 Twoflower recently. But, with this version of VLC, I am experiencing stutter and freezing of both video and audio when I play any video file. When I look at the Messages console (Tools → Messages), I see error messages of this form:
ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms)
There seem to be lots of people experiencing this problem with the VLC 2.0 and 2.0.1 players. A lot of solutions are suggested on the VLC forums, but none of them solve this problem. A major feature that was added in VLC 2.x was multi-threaded decoding, which I suspect might be the culprit here.
Finding no solution, I downgraded back to the last 1.x version: VLC 1.1.9 The Luggage. Video and audio plays fine with this version. I am sticking to it until this problem is fixed.
You try to deploy an application using the Google App Engine Launcher. It asks for your Email and Password, so you enter your Google login and password. But, the deploy script (appcfg.py) fails with the error shown above:
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 94, in __init__
self.reason = args["Error"]
AttributeError: can't set attribute
You can use your Google login, but the password associated with that account is not usable for application deployment. For this, you need what is called an application-specific password. To create it go to https://accounts.google.com/IssuedAuthSubTokens. You can find the option to create application-specific passwords at the bottom of that page.
Once you have created an application-specific password, copy it and use it along with your Google login to deploy your application. It should deploy successfully now.
You execute a Python program that uses a module and the module throws up this error at runtime:
ImportError: DLL load failed: %1 is not a valid Win32 application.
This is usually caused by a mismatch in the DLL of the module. I faced this error when I had mistakenly installed a 32-bit Python module (numpy in this case) on to a 64-bit Python installation. The error is thrown when the communication between the 64-bit Python and the 32-bit module DLL does not work, as expected. The error went away after I installed a 64-bit version of the module.
Once you start installing many Pythonmodules, you are sure to run into this error. When installing a Python module, it pops up this error:
Python version 3.2 required, which was not found in the registry.
I do have Python 3.2 installed, so what’s up?
The problem is that some module installers look in the wrong place for Python version information. For example, in the case of this one module, the installer was looking for HKEY_CURRENT_USER\SOFTWARE\Python\PythonCore\3.2 in the registry. I found that my Python 3.2 installer had placed this information in HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.2 instead.
Once you know the reason, solving it is easy. Open Registry Editor (may need administrator privilege) and exportHKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.2 into a text file. Open the exported .reg file in a text editor and replace the HKEY_LOCAL_MACHINE entries to HKEY_CURRENT_USER. Add these new entries back to the registry (here is how). The module installer should now be able to proceed without throwing the error.