PICED 4.12.1.0 exception error

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by pgordon, Dec 4, 2014.

  1. pgordon

    pgordon

    Joined:
    Nov 16, 2004
    Messages:
    123
    Likes Received:
    2
    Hi all. Got a problem with PICED... have just installed 4.12.1.0 on my main PC. This already has Toolkit 1.13.3 and CGATE v2.10.2 (build 3106) both of which are running fine. This PC has not had any version of PICED installed previously, so this was a fresh install, not an upgrade...

    The install of PICED went fine. I can launch it & it starts up OK. It shows the "What's new for PICED Version 4.12.1.0" window, and automatically launches the "Project Details Wizard" on top of that. I completed the wizard following the "Create a new blank project" config path. I have entered all the project details (I believe) correctly. - PS this is in order to create a new WISER project, as I've just resurrected my WISER which has been in storage for the last year, and I'm now trying to install it on an entirely new CBUS installation.

    Following the project wizard, it launches the Widget Manager. I have spent an hour or so in there setting up all the various locations, function groups & widgets etc.
    Then the problem starts...
    I didn't want to transfer the project straight away, so (after having made sure to hit "save") I just went to close the widget manager gracefully... this then instantly enters an unbreakable cycle of program exceptions (see screenshot attached). the "Send and Close" button does not work AFAICT - in fact no matter what I do on the error dialog, it immediately reappears, and the *only* way to stop this cycle is to use task manager to kill the PICED process...

    I have rebooted the PC - no improvement...

    The error message indicates a problem writing to the registry? - note I am running as full administrator of this PC.
    The machine is running Windows 7 Ultimate Edition, 64 bit.

    I really do not want to have to completely rebuild my main PC from scratch just to get this damn CBUS software to work... - I had to do that a while back for the Toolkit software, so bending over backwards to accommodate shoddy Clipsal CBUS software is becoming somewhat of a bind!
     

    Attached Files:

    pgordon, Dec 4, 2014
    #1
  2. pgordon

    pgordon

    Joined:
    Nov 16, 2004
    Messages:
    123
    Likes Received:
    2
    Update:

    Oh joy, this gets even better... - this is *EXACTLY* the same as what happened with the Toolkit software a while back.... it now refuses to uninstall via Windows standard uninstall process.... I recall I had to install a 3rd party brute force uninstaller tool to get rid of Toolkit last time...

    The uninstall complains: "Unable to create a temporary file. Setup aborted. Error 5: Access is denied."

    This is bullsh**t - I am *god* of my machine, there is no part of it to which I do not have full admin rights...
     
    pgordon, Dec 4, 2014
    #2
  3. pgordon

    pgordon

    Joined:
    Nov 16, 2004
    Messages:
    123
    Likes Received:
    2
    Update 2

    I really am getting sick to the back teeth with CBUS software... *EVERY TIME* I have to do this I have some problem that sucks up *days* of my time, which I just do not have to spare...

    So, using Revo uninstaller, I forced PICED to be removed from my machine, including all REG entries, and on-disk files. I thought I'd give a go at trying an older version, so I've installed 4.10.1.0 - I very carefully noted the compatibility requirement for CGATE version that the installer highlighted... I *DO* meet those stated requirements!! - versions of both are mentioned in the top post...

    Predictably however, this does not work either... PICED appears to be claiming that my version of CGATE is not compatible... (see screenie below)
     

    Attached Files:

    pgordon, Dec 4, 2014
    #3
  4. pgordon

    pgordon

    Joined:
    Nov 16, 2004
    Messages:
    123
    Likes Received:
    2
    Oh for crying out ***ing loud...

    :mad::mad::mad::mad::mad:

    On top of everything else, I just happened to glance at my Comfort keypad and I noticed that the time is one hour behind.... sound familiar???

    This is a brand new Comfort alarm system with the very new mark-2 CBUS UCM and the latest mark 3 Ethernet UCM (which does NTP time sync)

    This has been installed & running for a couple of months now and has never missed a beat... 100% correct performance, 100% of the time...

    And look.... as soon as I connect the Wiser unit to the same network, my Comfort systems' time is suddenly an hour out... This was going on FOUR YEARS AGO!!!
    http://www.cbusforums.com/forums/showthread.php?t=5938
    and it STILL HASN'T BEEN FIXED!!!
    Don't tell me this is a Comfort problem as was asserted last time...
    this poxy ***ing Wiser is ****e! it has always been ****e, and even after all this time, it's still ****e...
    If I hadn't paid such an obscene amount of money for what is basically a glorified broadband router, I would detach it from the CNI and throw the damn thing in a skip.
    I could not be more fed up & disillusioned with Clipsal CBUS than I am now...
     
    pgordon, Dec 4, 2014
    #4
  5. pgordon

    DarylMc

    Joined:
    Mar 24, 2006
    Messages:
    1,308
    Likes Received:
    49
    Location:
    Cleveland, QLD, Australia
    Hi pgordon
    I am running slightly older versions than you.
    Toolkit 1.13.0 and Piced 4.12.0.0 on Windows 7 Pro SP1 64 bit.
    Windows Firewall and Microsoft Security Essentials virus protection.
    Not many troubles to speak of.
    Certainly not the uninstall troubles you are having.

    I did strike some trouble with Toolkit scanning a new network with my RS232 PCI but that is sort of understandable since I connect to the PCI with a 3rd party serial to Ethernet device server.
    Existing networks scan no problem.
    The new network scanned fine with a USB connection to PAC.
    Quite a credit to Clipsal really for supplying a working USB driver for the OS.

    I do install and uninstall various versions of CBus software just to play around with it and have never had any trouble uninstalling though that's probably no consolation to you.

    What are you using to interface to the CBus network?
    I've not used Wiser at all but it does offer a unique set of features regardless if the underlying hardware is similar to a router.
    I don't want to reinforce your already dim view but using it as a PC interface sounds about the most difficult way to get a CBus connection.

    Until I hear otherwise I think your problems may well be due to some PC hardware or software issues.

    CBus and especially Wiser is the antithesis of "it just works".
    It does not just work but it does offer features which are not universally available.
     
    Last edited by a moderator: Dec 5, 2014
    DarylMc, Dec 5, 2014
    #5
  6. pgordon

    pgordon

    Joined:
    Nov 16, 2004
    Messages:
    123
    Likes Received:
    2
    Thanks Daryl. I am using the inline CNI that is "part" of the Wiser package to access the CBUS network from my PC. This part works fine, I have toolkit on this PC and it connects, opens & scans the network just fine... - most of the time... (I have noticed recently, that at random occurrences, toolkit fails to open the network & I have to power-cycle the CNI to fix it... kinda like the CNI is locking up randomly... but it's not very frequent - perhaps once or twice a month - so I can live with that without complaining too much)

    I certainly agree with the jist of many of your comments... the Wiser unit does offer functionality not obtainable by any other means... (when it works!) - which is why I bought one... and never a truer word was spoken than CBUS doesn't 'just work' However, that said, I (and I get the impression from the Wiser forum that I'm not alone), have had an unreasonable amount of angst with the Wiser.. I truly feel it was released as an unfinished product...

    I love most of the CBUS hardware... I have implemented it in every house I have bought going back 10 years or more... but I really can't say the same about the software... over the years, like you, I have had need to install/uninstall/reinstall CBUS softwares - as well as no end of other software packages... and by a country mile the CBUS software is universally what causes the most aggravation... I am struggling to think if I can recall a single other piece of software - ever - that just refuses to uninstall via Windows control panel... but it has occurred several times with both Toolkit and PICED...
    Over the years I have on more than one occasion had to completely wipe & rebuild Windows on my PC *just* to get one or other of those packages to work as it should (I tend to rebuild every couple of years anyway to clear out all the crud, but often a problem with CBUS software prompts that activity).

    This problem I'm having right now isn't anything to do with how I am interfacing to the CBUS network... It's just poor software pure & simple... I'd be confident to wager that if I spent the next 6-8 hours reformatting & rebuilding Windows on this machine, then install the CBUS software *FIRST* - It will likely as not function perfectly... but I shouldn't have to do that!! not with quality software! - there's no other software I have attempted to use anytime in the last couple of years that has forced me to rebuild my PC just to be able to use it! Oh and at this point it's also worth adding that no other hardware or software has ever forced me to re-address my entire LAN because the *stupid* IP Config tool refuses to allow me to change the fixed IP address in the unit... yet not 2 months ago that is exactly what I had to do here because the CBUS IP config tool absolutely would not change the IP in the aforementioned CNI... so once again, thanks to Clipsals absolutely dire software, I wasted something like 4-5 hours fighting with it, before admitting defeat and spending another hour or two reconfiguring every IP device on my network...


    And just don't get me started on the Wiser time sync thing.... that is just outrageously poor, buggy behaviour, for which there really is no excuse. That it is still happening after all this time since I (and many others) first reported it is inexcusable.
     
    pgordon, Dec 5, 2014
    #6
  7. pgordon

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,392
    Likes Received:
    24
    Location:
    Adelaide, South Australia
    Pretty harsh.

    The installers use a very well known standard off the shelf product for building program installers. They have been around for at least a decade; I use this in commercial s/w I sell and its a dream compared to using some other installers. The fact you are having these strange problems is, in s/w terms, very odd.

    One of the peculiarities of writing software for windows (as I have found to my eternal frustration) is that what works on a developer PC won't always work in the wild. Using more PC's, more operating systems (in and out of VMs) and testing and testing and testing helps.

    But the biggest weirdo in the world is the great mashed up mess of OTHER software that's out there: some well behaved, some not.

    What really does the poor developers head in is trying to figure out what causes something to break for one customer; when 5000 others don't have any issue.

    In this case OF COURSE it's natural to scream at the developer. But the poor dudes can't fix an issue if they don't know what it is and shouting louder does not imbue magical powers on a developer who can suddenly fix something.

    Case in point (unrelated to C-Bus). I have a customer who bought s/w I sell, it works for him. But the particular operation that takes 5 mins when done without my program takes 40 mins when done with it. Not good enough. He is the *only* customer amongst many hundreds who has this issue. So far I've spend a couple of hours playing around in his PC view TeamViewer, he's tried all manner of suggestions, and is treating me with endless patience. We're also no closer at all to a solution.

    Most people would simply say: not my problem, it works for me and everyone else. Rebuild your PC. However, gaining an understanding of what's going on is likely to yield a better result all around, provided there is patience and goodwill all around too. It may yet be that the issue can't ever be solved (we just don't know and after investing days and days of unpaid support time on this, are still no closer).

    So the trouble you have here is that posting a long complaint about poor software won't usually get you anywhere apart from pissing off the developers (who have many other pressures being applied as well). Because there is little other information provided and no inventory of other programs installed and running on the PC, what is a developer to do? Click "close" and move on.

    If you were to try and make a formal technical support call, and ask that a remote access session be set up, then you might get the answer "no". But you might also get somebody who can get in and take a look, who might be able to run a debug build, who might be able to run the installed in debug mode to find what step it gets to, etc etc.

    I really don't know if Schneider would do such a thing (If I were there, I would but I'm not and can't speak for others).

    ------------------------------------

    As regards the time offset issues.

    I put my hand up. A long time ago, in another life, I wrote all the documentation for the C-Bus date and time application support - and all the rules for how devices interact; AND wrote all the internal support code for it.

    It is horribly complex (for good reason).

    And 3rd party devices (eg Comfort and numerous others) have for years routinely looked at all this and gone "oh too complex" and promptly ignored it or done only a subset.

    Until you run the diagnostic program to see WHICH device emits the messages that set the time wrong, please don't complain about the Clipsal supplied devices. For years now they have done it right, based on my code. The 3rd party devices have also routinely messed it up and the only recourse is to complain bitterly. To those product vendors!

    If on the other hand the diagnostic application does show that the Wiser has put out the wrong time then please look at your wiser commissioning. It has settings that allow you to select that date at which daylight saving switches in and out; it sounds like this could be where your troubles lie.

    A word about daylight saving:

    In spite of what some others might tell you, there is no magical solution to anything daylight saving.

    Daylight saving time is an artificial construct created by government legislation. There are something like 300 different legislatures around the world (or more) and each can and will do whatever it likes about passing laws about if daylight saving exists, and when it starts and ends (and how much the offset is, 1 hour is NOT universal!)

    What this means is that while a device can get time (which by the way is ALWAYS GMT) over the internet using things like NTP protocol, the conversion to local time requires a person to set it up. And daylight saving offsets require a person to set them up as well.

    NOW... why does your windows PC get it right?

    Answer: because Microsoft have some poor sucker who has too keep on top of every daylight saving legislative change around the world; and then they issue windows updates to implement those changes through complex magical stuff in windows. Doing this is expensive, proprietary, and non-trivial. A windows solution can't just be applied to everything else.

    So when an embedded headless device (eg wiser; or your home router; or your IP/web camera) tries to use date and time you will find that most of those, most of the time, can't get the automatic updates in because they either don't support it, or have no paid clever dude sitting their punching this stuff out for devices to fetch on the off chance it's needed.

    THEREFORE, you need to enter the information and if it changes, update it.

    Regarding daylight saving time changes: Don't say "oh ho ho bs it does not happen". Where I live we have had more than 5 changes of daylight saving time start / end date in the last 15 years. In some cases its a one off for one year only due to some special event being held in the capital city. Some places in the world have it very stable and the start / end times have not changed for decades. Other places are very fluid. So there is no such thing as one rule for all.

    --------------------

    To those who wish to answer this with "TL;DR please condense" or who wish to vent... by all means do so, but if you don't address specific points above then you are not really contributing to a meaningful conversation.
     
    Last edited by a moderator: Dec 6, 2014
    ashleigh, Dec 6, 2014
    #7
  8. pgordon

    DarylMc

    Joined:
    Mar 24, 2006
    Messages:
    1,308
    Likes Received:
    49
    Location:
    Cleveland, QLD, Australia
    Hi pgordon
    When I said "it doesn't just work" I mean that it takes some knowledge and experience to set up products like Wiser.
    Many people on the forum do run into problems using Wiser as a PC interface and it seems to me not just because of the hardware.
    That's just my opinion since as I said I have never used Wiser.

    Maybe I wasn't clear but I don't have much troubles with CBus software.
    When I do install and uninstall Toolkit or Piced it is usually to look at some issues other people are having here on the forum.
    For example after listening to your issues I plan to upgrade them just to see if I find a problem.

    I have never ever resorted to using a 3rd party software removal program and if I had to I would consider the OS trashed.
    If my OS was giving troubles and thankfully Windows 7 hasn't for a long time now, I've never thought it was due to CBus software.

    The fact that you think a fresh Windows install might solve your problems tells me you are probably due for it.
     
    Last edited by a moderator: Dec 6, 2014
    DarylMc, Dec 6, 2014
    #8
  9. pgordon

    pgordon

    Joined:
    Nov 16, 2004
    Messages:
    123
    Likes Received:
    2
    Thanks Ashleigh, an interesting read, and some good comments.
    Perhaps I am being pretty harsh at this point... but honestly, I can't help it any more... my patience has been largely eroded over the last few years... perhaps I've been 'spoiled' for the last decade or two by being exposed to, using, and becoming used to, hardware and software that does 'just work'.... as you indicated, my desktop PC (and actually, all my computing devices, not just Microsoft based ones) have always, unfailingly handled the local time accuracy in such a way that I have never had to give it the slightest thought, so it therefore jars very noticeably and obviously when something doesn't. I take your comparison to MS... I realise Schneider isn't Microsoft, I realise they don't have the global headcount, and massive resources available that MS does... however... look at it from a purely customer-centric POV... I don't pay *anything like* as much for Microsoft's products as I do for Schneider's... in the UK I think a copy of Windows is maybe ?70, Office about ?100-?200 depending on edition... compare that with what I pay for CBUS hardware...
    Wiser - ?600, Dimmer modules - ?500, relay modules around ?400, switches around ?150 each... I have over the years invested *thousands* of pounds in CBUS kit - many times more than I've ever given to MS... - is anyone seriously going to suggest that it is unreasonable, unfair or harsh of me to *expect* that it performs in a manner commensurate with its cost? Of course I know there is an argument to made for economies of scale... I get that...

    I'm also not immune to the lot of the software developer... I've worked in IT all my adult life, I've 'done' software development - not I hasten to add commercially - I am not a programmer by profession, but nevertheless I have written some fairly beefy applications (my first major effort was about 30 years ago when I wrote a database system which ran to 10,000 lines of code and included modules written in COBOL and FORTRAN, whilst the bulk was in CPL, this was in a mainframe environment at a time when the development environment didn't include nice tools like automatic syntax checking, auto-indentation and so on, so as part of that project, I had to write a separate application which would parse my code files, check syntax, indent the code to line up START & END code blocks correctly, write out the reformatted code files, and produce a report of any errors found). Long story short... I know a thing or two about exception handling... and I've seen some behaviour from PICED this last couple of days that makes me want to weep...
    (I can give a variety of examples with screenies if needed, but I've left them out for the sake of brevity).

    I understand, and largely agree with the facts of DST... It hasn't actually changed in the UK since WW1 I believe, although there are repeated rumblings of abolishing it in the UK (the Scots always seem to object to that). I agree that it isn't 'easy' for Schneider to code to accommodate every possibility (I have never suggested they should) - I absolutely accept the assertion that the best they should reasonably be expected to do is provide a mechanism in the software for the end-user to (to quote you) "enter the information and if it changes, update it." - but that is *EXACTLY* what does NOT work in the Wiser!! - numerous posts on these boards describe the behaviour where users are trying to do just that... to TELL Wiser the details of what timezone it is in, whether or not it should apply DST, what dates it should start & stop on, and what offset to apply... - and Wiser ignores all of it... I am not alone in having had to lie to Wiser about what timezone it's in just to get it to keep the right time, precisely because the DST mechanism is somehow broken.

    To return to the installer issue for a moment, I absolutely get that a Windows environment is such a mish-mash of code which can come from just about anywhere, have been written by just about anyone, that it could sometimes be considered a miracle that it all works together at all! As I said, I've worked in IT for a tad over 30 years, and that has included 1st, 2nd, and 3rd line support, so I have certainly had to deal with more than my fair share of problems caused by recalcitrant software, I do know how frustrating that can be! The fact is though, that things are vastly better now than they used to be... I know that if I rebuild my PC from scratch, then install the CBUS software before any other, in all likelihood it will work perfectly, so I know that it CAN work, and that it DOES work - given a perfect environment... but it's only been 9-10 months or so since I last rebuilt, at which point I only needed to install Toolkit, not PICED. In that intervening period my machine has been stable & well behaved... I don't use it for testing software willy-nilly, so I don't as rule install "stuff" on it fecklessly. The fact of the matter remains that right now, I can install any software package on it, then uninstall it via the accepted method (i.e. control panel, programs & software) and the uninstall will work fine (Revo uninstaller is a good case in point, I had to install it only to clean up PICED, then I uninstalled it right after). The fact of the matter remains that the last time I had uninstaller problems it was with another piece of CBUS software (Toolkit that time), and the fact of the matter remains, that hand on heart I can say that I have not had ANY other software application behave in this way since I was running Windows for Workgroups 3.11 sometime back in the early 90's - It's easy to say that it's my PC that is at fault, and that perhaps it's due for a rebuild anyway, but if I have absolutely no other problems of any kind, with any other software, is it actually my PC or the errant software application that should shoulder the blame for the errors?

    I really don't want to turn this thread into a rant against Schneider/Clipsal or any individual who's work I may be criticising here, I genuinely just want to get to point where everything works and we all are happy... there is nothing wrong with *constructive* criticism, which I hope is (mostly) what I have offered - Of course I can't but help colouring that either by comment or 'tone' with the frustration which I (understandably) feel right now...

    So, to get back to that, short of rebuilding my PC once again - which will take the best part of a couple of days to get back to 'just how I like it' - has anyone any idea what might be the underlying problem here? - the exception that PICED throws hints at a problem (permissions?) writing to the registry.. "Failed to create key Forms/WidgetManager" - this is unlikely, since as I said, I am full admin on this PC... is the error message to be believed? what is PICED trying to write to the registry at the point at which it exits Widget Manager? - Can I get a .REG file that I can import to create the required keys myself to see if I can move beyond this problem - unfortunately the error message doesn't give me the full path, so I can't know exactly where the key(s) need to be created...

    I really don't think that having to rebuild my PC from scratch every time I have a problem with CBUS software (and lets not forget it is now, and only ever has been, with CBUS software), is a reasonable course of action, given the time and effort that activity requires, I'd *really* rather avoid that, and actually get to the bottom of the problem, and fix that specific issue rather than fudge a solution every time by re-engineering the entire world to satisfy the foibles of one fussy citizen instead of bending the will of that citizen to fit in with the rest of the world as it actually is...

    Thanks all.

    Paul G.
     
    pgordon, Dec 6, 2014
    #9
  10. pgordon

    pgordon

    Joined:
    Nov 16, 2004
    Messages:
    123
    Likes Received:
    2
    Hi Daryl.
    I tend to rebuild my PC about every 24 months or so just to maintain a good clean state... I don't relish the process since it does tend to take *days* to get everything back as I like it to be, during which time my productivity is ruined, so I don't especially want to resort to doing this again quite so soon (only about 9-10 months since last rebuild IIRC).
    I don't accept the suggestion that the OS is in any way trashed, or that it is overdue for a rebuild. As I mentioned in another post, this build is stable, fast & reliable with every other piece of software that I have on it, or can throw at it. The *only* application problem I have now is with PICED, the *only* other application problem I've had within the last 12 months was with Toolkit (same error then too, - wouldn't install correctly, then wouldn't uninstall either), in fact I can honestly say that the *only* application install/uninstall problems I've had at any point as far back as I can remember (i.e. the last 2-3 years) have been with one or other piece of CBUS software... the IP config tool also wasted many hours of my life recently when it utterly failed in its sole purpose of configuring the IP settings in a CBUS unit (I had to re-address my entire LAN to fit with the IP previously set in the CNI, since it refused to let me change it).

    Given the circumstances, I just cannot swallow the suggestions along the lines of "it's not the CBUS software, it's your PC" - the *evidence* just does not support that hypothesis...

    Cheers.

    Paul G.
     
    pgordon, Dec 6, 2014
    #10
  11. pgordon

    DarylMc

    Joined:
    Mar 24, 2006
    Messages:
    1,308
    Likes Received:
    49
    Location:
    Cleveland, QLD, Australia
    Hi Paul
    Since I am running the same OS, some time tomorrow I will install the latest Toolkit and Piced and pass on my results.

    As I mentioned I've never had any uninstall problems with CBus software which leads me to think it could be an OS issue.

    Do you have any other interface to connect to the CBus network?
    I doubt that is related to your software problems but I think it is a whole lot easier to connect to the network by other means.

    Aside from your uninstall problems it seems to me that Piced crashed while trying to upload the Wiser project.
    I wouldn't be surprised if some configuration or hardware problems with the Wiser could cause some software crashes.

    As I said I do not have any experience with Wiser whatsoever but I will have a play around with the software to see if I can replicate any problems on Windows 7 64 bit.
     
    DarylMc, Dec 6, 2014
    #11
  12. pgordon

    pgordon

    Joined:
    Nov 16, 2004
    Messages:
    123
    Likes Received:
    2
    Thanks Daryl, any insights are certainly going to be useful. I think it's fair to say that since I know both applications CAN work quite perfectly - I have in the past had both installed & working fine - that whilst I don't think it's a windows "issue" per se, it clearly is caused by some interaction *with* the underlying OS that is not being handled well by PICED which causes it to throw the exception... I can't fathom why this application, and this one alone, is complaining about writing to the registry... It would be helpful if I knew the full path of the key(s) it is trying to create - I'm assuming that since this is the very first time Widget manager has been run that it tries to create some keys to store its properties in.. I would assume this is a one-time process, and that once those keys exist then PICED would not try to create them, but would instead proceed to trying to write the values into them... whether this function works or not might provide some helpful information...

    I think perhaps I'll spin up a clean Win7 VM and test some more in a virgin environment... that alone is going to take a little bit of time which I can't really afford to give just now... daughters 12th birthday party tomorrow, so I already have more to do than I have time to do it in...

    Unfortunately, I don't have any other CBUS interface available to me... the Wiser is marketed as being all one needs by virtue of its "built-in" CNI - which apart from the form factor, I'm given to believe is exactly the same hardware under the hood as the standard DIN rail CNI... so that shouldn't - in theory - cause any issues, and indeed, in my experience it does function perfectly well with Toolkit (apart from the odd random lockup I mentioned earlier, but I guess any device could experience that). And I *have* in the past had it working with PICED on a previous PC...

    I'm fairly convinced - for a number of reasons - that what I'm seeing cries out as an issue with PICED, - or with the way it is interacting with Windows. apart from the exception being thrown, other things do not work properly... for example, on the error dialog box that appears when the exception occurs, there is a "Send and Close" button... as far as I can tell, this doesn't send.. - least there's no way I can see it doing anything... it does close the dialog, but the same exception is immediately thrown and it re-appears straight away, and continues to do so indefinitely until I use task manager to kill the PICED process. *** update *** actually, it appears that "indefinitely" is incorrect... having persevered as a test, I believe it repeated 16 times before it stopped, went away, and stayed away, then leaving the "What's new for PICED version 4.12.1.0" window active... If I de-select the tickbox "show on startup" and hit OK to close, that then immediately throws an exception: "Failed to create key Whatsnew" I can cancel that error dialog and it stays closed but reappears every time I try to close the "Whats new..." window...
    I can close the "Whats New..." window with the Window's "X" button rather than "OK" - obviously then discarding my settings, and it stays away leaving the main PICED window in focus, with my project file open...
    It is however, totally unusable even now.. for example, if I try to run the transfer utility, it shows the "select Network adapter dialog" but as soon as I select any NIC on the list, it throws the error "Socket error # 10013 Access denied" - again hinting at permissions issues, which is indeed extremely odd...

    TIA

    Paul G.
     
    pgordon, Dec 6, 2014
    #12
  13. pgordon

    DarylMc

    Joined:
    Mar 24, 2006
    Messages:
    1,308
    Likes Received:
    49
    Location:
    Cleveland, QLD, Australia
    Hi Paul
    Are you saying that opening Piced and trying to uncheck startup tips does not work?
    Definitely no problem with that on my 64 bit PC.

    I uninstalled all Clipsal software and reinstalled latest versions a few times.
    Windows 7 64 bit.
    No problems with the uninstaller here.
     
    DarylMc, Dec 7, 2014
    #13
  14. pgordon

    rhamer

    Joined:
    Aug 3, 2004
    Messages:
    673
    Likes Received:
    3
    Location:
    Melbourne, Australia
    For what it's worth I have had a problem in the past with a different (nothing to do with C-Bus) application that was throwing permission errors a bit like what you are seeing.

    It turns out the application was installed in a non standard location, and my anti virus/general protection software was blocking access to certain registry areas and folders. I had a real battle to figure out the problem, and get it to work, but in the end I had to disable the virus software.

    I have no idea if this is relevant to your problem, but it might be something to consider.

    Cheers

    Rohan
     
    rhamer, Dec 7, 2014
    #14
  15. pgordon

    pgordon

    Joined:
    Nov 16, 2004
    Messages:
    123
    Likes Received:
    2
    Interesting... and definitely worth a few minutes of my time to investigate... as you say, CBUS software defaults to C:\Clipsal as its install point, rather than the (more correct I would say) C:\Program Files (x86) folder....

    Perhaps Clipsal's non-adherence to a decades old Windows standard is in some way contributing to the errors....

    I will uninstall (probably have to be done by brute force 3rd party cleanup tool) then reinstall with the install location changed to be more "correct"

    Will report back if this makes any difference...

    Cheers.

    Paul G.
     
    pgordon, Dec 7, 2014
    #15
  16. pgordon

    pgordon

    Joined:
    Nov 16, 2004
    Messages:
    123
    Likes Received:
    2
    By Jove, I think that's done it!! :)

    Must be that this time I was rushing, and not anticipating any problems, so I obviously accepted the defaults that the installer suggested... In truth, I have always been in the habit of overriding any application that didn't want to install itself in the standard program files folder, as I like to keep my hard drive tidy & well organised... must be the case therefore that on previous occasions when installing CBUS software I had indeed remembered and adhered to my usual habit of forcing the install location to the correct folder...

    Why oh Why do Clipsal insist in doing this non-standard install?? - the program files folder has been around for something like 2 decades now, and has always been the "correct" location for applications to install themselves into... there's no good reason not to adhere to that standard...

    In light of the fact that the default settings supplied by the installer *do not work* - at least on Win7 ultimate 64-bit - and I bet the same is true of other versions too - can Clipsal *please* change the settings and install by default to the correct location?

    And in anticipation of someone else adding a comment along the lines of "My install is in C:\Clipsal and mine works perfectly, therefore it must be something peculiar to your PC" - well that *may* be proven so... but it does not change the fact that according to Windows standards, applications should be installed into the designated program files folder, and it would seem that only then will apps be *guaranteed* to function correctly and not be kyboshed by some windows (or perhaps even 3rd-party) security framework...

    For the record, my security framework is Microsoft Security Essentials - I do not run any 3rd party AV or firewall tools...

    Slightly happier bunny now... :)

    Paul G.
     
    pgordon, Dec 7, 2014
    #16
  17. pgordon

    DarylMc

    Joined:
    Mar 24, 2006
    Messages:
    1,308
    Likes Received:
    49
    Location:
    Cleveland, QLD, Australia
    Thanks for the tip Rohan.
    Certainly beats reinstalling the OS.

    What I wonder is why it doesn't cause any trouble on my Windows7 64 bit install and why Clipsal chose to create a separate directory in C drive.
    I imagine there is some reason.

    For the record I am using MS security essentials and Windows firewall too.
     
    Last edited by a moderator: Dec 8, 2014
    DarylMc, Dec 8, 2014
    #17
  18. pgordon

    rhamer

    Joined:
    Aug 3, 2004
    Messages:
    673
    Likes Received:
    3
    Location:
    Melbourne, Australia
    Historically C-Bus software has always been installed in c:\clipsal.

    Way back in the V1 days it was Windows 3.1 and that was how it was done. I don't know the reason for not changing.

    I have always let the installation install in C:\Clipsal and this has (as far as I can remember) always worked over the years. it is also working on my current W8.1 64Bit machine.

    Cheers

    Rohan
     
    rhamer, Dec 8, 2014
    #18
  19. pgordon

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,392
    Likes Received:
    24
    Location:
    Adelaide, South Australia
    Actually the preference to go under Program Files appeared in XP and was somewhat more encouraged under Vista (cough).

    So thats not quite decades, about 12 - 14 years.

    Yes thats a long time - BUT...

    The move to move things under "Program Files" created a massive migration problem. Imagine for a moment that you have an installation that works and download an updated Toolkit...

    What should an installer do?

    - Go under Program Files and leave all the other stuff where it is ? [BUT there are data files there that matter...]

    - Move everything else and patch them? [Damn near imnpossible.]

    - Prompt the user to install updates to EVERYTHING else in the suite? [Oh gosh can hear the screams now.]

    User feedback at the time + product management said: if you cause massive disruption and require users to reinstall everything you will get shot.

    So it was deferred, and deferred, and deferred.

    With hindsight, that was actually probably a good move. Because under Vista, W7, W8, programs installed under "Program Files" MUST NOT write data back into that location. Instead it all needs to move to hidden directories under user-specific "appdata" locations.

    Programs that do write back get a virtualised copy written to a magical user specific location, and this in turn leads to all manner of other hassles where programs sometimes work OK but users can't find data, there are multiple views of the same file, and so on. The horror is truly terrible to manage as I've found in supporting some newer programs that are only partly compliant with how Vista and beyond want to world to be.

    The C-Bus program tree and general architecture relies on a lot of data and user files all living in a common tree - it seemed a good idea at the time, and it certainly makes users life easier in some ways (eg finding where project files are - irrespective of user name logged in as.)

    Placing everything under a separate high level directory means that all these rules that Vista+ wishes to impose just don't apply.

    So... you can sling off all you like about it being "non compliant to a decades old set of rules" but the migration and subsequent data access / user access / tree structure issues are actually far more severe than it seems at first glance. To achieve it would require a synchronised, non backward-compatible re-release of every single program. And users who installed one would then have to upgrade everything. There would be no downgrade path.

    Users didn't like hose ideas then and I expect still don't like them now. Further, things like project files would then become user specific so Joe-The-Sparky and his apprentice using different accounts on the same machine would then blame (guess who!) for not being able to find project files, or having 2 versions and using the wrong one... etc etc.

    It would not end well.

    Of course, a massive re-engineering from scratch might sort some of those issues (but not all) in some form, but its not a cheap, not simple, and there is no magic cure.

    Sometimes its one of those cases of be careful what you wish for.

    --------------------

    Reharding the specifics of the issue here. As I understand it, you changed the install path so that it was installed under c:\Program Files.

    Well as they say on Mythbusters... There's Your praaahblem.

    Programs installed under c:\Program Files have all kinds of restrictions imposed on their behaviour (even if you are an admin); and get automatic virtualisation of write-backs AND REGISTRY. This leads to many many hassles which make deep down Win32 APi programmers like me have nightmares when trying to work around them. As above.... installing into C:\Clipsal turns all this junk off and it will work as it did on Windows 2000 and XP.
     
    Last edited by a moderator: Dec 8, 2014
    ashleigh, Dec 8, 2014
    #19
  20. pgordon

    DarylMc

    Joined:
    Mar 24, 2006
    Messages:
    1,308
    Likes Received:
    49
    Location:
    Cleveland, QLD, Australia
    Hi Ashleigh
    Thanks for that explanation.
    It may be something to consider for future CBus software updates.
    I think it's something which could be addressed in the release notes.
    As far as separate users goes, I think Windows can already handle that.

    What I still wonder is why Paul had troubles and not everyone else.
     
    Last edited by a moderator: Dec 8, 2014
    DarylMc, Dec 8, 2014
    #20
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.