Thinkflood Redeye follow-up: dependency management 101

So, why does it not surprise me that my problem with the Redeye turns out to be down to dependencies? And here people keep telling me dependency hell is a Linux problem...

So I took a closer look at the crash reports Windows gave me when the 'installer' app crashed - Windows has something that's sort of like abrt/apport, but more black box-y - and noticed that, every time, it seemed to be crashing on a .NET function. Not the same one, but always a .NET function.

Hmm.

So I check Windows' Add/Remove Programs list (good God, anyone who thinks PackageKit is a bit ropey should remind themselves about that thing) and there's nothing to do with .NET there.

Double hmm.

So I go and get the .NET Framework (apparently this is what you call shared libraries in Microsoft-land) from microsoft.com, install it, and halle-freaking-lujah, finally, the 'installer' app manages to update the firmware on the box and change the network configuration.

Apparently, this app requires the .NET framework, but nothing enforces the dependency in any way. It doesn't even check that it's present before trying to do anything, it just blows up.

I reported this to Thinkflood, who told me "We don't provide checks for the .NET framework in the installer software because all versions of Windows that Microsoft currently still supports automatically have the .NET framework built in" - well, no, that's fairly clearly not true. Or if there was some kind of copy of the .NET framework hiding on my system, it wasn't recent enough or complete enough or something for your app to work. Really. If you're going to write apps for an operating system with dependency management as insane/non-existent as Windows', check that stuff you need is present before trying to use it, guys. I'm sure that's Windows Coding 101.

Anyway. After spending most of a day's spare time on that crap, I got the box up and running at last. It mostly seems to work, though both the web front end and Android app seem somewhat ropey - the Android app is apparently working okay on one device here (after a reinstall when it somehow got into a situation where it was crashing on launch), not working right on two other devices. The web front end mostly works, but when I left it open overnight, it quit loading buttons for Activities. Just all feels slightly 'Alpha 2', if you know what I mean. I wouldn't ship this stuff, and our product's free...

Still can't recommend the product in all good conscience, but I can see there's a decent experience lurking there, in theory, underneath the stupid bugs and fragility. Frustrating. I'll be interested to see how the iOS front end works, as that seems to be the Preferred Experience. But I can't do that yet. I did get the cheap iPod Touch, and then, stupidly, did a factory reset on it. After which it sits at a screen ordering me to plug it in via USB and positively refuses to do anything until I do. Apparently, the vaunted Apple Easy To Use Experience includes forcing you to use a $30 cable to do initial setup of a device which has a perfectly serviceable wifi radio. Why do people put up with this crap?

Comments

emmet.curran wrote on 2013-02-14 13:18:
hooray for rants! :) glad you got it working at least also wanted to say adam that i had been looking fwd to my triumphant return to linux (on my home machine, still use it at work) after a couple of years with win7. i was playing too many games and when i got a new machine i just stuck to windows. however now with valve pushing steam on linux etc i'm slowly coming back. i'm using mandriva at work - but tried the big switch to fedora 18. very impressive! didn't think i would like gnome/gtk but its come a long way since gnome2. however... (there's always a however) i had always said to myself i would only make the switch *if it was easy*. i've long given up on becoming a linux geek, just the basics and a bit more. steam just didn't quite work correctly on fedora, mainly due to missing packages that aren't in the fedora/red hat repos. i looked for them everywhere but sadly couldn't find them. it was now no longer a seamless transition :( my friend recommended mint, which i tried and sadly really like. steam worked immediately, which is unsurprising i suppose. i'm using mint at work now and am testing it at home with various games etc before i make the switch. so unfortunately i won't be using fedora and annoying you on the forums like i used to in the mandriva days of yore :( i'll just have to annoy you here instead ;)
adamw wrote on 2013-02-14 20:25:
Hi Emmet! There's no shame in using Mint if that's what works best for you. There are certainly cases where a Mint/Mandriva-type distro's a better option than Fedora. Did you try Mageia? Valve are targeting Ubuntu mainly with Steam, I believe, so it makes sense that it works well on Mint. We should be able to get it into a third-party Fedora repo soon though, I expect.