Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts
Tuesday, October 7, 2014
Thursday, September 26, 2013
running RedNotebook journal 1.7.1 on XP and Win7
If you are trying to run the RedNotebook 1.7.1 journal / diary on a Windows desktop you may have hit the same problems which I have had to resolve on XP Sp3 and Win7 Home Premium with Sp1.
If your Win XP environment contains a PYTHONHOME variable then you must set it to something inocuous such as a dot for the current directory of the Rednotebook.
I am doing this with a call to X-RedNotebook.exe in a 3-line BAT file which I summon from a 2-line VBS script that has a shortcut on my desktop ( this keeps a daft black DOS shell window from hanging around.)
On Win7 Home Premium Sp1 I could not get 1.7.1 to run as the X-RedNotebook variant until I had dragged in copies of the DLL's of which it was complaining as missing.
If you need details, drop a note.
If your upgrade to 1.7.1 went without a hitch, I would love to know the secret !
Labels:
desktop,
diary,
journal,
python,
PYTHONHOME,
RedNotebook,
Windows
Thursday, September 20, 2012
XP update
When Windows is done applying security updates, I do not accept their prompt to RESTART. I accept the CLOSE option instead. Why?
Because Process Explorer shows a great deal of MS activity and it continues for some time. As those processes complete and terminate and all goes quiet, then I do a restart from the PE menu.
Because Process Explorer shows a great deal of MS activity and it continues for some time. As those processes complete and terminate and all goes quiet, then I do a restart from the PE menu.
Labels:
Process Explorer,
security,
update,
Windows,
XP
Saturday, June 30, 2012
keyboard quote
If you are using Windows Language facility with optional keyboard layouts, you may encounter odd behavior with entering quote marks or quotation mark characters. Check first that you have not flipped to International from US for the EN keyboard.
The keyboard icon should offer you the choice. The odd behavior is to facilitate entering accented characters.
A search using Windows keyboard Language should get you a useful suggestion from the web mavens.
Tuesday, October 4, 2011
Unable to open TWAIN source
The annoying Canon scanner error "Unable to open TWAIN source" is usally caused simply by the PATH environment variable not containing the appropriate value such as c:\windows\twain_32\SOME-SCANNER-DEVICE_NAME
I would create a new env var named scanner and give it that string value. You can then add %scanner%; to your path variable and be able to change scanners withot messing with the path variable.
If you need the fix take immediate effect without a reboot, open a cmd session on the directory of your scanner and lauch its EXE file from there.
Under Windows XP, a left-click for the PROPERTIES of My Computer will give you access to env var's via the Advanced tab.
I would create a new env var named scanner and give it that string value. You can then add %scanner%; to your path variable and be able to change scanners withot messing with the path variable.
If you need the fix take immediate effect without a reboot, open a cmd session on the directory of your scanner and lauch its EXE file from there.
Under Windows XP, a left-click for the PROPERTIES of My Computer will give you access to env var's via the Advanced tab.
Saturday, April 2, 2011
Free Makichan Tex Viewer for Windows
The free WIndows Tex Viewer from Makichan - their "Scientific Viewer" - amused me today. Here is a screenshot:
Note the jagged mossy-green around the white background of the text. That lovely green is my Windows preference for a default background in any window where the code does not set the background.
In some other Tex documents it became just nasty.
For many weeks this was also the case at www.qtask.com - one CSS setting missing. Oh vey.
Remember when C programming for Windows began with the bare Frame? Now we have both alpha-settings and this sort of silliness.
Where does user acceptance testing go wrong in these cases? The testers don't know Windows?
Note the jagged mossy-green around the white background of the text. That lovely green is my Windows preference for a default background in any window where the code does not set the background.
In some other Tex documents it became just nasty.
For many weeks this was also the case at www.qtask.com - one CSS setting missing. Oh vey.
Remember when C programming for Windows began with the bare Frame? Now we have both alpha-settings and this sort of silliness.
Where does user acceptance testing go wrong in these cases? The testers don't know Windows?
Friday, September 4, 2009
Ruby 1.9.1 on Windows after 1.8.6
I came back to Ruby on Windows the other day after working on a linux box and did not want not be in Cygwin. So I hopped out to ruby-lang.org and pulled in the Windows 1.9.1 binaries. Then I flipped my ruby env variable to point to the new directory so that my path - which uses %ruby%\bin - would update. Then I called gem to install Treetop for PEG and ... Segmentation fault. Oh joy.
I saw that 1.8.6 has a one-click installer for Windows, so I used that, flipped the ruby var and presto all was well.
So why not with the 1.9.1 zip install? Well, ruby for windows XP is not really Ruby for windows so much as it is Ruby for Gnu on Windows. What was missing in the path were Win32 versions of linux DLL's - specifically:
gdbm.dll
libeay32.dll
pdcurses.dll
readline.dll
zlib.dll
The quickest fix was to copy them from the 1.8.6 \bin into the 1.9.1 \bin
So if you start ruby or irb or gem on Windows and hit a Segmentation fault error, this may be the only issue.
You may avoid this issue if you build ruby from source .. but the point of running Ruby on a Windows box outside of Cygwin or Msys is usually to either try something out or get something done - not to do development work. And after all, Ruby is supposed to be at least one notch above its file-based and cmd-line cousin, Gnu Smalltalk, right? Or why else is Ruby seeing so much use on the server-side? Of course if Ruby were to displace that other Smalltalk-descendant, Objective-C, on the iPhone we would be running RIGS for GnuStep anyway ...
Btw, there is Cocotron for that other pseudo-Smalltalk on Windows ...
PS
The DLL's can also be found here.
I saw that 1.8.6 has a one-click installer for Windows, so I used that, flipped the ruby var and presto all was well.
So why not with the 1.9.1 zip install? Well, ruby for windows XP is not really Ruby for windows so much as it is Ruby for Gnu on Windows. What was missing in the path were Win32 versions of linux DLL's - specifically:
gdbm.dll
libeay32.dll
pdcurses.dll
readline.dll
zlib.dll
The quickest fix was to copy them from the 1.8.6 \bin into the 1.9.1 \bin
So if you start ruby or irb or gem on Windows and hit a Segmentation fault error, this may be the only issue.
You may avoid this issue if you build ruby from source .. but the point of running Ruby on a Windows box outside of Cygwin or Msys is usually to either try something out or get something done - not to do development work. And after all, Ruby is supposed to be at least one notch above its file-based and cmd-line cousin, Gnu Smalltalk, right? Or why else is Ruby seeing so much use on the server-side? Of course if Ruby were to displace that other Smalltalk-descendant, Objective-C, on the iPhone we would be running RIGS for GnuStep anyway ...
Btw, there is Cocotron for that other pseudo-Smalltalk on Windows ...
PS
The DLL's can also be found here.
Subscribe to:
Posts (Atom)

