Help required - System Crash when adding XAP.

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Timoh
Advanced Member
Posts: 260
Joined: Thu Feb 02, 2006 12:56 pm
Location: Montreal - Canada

Re: Help required - System Crash when adding XAP.

Post by Timoh »

That worked for me too. And I didn't go Doh!

All of HB works without Admin, + the plugin I'm writing doesn't need Admin, so it was reasonable for me to expect it would work without Admin.

I don't get an UAC prompt, but I suspect the how to disable it is lurking on Google somewhere.

Thanks Edward. Back onto the bandwagon with xap... Once my current project wraps up, and I figure what I want to do with xap, + WAF permitting, + baby permitting, + + +

I'll probably end up doing an Arduino xap setup for IO.

Thanks again.
Tim
erspearson
Member
Posts: 14
Joined: Sun Apr 23, 2006 5:52 am
Location: London, UK
Contact:

Re: Help required - System Crash when adding XAP.

Post by erspearson »

I don't like this aspect but I thought it was (and remains) the 'HouseBot way'. Like to fix it but the last time I spoke to Scott about it
http://cebotics.com/forums/viewtopic.ph ... 95#p447475
I got the impression that the xAP plugins' behaviour in this area was in keeping with HB.
Any suggestions?
Timoh
Advanced Member
Posts: 260
Joined: Thu Feb 02, 2006 12:56 pm
Location: Montreal - Canada

Re: Help required - System Crash when adding XAP.

Post by Timoh »

I should clarify "without Admin". With a regular user, I suspect HB will not work as Scott mentioned. In my case, my user ID is a member of the Administrators group. While this gives most of the same privileges as the ID "Administrator", it's not quite the same. This is probably why HB works, but the xap plugin does not. ie: HB only requires the user be a member of the Administrator group, whereas the xapp lugin actually requires you to be the user Administrator.

My plugin reads the database file without any issues. The only trouble I ran into was writing my debug files/log files in the HB folders. I adjusted the permissions and all was solved.

I'm weary of running processes as Administrator. Only suggestion I would have is if the xap plugin can run with a user other than Administrator as long as that user is in the Administrators group.

Tim
Post Reply