gFTP has always given me a bear of time with disconnecting itself at every opportunity. Stop uploading to answer an email? Bam, your FTP session is disconnected and not only do you have to reconnect but also navigate through all those directories to get back to whatever you were doing!
I always thought it was a server thing, but changing this setting in gFTP seems to help for me.
You just open up gFTP, go to the FTP menu, then options. Then on the network tab change the Network timeout field to something high like 1200:

Of course for the longest time I didn’t even try changing this field because when you hover the mouse over it, it says “This is NOT an idle timeout”. Well whatever the field does, it certainly makes my connection not time out so soon when I’m idle, so I’d say it IS an idle timeout. Oh well.
Posted by Greg Pinero (Primary Searcher) as Other, Ubuntu at 10:48 PM MST
Comments Off
These are links associated with recent searches I’ve done. They’re not difficult enough to warrant to their own posts but you may still find them useful.
QuickBooks Network Installation GuidesHere is your one-stop support resource to help you find the information you need to successfully install QuickBooks 2007 or QuickBooks 2006 on a Network. Check back often to get the most up-to-date information.
Digg - search for “addictive”Here’s what you do when you’re really bored, search Digg.com for “addictive”. It turns out everyone uses that word in their titles for well, addictive games which is exactly what you need when you’re bored.
Tags: 37Signals, Basecamp, Blendedtechnologies, Database, Design, Documentation, Enterprise, Flash, Free, Games, Ie, Javascript, Linux, Mysql, Project, Projectmanagement, Quickbooks, Sql, Sqlserver, Tabs, Ubuntu, Utilitymill, Webdesign, Webdev, Win32, Work
Posted by Greg Pinero (Primary Searcher) as Uncategorized at 3:30 AM MST
Comments Off
Life is hard when you don’t understand all this Windows com stuff. Well life with Windows and Python is hard at least.
Here’s one of the weirdest errors I ever got and how at least I was able to fix it.
My code just started raising this error one day:
‘Cannot change thread mode after it is set.’
(I believe it had this number associated with the error: -2147417850)
The weirdest thing is the the error was raised from whatever statement followed the Pythoncom dispatch thing:
self._qbxmlrp = win32com.client.DispatchEx("QbXMLRP2e.RequestProcessor")
Even if the statement was something mundane like print 'hi'.
I’ve found the only way to debug this sort of thing when there’s no help to be found on the internet is to create what I call a mimimum failing example. Make a seperate copy of your code and tear things out until it starts working again.
Following this process I saw that my code only raised this error when another module (a little feller’ to talk to SQL Server) called the following function more than once (just once was ok though):
pythoncom.CoInitializeEx(pythoncom.COINIT_MULTITHREADED)
The first solution I tried was calling pythoncom.CoUninitialize() after every time pythoncom.CoInitializeEx(pythoncom.COINIT_MULTITHREADED) was called. I don’t know what I’m doing but the names make it sound like the right thing to do, right?
But that didn’t work. So I ended up refactoring the module using a singleton type of deal so that pythoncom.CoInitializeEx(pythoncom.COINIT_MULTITHREADED) is only called once.
That fixed the issue, though it’s quite a hollow victory since I still don’t know what’s going on. This must be how the guy in the Chinese room feels.
Update:
After a second look, all that was required was to stop using this code I’ve previously posted on here. Are you using anything like that, dealing file I/O or STOUT?
I can’t image why that would have helped but it does.
Posted by Greg Pinero (Primary Searcher) as win32, Python at 1:21 PM MST
Comments Off
These are links associated with recent searches I’ve done. They’re not difficult enough to warrant to their own posts but you may still find them useful.
Netflix Fee CalculatorWhat is the maximum number of Netflix you can get in a month? This calculator tries to answer that question. Keep in mind it doesn’t seem to understand Netflix throttling nor the fact that you’ll keep the movies for a few days. But play with the number
YouTube - Ostrich RideCan one really ride an Ostrich? Yes, yes you can. That guy looks like he weighs no more than 160 though, I’m not sure if they could hold a grown American.
Tags: Barcode, Becky, Com, Coupon, Datetime, Dvd, Netflix, Obdc, Ole, Python, Reviews, Subprocess, Upc, Vnc, Win32, Work
Posted by Greg Pinero (Primary Searcher) as Uncategorized at 3:30 AM MST
Comments Off
I installed Snapstream Beyond TV on my new Vista (sorry world) computer and even though TV out is working, and video works on the main monitor, I only see black where the video should be on the TV.
Turns out the weird fix at least for me is to tell Beyond TV not to disable Aero.
To do this, you go to Beyond TV’s web interface: http://localhost:8129/SetupInterface.aspx and go down to the option that says “disable Aero” and select No. Click save changes and restart beyond TV (click close (the x) on its window, don’t turn off via system tray).
It should work now.
Another annoyance is that I have to redo this every time I restart my computer! I’m so tempted to install Windows XP on here …
Posted by Greg Pinero (Primary Searcher) as win32, Other at 2:41 PM MST
Comments Off