Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: pywintypes.com_error when starting Windows

26 Jan 2017   #1
TazCBR1100XX

Windows 7 Ultimate x64
 
 
pywintypes.com_error when starting Windows

Hi all

If this is in the wrong section, then I apologise as I am new to the forum and still finding my feet.

I have a long standing issue with what appears to be a Python error. Let me clarify - I know NOTHING about Python other than I get this error message

Some time early last year, or possibly in 2015, I purchased some software which was supposed to uninstall programs fully, including all the temp files and registry entries relating to that particular software etc. Well, it did what it was supposed to do, and also did things it wasn't supposed to do. To cut a long story short, the support team for the product told me to check the logs etc, but it didn't create the log files!! So basically I was stuffed, and tried in vain to find details of how to resolve this error.

Has anyone come across something similar and have a fix, or perhaps has enough knowledge and experience to help me to resolve this issue?

This laptop is used as my primary business tool, so I won't do anything else to it which may jeopardise what I have at the moment as it does at least work in most respects. I can't use some of the features for my DX4000 NAS from Windows 7, but most other stuff seems to be fine.

I've attached a screenshot of the error messages, and would really appreciate it if someone could give me some pointers on how to resolve it.

Thanks in advance




Attached Images
pywintypes.com_error when starting Windows-cx_freeze-error.png 
My System SpecsSystem Spec
.
26 Jan 2017   #2
torchwood

W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
 
 

Hi Taz,
while were thinking about it create a system image, most here tend to use Macrium (free).
Then we can change things and youve got a good back-up.

Roy

Quick swing at Python FAQ ----- NAS
  • A third-party application installed on the machine might have been written in Python and included a Python installation. There are many such applications, from GUI programs to network servers and administrative scripts.
AFTER you've made your image
i would uninstall/ re-install any NAS related support software.
My System SpecsSystem Spec
26 Jan 2017   #3
TazCBR1100XX

Windows 7 Ultimate x64
 
 

Hi Roy

It might have been Macrium that contributed (in part) to this in the first place as it was one of the programs I had installed around that time and it was probably one of the ones I was trying to eradicate as I didn't get on with it at all. I have 3 x HDDs in a RAID 5 array giving a total storage space of around 1.4Tb with over 1Tb used. I did create a shadow copy to the NAS at some point before the issue arose as I had set up automatic backups to the NAS, but because of this issue I can't get these backups restored as I can't run the UI for the NAS, which means I can't restore the system.

So it looks like I'll have to bite the bullet and try not to screw up the system - at least until I get some work again!

Forgot to add .......... the NAS software has been installed and uninstalled many times since the error arose, but no joy.
My System SpecsSystem Spec
.

26 Jan 2017   #4
TazCBR1100XX

Windows 7 Ultimate x64
 
 

I also have a problem with running the DynDNS utility since this issue arose - runs quite happily on other laptops, just not this one
My System SpecsSystem Spec
26 Jan 2017   #5
torchwood

W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
 
 

Hi Taz,
Didnt realise before but CxFreeze is NOT part of Python, its an Add-on, to run the executable thats written by the user, or possibly in this case by the NAS install files.
From what i understand for the script to complete 3 elements are required
Python, Cxfreeze and C++ ( MS visual basics 2005 or later)

If any are missing then it fails.

Roy
My System SpecsSystem Spec
27 Jan 2017   #6
TazCBR1100XX

Windows 7 Ultimate x64
 
 

Hmmm. So what I really need then is a Python expert

As the error message include a mention of dyn_updater.py, it might be DynDNS that causing the error rather than the NAS.

Is there a way for me to monitor what Windows is doing when I boot up and record it in a log or something? If I can see what point it reaches before it throws up the error then I may have a chance of resolving it.

The only other alternative I can see is to trawl the registry and manually remove all references to the NAS software and Dyn Updater after I uninstall them to try and get a clean run at re-installation of those two products.

I've got a handy little tool called JV16 Power Tool which is capable of doing this, but I get quite nervous using things which make potentially damaging changes - but it has a manual mode too which is fine as long as I know what I'm going to delete. I usually make a backup of the registry before I do any of this kind of stuff.
My System SpecsSystem Spec
27 Jan 2017   #7
torchwood

W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
 
 

Hi Taz,
choices for you

Boot Times - Monitor with Event Viewer

How to use Process Monitor for standard log and for bootlog

There is also the enable boot log in system config settrings.


Roy
My System SpecsSystem Spec
27 Jan 2017   #8
TazCBR1100XX

Windows 7 Ultimate x64
 
 

Thanks for the information Roy. I'm currently in the process of getting rid of dyn_updater and the NAS UI software - including all registry entries. Once I've done that I'll initiate Process Monitor and see what comes up after I reboot

Unfortunately I can't spend too much longer on this today, but I doubt you'll be holding your breath waiting for an update
My System SpecsSystem Spec
Reply

 pywintypes.com_error when starting Windows




Thread Tools




Similar help and support threads
Thread Forum
BSOD starts when starting to use google chrome,starting Nba2k15
It all starts if i'm not wrong is when i updated my laptop using Windows Update after then i accidentally shut my computer down at the time in its installing restart process. Then tomorrow after that i open my laptop. then when i noticed my amd radeon HD 6630 and ati catalyst manager are gone. ...
BSOD Help and Support
starting up problems, starting up repair not helping
hi I have learnt my neighbour my lap top to do his school work. he gave it back to me with a starting up problem. he calms he did nothing. I really need my stuff on my laptop. the starting up repair doesnt not work. neither does putting it back to a earlier stage. I have windows 7 ultimate....
Backup and Restore
Windows not starting
I opened my cpu recently amd then closed it. Now when i starts my computer window 7 loading icon comes and after some time computer switches off automatically. Now when i open my pc repain option comes i chooses it loading bar fills than same problem it turns off.
General Discussion
Windows 7 not starting
I have Windows 7 on my HDD 80 GB in drive G:\ and i cannot login to windows 7. C:\ drive has XP and its working fine. I have two other HDDs with Ubuntu and opensuse. When i tried to boot from safe mode in windows 7, it stopped at Classpnp.sys and restarted. When i boot normal,everytime i see the...
BSOD Help and Support
Starting Windows
Windows 7, 32bit. It seems after January 1st, when I cold boot my PC, it stalls on the "Starting Windows" screen with the 4 colors. No BSOD. The only way around is to restart and do "Last Known Good Configuration". All updates are installed, no viruses, spyware, anything. It's just annoying. ...
BSOD Help and Support


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:29.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App