Re: [wxCode-users] wxWebUpdate - auto-notification?

2007-07-26 Thread Francesco Montorsi
Hi,

William H. Schultz ha scritto:
> Hello,
> 
> I'm looking at the wxWebUpdate documentation, but I'm having a hard time 
> finding what I'm looking for.  Is it possible to use wxWebUpdate to find 
> out if an update is available without requiring the user to select a 
> menu item?  That is, is there a library call that I can make that will 
> tell me whether there's an update available,
well, effectively yours is a good request and I'd like to make it easier 
to be able to satisfy it.

I'm out of free time currently but I'd gadly apply patches which work in 
that direction...


 > so that I can auto-launch
> the wxWebUpdate program?  I would like users to be notified when updates 
> are available.
basically I suggest you to look at the sources of wxWebupdate (they 
should be fairly commented) and look at the relevant portions of 
webupdate[dlg].cpp; the code is there could be used/refactored to create 
a function exported then in the library and made easily accessible from 
extern programs.

HTH,
Francesco


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users


Re: [wxCode-users] wx-code bakefile fails for dmars

2007-07-26 Thread Francesco Montorsi
Hi,

Jonas Rydberg ha scritto:
>   Hello
> 
> I am trying to build dmars makefiles for different wxcode components, but it
> fails.
well, dmars is a "rarely-used" format. You're the first one asking about 
it...

> I get the following error when i run bakefile:
> 
> [1/8] generating dmars from keybinder.bkl
> D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx_win32.bkl:84: 
> error: output format does not support conditional processing
> at D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx_win32.bkl:84
> included from D:\Spara\Projekt\wxCode\build\bakefiles\presets\wx.bkl:278
> included from 
> D:\Spara\Projekt\wxCode\build\bakefiles\presets\wxcode.bkl:15
> included from 
> D:\Spara\Projekt\wxCode\components\keybinder\build\keybinder.bkl:9
> Traceback (most recent call last):
>   File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 538, in ?
> run(sys.argv[1:])
>   File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 525, in run
> dryRun=options.dryRun)
>   File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 363, in updateTargets
> _doUpdate(state, None, pretend=pretend)
>   File "C:\PROGRAM\BAKEFILE\SRC\BAKEFILE_GEN.py", line 332, in _doUpdate
> os.remove(tempDeps)
> OSError: [Errno 13] Permission denied: 'c:\\windows\\temp\\bakefilehobffi'
such error denied permissions suggests me that you're not logged in as 
the administrator of a windows system and that bakefile tries to create 
a temporary file in a folder which is not writable by your user.

Try to login as admin and retry.

> I have the following setup:
> Windows ME
> wxWidgets-2.8.4
> bakefile 0.2.2
> 
> The wxWidgets library makefile.dmc was created with bakefile without problems.
> 
> Has anyone seen this problem, or know where to look to try to fix it?
not that I know of.

I also believe the one you reported is probably only the first one of a 
long serie :(

However if you want to provide patches to e.g. 
wxCode\build\bakefiles\*bkl files to add dmars support, I would gadly 
accept them. I won't be able to add that myself however.

Good luck!
Francesco


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users


[wxCode-users] wxWebUpdate - auto-notification?

2007-07-26 Thread William H. Schultz

Hello,

I'm looking at the wxWebUpdate documentation, but I'm having a hard  
time finding what I'm looking for.  Is it possible to use wxWebUpdate  
to find out if an update is available without requiring the user to  
select a menu item?  That is, is there a library call that I can make  
that will tell me whether there's an update available, so that I can  
auto-launch the wxWebUpdate program?  I would like users to be  
notified when updates are available.



Thanks.

---
Hank Schultz
Cedrus Corporation
http://www.cedrus.com/




PGP.sig
Description: This is a digitally signed message part
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users