I don't think so. The message Saul Comyn is getting is "This computer's
Internet connection appears to be offline.", which is the message
corresponding to kCFNetworkStatusDown. So unless they use the same message
for an indeterminate status (which I don't think they do, but I don't know
how to check), this is not the problem.

But anyway, we might want to try downloading for unknown status, because it
doesn't say it won't work. So check for  kCFNetworkStatusDown instead. Even
though that does not seem to be the problem here.

Christiaan


On 6/3/07, Adam R. Maxwell <[EMAIL PROTECTED]> wrote:

We're only checking for the kCFNetworkStatusUp (or whatever the
constant is), and that could be a problem, I guess.  Maybe it returns
an indeterminate status or something?  If it's indeterminate, we could
try reaching the specific host via SC, then use diagnostics if that
fails.

I'm unable to use my ISP's dialup system, so I can't try it myself.  I
do know that the SCNetworkCheckReachabilityByName function works with
a modem, since I was able to test it a few years ago.  The
CFNetDiagnosticsCopyNetworkStatusPassively worked last I tried when
disconnecting from Airport or Ethernet, though, so I've no idea why it
would fail with modem.  Very strange.

adam


On Jun 3, 2007, at 10:43, Christiaan Hofman wrote:

> I don't have dial up access, unfortunately.
>
> So is this a bug in CFDiagnostics?
> CFNetDiagnosticsCopynetworkStatusPassively and the Network
> Diagnostics app clearly seem to disagree here.
>
> Christiaan
>
> On 6/3/07, Adam R. Maxwell <[EMAIL PROTECTED]> wrote:
> I saw the skim list posting, but this change seems wrong; the whole
> point of checking for network availability is to check /before/
> blocking the app for 60 seconds waiting for timeout.  Does anyone have
> access to a dialup connection to test this?
>
> --
> adam
>
> On Jun 3, 2007, at 04:21, [EMAIL PROTECTED] wrote:
>
> > Revision: 10695
> >           http://svn.sourceforge.net/bibdesk/?rev=10695&view=rev
> > Author:   hofman
> > Date:     2007-06-03 04:21:46 -0700 (Sun, 03 Jun 2007)
> >
> > Log Message:
> > -----------
> > Check for network availability after download of update info failed.
> >
> > Modified Paths:
> > --------------
> >    trunk/bibdesk/BDSKUpdateChecker.m
> >
> > Modified: trunk/bibdesk/BDSKUpdateChecker.m
> > ===================================================================
> > --- trunk/bibdesk/BDSKUpdateChecker.m 2007-06-02 13:40:47 UTC (rev
> > 10694)
> > +++ trunk/bibdesk/BDSKUpdateChecker.m 2007-06-03 11:21:46 UTC (rev
> > 10695)
> > @@ -163,7 +163,10 @@
> >
> >     // check for network availability and display a warning if it's
> > down
> >     NSError *error = nil;
> > -    if([self checkForNetworkAvailability:&error] == NO || [self
> > downloadPropertyListFromServer:&error] == NO) {
> > +    if([self downloadPropertyListFromServer:&error] == NO) {
> > +        NSError *networkError = nil;
> > +        if ([self checkForNetworkAvailability:&networkError] == NO)
> > +            error = networkError;
> >
> >         // display a warning based on the error and bail out now
> >         [NSApp presentError:error];
> >
> >
> > This was sent by the SourceForge.net collaborative development
> > platform, the world's largest Open Source development site.
> >
> >
>
-------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Bibdesk-commit mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/bibdesk-commit
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bibdesk-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bibdesk-develop
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
>
http://sourceforge.net/powerbar/db2/_______________________________________________
> Bibdesk-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bibdesk-develop


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bibdesk-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bibdesk-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to