Connections not made with new IB

  • Hi list,
      I'm having some problems with the new IB.  I have created a
    connection from my files owner, which has the correct class set, to a
    custom view.  Looking at the inspector palettes confirms that the
    connection has indeed been created.  I've also created one in the
    opposite direction, which the inspector similarly confirms is there.

    However, when I run the program, and enter the debugger in
    awakeFromNib for the custom view, the pointer is reported as
    "Invalid", the fact that the connection has not been made is further
    confirmed when I get a seg fault after trying to do things with the
    connection.

    Any ideas about why the connection's not being made?

    Thanks

    Tom Davie
  • I had that problem in the old IB which wouldn't let me make a connection
    to a NSBrowser that was contained in a NSTabView.  It was definitely a IB
    bug and has thankfully been fixed in the new one.  Maybe there were more
    like that they didn't catch.

        I'm hesitant to report more bugs from 9a559 since 9a581 (the final) is
    now out.  Unfortunately, my overnight download refuses to mount the disk
    image or allow me to burn it, so I can't check the final.  I may try again
    tonight.  That problem may be elsewhere because TimeMachine also complains
    it cant mount my backup drive connected to my Airport extreme, even though I
    can access it in the finder.

    > Hi list,
    > I'm having some problems with the new IB.  I have created a
    > connection from my files owner, which has the correct class set, to a
    > custom view.  Looking at the inspector palettes confirms that the
    > connection has indeed been created.  I've also created one in the
    > opposite direction, which the inspector similarly confirms is there.
    >
    > However, when I run the program, and enter the debugger in
    > awakeFromNib for the custom view, the pointer is reported as
    > "Invalid", the fact that the connection has not been made is further
    > confirmed when I get a seg fault after trying to do things with the
    > connection.
    >
    > Any ideas about why the connection's not being made?
    >
    > Thanks
    >
    > Tom Davie
  • Hey Thomas -

    Does anything appear in the Xcode log when you load the nib? Is an
    instance of your file's owner class indeed the object that is loading
    the nib? I would expect the value to at least be nil if the connection
    wasn't being set. All instance variables are nil after allocation, and
    if it says 'invalid' that suggests that it was either written then
    overwritten or written and then the original object was released and
    freed. Perhaps a little code sample and nib would make the problem
    obvious.

    Hope those pointers help -
    Jon Hess

    On Oct 27, 2007, at 7:09 AM, Thomas Davie wrote:

    > Hi list,
    > I'm having some problems with the new IB.  I have created a
    > connection from my files owner, which has the correct class set, to
    > a custom view.  Looking at the inspector palettes confirms that the
    > connection has indeed been created.  I've also created one in the
    > opposite direction, which the inspector similarly confirms is there.
    >
    > However, when I run the program, and enter the debugger in
    > awakeFromNib for the custom view, the pointer is reported as
    > "Invalid", the fact that the connection has not been made is further
    > confirmed when I get a seg fault after trying to do things with the
    > connection.
    >
    > Any ideas about why the connection's not being made?
    >
    > Thanks
    >
    > Tom Davie
  • On Oct 27, 2007, at 11:13 AM, Gordon Apple wrote:

    > I'm hesitant to report more bugs from 9a559 since 9a581 (the final) is
    > now out.  Unfortunately, my overnight download refuses to mount the
    > disk
    > image or allow me to burn it, so I can't check the final.  I may
    > try again
    > tonight.  That problem may be elsewhere because TimeMachine also
    > complains
    > it cant mount my backup drive connected to my Airport extreme, even
    > though I
    > can access it in the finder.

    There is a nasty problem with Apple's hosting provider's download
    server pool; at random times they return an empty packet in the
    stream (I'm assuming), and the download completes prematurely.  This
    has been inconveniencing me for the past year's worth of seed
    downloads.  In one case I had 12 failed downloads in a row, and DTS
    ended up mailing me a hard copy.  <rdar://problems/5370201>
    Closed?!!  Well, it just happened again trying to download 9A581 today.

    Some time ago I did discover a workaround:  Using Safari for the
    download, after approximately 50% download completion, click the
    small X icon to pause the download, wait a few seconds, then click it
    again to resume.  After doing this, it seems to complete reliably.

    Ahem.
    --
    Shaun Wexler
    MacFOH
    http://www.macfoh.com

    "The definition of insanity is doing the same thing over and over and
    expecting different results." - Albert Einstein
  • On 28.10.2007, at 02:13, Shaun Wexler wrote:

    > On Oct 27, 2007, at 11:13 AM, Gordon Apple wrote:
    >
    >> I'm hesitant to report more bugs from 9a559 since 9a581 (the final)
    >> is
    >> now out.  Unfortunately, my overnight download refuses to mount the
    >> disk
    >> image or allow me to burn it, so I can't check the final.

    [...]

    > There is a nasty problem with Apple's hosting provider's download
    > server pool; at random times they return an empty packet in the
    > stream (I'm assuming), and the download completes prematurely.  This
    > has been inconveniencing me for the past year's worth of seed
    > downloads.  In one case I had 12 failed downloads in a row, and DTS
    > ended up mailing me a hard copy.  <rdar://problems/5370201>
    > Closed?!!  Well, it just happened again trying to download 9A581
    > today.

    I had quite some problems with the 9a321download. And around your
    radar filing time I had a really bad download that looked completely
    correct but was just a few dozen MB too small..

    Regards,
    Tom_E
  • I too have had this exact problem many many times downloading seeds
    from Apple.  This is very bad when you have a limited download
    capacity and you download 3 to 5 gigs of wasted time and bytes -
    imagine how frustrating it is to blow 1/3 of your monthly download
    allocation and 12 hours of nursing your machine only to have the
    download stop a few megs short!.

    I too have raised bugs with ADC and they did, once, email me a seed
    which arrived a couple of days before an updated seed was released.
    :-(

    One response from Apple was to do the following:

    - make sure you don't connect from a bookmark
    - use Safari
    - clear the history
    - clear the cache

    I then quit and restart Safari and start the download.

    When doing this slowly and carefully, I have never had a problem.

    However, I don't see why I should have to.

    Karl

    On 28/10/2007, at 1:18 PM, Thomas Engelmeier wrote:

    >
    > On 28.10.2007, at 02:13, Shaun Wexler wrote:
    >
    >> On Oct 27, 2007, at 11:13 AM, Gordon Apple wrote:
    >>
    >>> I'm hesitant to report more bugs from 9a559 since 9a581 (the
    >>> final) is
    >>> now out.  Unfortunately, my overnight download refuses to mount
    >>> the disk
    >>> image or allow me to burn it, so I can't check the final.
    >
    > [...]
    >
    >> There is a nasty problem with Apple's hosting provider's download
    >> server pool; at random times they return an empty packet in the
    >> stream (I'm assuming), and the download completes prematurely.
    >> This has been inconveniencing me for the past year's worth of seed
    >> downloads.  In one case I had 12 failed downloads in a row, and
    >> DTS ended up mailing me a hard copy.  <rdar://problems/5370201>
    >> Closed?!!  Well, it just happened again trying to download 9A581
    >> today.
    >
    > I had quite some problems with the 9a321download. And around your
    > radar filing time I had a really bad download that looked
    > completely correct but was just a few dozen MB too small..
    >
    > Regards,
    > Tom_E
  • On Oct 28, 2007, at 7:23 PM, Karl Goiser wrote:

    > I too have had this exact problem many many times downloading seeds
    > from Apple.

    This discussion isn't really appropriate for this list. It isn't a
    Cocoa frameworks related question, and obody here can address your
    concerns.

    Best to contact WWDR or DTS directly.
previous month october 2007 next month
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today