![]() |
#1 |
Connoisseur
![]() Posts: 95
Karma: 20
Join Date: Aug 2011
Device: Kindle Paperwhite/IpadMini
|
Fail-"Python Nul file missing"
Suddenly, when I start Calibre I get a message "Python function terminated unexpectedly NUL file missing...Error code 1"
After looking around here, I have uninstalled Calibre. Removed all left over files (Calibre, Calibre2). Also tried Revo Uninstaller Pro. Reinstalled the latest, and older versions. Nothing has worked. HELP!! Any suggestions please.... .Windows 7, x64 (I've tried both 64 and 32 bit versions) This might help: === C:\Users\Mark>calibre-debug -g 2>&1 > log.txt Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\debug.py", line 208, in main File "site-packages\calibre\gui2\main.py", line 415, in main File "site-packages\calibre\gui2\main.py", line 85, in init_qt File "site.py", line 50, in load_module File "site-packages\calibre\gui2\ui.py", line 24, in <module> File "site.py", line 50, in load_module File "site-packages\calibre\utils\ipc\server.py", line 18, in <module> File "site.py", line 50, in load_module File "site-packages\calibre\utils\ipc\launch.py", line 21, in <module> RuntimeError: NUL file missing in windows. This indicates a corrupted windows. Y ou should contact Microsoft for assistance. |
![]() |
![]() |
![]() |
#2 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,890
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,324
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
|
![]() |
![]() |
![]() |
#4 | |
Connoisseur
![]() Posts: 95
Karma: 20
Join Date: Aug 2011
Device: Kindle Paperwhite/IpadMini
|
Quote:
The "fixes" suggested in the postings don't seem particularly relevant, at least in my case. So I guess I think that Calibre development needs to provide some of the help with the resolving the problem. This has randomly occurred more than once on my system. In the past a system restore was able to resolve it, but not this time. . |
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
I am afraid it IS a problem with your Windows system. There should be a NUL device on a standard Windows 7 installation, and somehow yours seems to have disappeared. It is just that if it goes missing then Calibre will show it up.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Connoisseur
![]() Posts: 95
Karma: 20
Join Date: Aug 2011
Device: Kindle Paperwhite/IpadMini
|
Quote:
C:\Windows\System32\drivers\null.sys To confirm this, the C:/boot drive is a SSD - the original system is now on the F: drive (it was copied over when the system was new, a year ago.). The same file, same length (6,144), same create date, same permissions, etc... I presume this is the correct file, in the correct place?? What am I missing?? I was referred to this site, with registry changes: http://siebn.de/other/nulldevice/ It's not clear that the changes apply to a Win7 x64 system, though I guess I could apply them and backoff if there is a problem. Seems a little risky. Any other suggestions would be greatly appreciated. . . |
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,324
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
So just reinstall windows then. Far less risky
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() Posts: 95
Karma: 20
Join Date: Aug 2011
Device: Kindle Paperwhite/IpadMini
|
![]()
ok -
null.sys was there registry was in place. Solution (at least for me) go to: system > administrative tools > Device Manager under View - "show hidden devices" under "Non-Plug and Play Drivers" find Null In my system, Null was offline - error 22. Try restarting - well this is Windows, so it won't work. Don't know why. right mouse and uninstall Null reboot Null is now gone from device manager (though the file is still on the system) Get down to "Non-Plug and Play Drivers", right mouse, and "scan for hardware changes" Null now returns.... Calibre works. All is well - until the next time.... . |
![]() |
![]() |
![]() |
#9 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@mark_e_h - just checked my Win7-64 - null device is there, and it's status is 'working properly'
I updated the Win 7 RC to production version in mid 2009 - so its almost 4 years old. I've been running Calibre intensively since late 2011. I've never had this problem. null.sys has hardlinks at Code:
C:\Windows\System32\drivers\null.sys C:\Windows\winsxs\amd64_microsoft-windows-null_31bf3856ad364e35_6.1.7600.16385_none_055adf2434ae116e\null.sys Windows goes to its side by side folders to deal with the DLL Hell phenomena - System32 is mainly there for boot processing and legacy apps If you install Link Shell Extension you will see (via an overlay glyph) that most of System 32 has multiple hardlinks. You can find out where the links are from the Link Properties sheet that LSE adds to Properties. null.sys is a bit bucket driver, most os's have them in one form or another. I have no idea why Calibre should be sensitive to it... anyone know? BR |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
NUL file missing in windows | mandolina | Calibre | 2 | 01-20-2012 03:44 PM |
NUL file missing in windows | mandolina | Devices | 2 | 01-20-2012 03:39 PM |
"Offending" hyperlink bug in InDesign CS5 causes TOC to fail and missing text | eggheadbooks1 | ePub | 0 | 11-16-2011 12:18 AM |