Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-13-2013, 02:27 AM   #1
mark_e_h
Connoisseur
mark_e_h began at the beginning.
 
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.
mark_e_h is offline   Reply With Quote
Old 05-13-2013, 03:27 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,890
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by mark_e_h View Post
Suddenly, when I start Calibre I get a message "Python function terminated unexpectedly NUL file missing...Error code 1"

...

File "site-packages\calibre\utils\ipc\launch.py", line 21, in <module>
RuntimeError: NUL file missing in windows. This indicates a corrupted windows. You should contact Microsoft for assistance.
This is not a calibre problem it is a problem with your Windows Operating System. A review of entries in this Google search might help.
DoctorOhh is offline   Reply With Quote
Advert
Old 05-13-2013, 09:27 AM   #3
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,324
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
See https://www.mobileread.com/forums/sho...d.php?t=166163 or https://www.mobileread.com/forums/sho...d.php?t=173360
PeterT is offline   Reply With Quote
Old 05-13-2013, 04:59 PM   #4
mark_e_h
Connoisseur
mark_e_h began at the beginning.
 
Posts: 95
Karma: 20
Join Date: Aug 2011
Device: Kindle Paperwhite/IpadMini
Quote:
Originally Posted by DoctorOhh View Post
This is not a calibre problem it is a problem with your Windows Operating System. A review of entries in this Google search might help.
Well, I guess in the technical sense it's a Windows problem. As the Google search shows, Calibre is a widely used app, and most of the people with the problem are experiencing it with Calibre.

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.


.
mark_e_h is offline   Reply With Quote
Old 05-13-2013, 05:09 PM   #5
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
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.
itimpi is offline   Reply With Quote
Advert
Old 05-13-2013, 06:57 PM   #6
mark_e_h
Connoisseur
mark_e_h began at the beginning.
 
Posts: 95
Karma: 20
Join Date: Aug 2011
Device: Kindle Paperwhite/IpadMini
Quote:
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.
That would make it easy. Its right there, in:

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.

.



.
mark_e_h is offline   Reply With Quote
Old 05-13-2013, 07:19 PM   #7
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,324
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
So just reinstall windows then. Far less risky
PeterT is offline   Reply With Quote
Old 05-13-2013, 08:01 PM   #8
mark_e_h
Connoisseur
mark_e_h began at the beginning.
 
Posts: 95
Karma: 20
Join Date: Aug 2011
Device: Kindle Paperwhite/IpadMini
Exclamation FIXED!

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....



.
mark_e_h is offline   Reply With Quote
Old 05-13-2013, 11:11 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
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
I suspect something out there is clobbering the hardlink in the winsxs (side by side) directory - but I don't think its Calibre that's doing it - could be malware.

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
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 06:42 AM.


MobileRead.com is a privately owned, operated and funded community.