InputStream only gets to 8192 bytes

I'm guessing this must be something simple I don't understand about InputStreams, but the following code only reads "README.txt" to 8192 bytes, despite the fact that fis.available() returns somewhere around 13000:
void loadDoc(){
    String str;
    try{
        InputStream is = getClass().getResourceAsStream("README.txt");
        int size = is.available();
        byte[] bytes = new byte [size];
        int read = is.read(bytes);
        System.err.println("Available:" + size + "\nRead: " + read);
        is.close();
        str = new String(bytes);
    } catch (Exception e){
        System.err.println(e);
        str = "The file README.txt could not be found; it may have been deleted or moved.\n";
    displayArea.setText(str);
    displayArea.setCaretPosition(0);
}I'm suspicious, since 8192 is a power of 2, which makes me think that it's not stopping at some arbitrary point or due to something in the file. What's going on here?

From what the docs for available() say, I'd have thought it would read the full 13000 or whatever. It seems like it's blocking sooner than it's supposed to.
I'd guess one of three things, in order of decreasing likelihood:
* "Blocking" has a specific meaning that doesn't extend to what's happening here, which I'd guess is simply that some underlying buffer has a size of 8k, so that's all that can be deliverd at once.
* You're not running the code you think you are, or have otherwise misinterpreted what you observed.
* There's a bug in the stream implementation.
Presumably if you loop here, you'll get the remaining bytes on the next read (if it is in fact the first point above that's causing this). Decorating the InputStream with a BufferedInputStream might do this for you, but I wouldn't count on it--you'd still have to put the reading in a loop.
On other alternative would be to turn the URL into a URI, the URI into a File, and then build a RandomAccessFile from the File, and use ReadFully. That feels like overkil to me, though.

Similar Messages

  • Exception getting blob to byte[]

    Hy guys,
    I 've a problem with my java application.
    I use hibernate to interact with a derby database.
    I stored a image into blob field (and no problem).
    When I try to get blob to array of byte I've this exception:
    java.sql.SQLException: You cannot invoke other java.sql.Clob/java.sql.Blob methods after calling the free() method or after the Blob/Clob's transaction has been committed or rolled back.To get blob I did
    Blob cThumnb = ((Allegato) cAllegati.get(i)).getThumb();
    byte[] cPrev = toByteArray(cThumnb);where
    private byte[] toByteArray(Blob fromBlob) {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try {
                return toByteArrayImpl(fromBlob, baos);
            catch (SQLException e)
                throw new RuntimeException(e);
            catch (IOException e)
                throw new RuntimeException(e);
            finally
                if (baos != null)
                    try
                        baos.close();
                    catch (IOException ex)
        private byte[] toByteArrayImpl(Blob fromBlob, ByteArrayOutputStream baos)  throws SQLException, IOException
            byte[] buf = new byte[4000];
            InputStream is = fromBlob.getBinaryStream();
            try
                for (;;)
                    int dataSize = is.read(buf);
                    if (dataSize == -1)     break;
                    baos.write(buf, 0, dataSize);
            catch(IOException ex)
                    throw ex;
           finally
                if (is != null)
                    try
                        is.close();
                    catch (IOException ex)
                    return  buf;// baos.toByteArray();
        }Could you help me?
    I set also autocommit to false,
    Thanks,
    Regards

    EJP wrote:
    So could you cite some references that show, in general, that one normally needs to process blobs as streams?The design. The name, which is an acroynm for Binary Large Object. The fact that they have a stream interface, like files and sockets.The idiom for loading does not require nor even recommend that one must process as a stream.
    And most of the time I do not process files nor sockets via streaming methodologies. I load them entirely, then process them.
    Actually for direct socket usage, excluding protocols like FTP, I don't believe I have ever streamed processing because in message based protocols the messages are very small.
    Presumably because the OP has one reference to 'thumb' as in thumbnail view?From the OP's first post: 'I stored a image into blob field'.I see. I have stored images in databases before. Excluding storage of medical media files they were all processed in memory because all were rather small.
    Certainly cases where one does in fact want to read an entire file into memory, before one starts processing it.Can't think of any, but in any case if you are able to process it as a stream you are wasting both time and space by not doing so.If I have any data that is in fact "large" I will keep that in mind. But, for example, I can't see processing a configuration file that consists of a couple hundred bytes via stream processing just because files allow for the possibility that one can process a large file.

  • 3702i only getting 10MB/s transfer speed

    I am in the process of configuring a 3702i access point, but I am running into an issue where I cannot get over 10MB/s. I have the access point plugged into a gigabit port and have a power adapter plugged into the 3702i since I do not have a POE+ capable switch. I only get around 5MB/s on 2.4GHz radio and 10MB/s on the 5GHz radio which is not any faster than our old aironet 1100 AP. I have tried messing with the data rates but it does not make a difference. The properties on my wireless card show that the connection speed is 217Mbps.
    Below is the switchport settings and I attached my configuration file if that helps at all.
    4506-2#show run interface gi6/48
    Building configuration...
    Current configuration : 213 bytes
    interface GigabitEthernet6/48
     switchport access vlan 95
     switchport trunk encapsulation dot1q
     switchport trunk native vlan 95
     switchport trunk allowed vlan 94,95
     switchport mode trunk
     no cdp enable
    end

    After changing the channel width to 80MHz I get an average of 17MB/s transfer speed and it shows that my connection speed is 405Mbps which should give me around 50MB/s.
    Wired I get an average of 100MB/s-112MB/s for my transfer speed
    Before Changing to 80MHz
    c3702-1#show dot11 associations all-client
    Address           : 0024.xxxx.xxxx     Name             : c3702-1
    IP Address        : 192.168.95.91      IPv6 Address        : ::
    Gateway Address   : 0.0.0.0
    Netmask Address   : 0.0.0.0            Interface        : Dot11Radio 1
    Bridge-group        : 1
    reap_flags_1        : 0x0     ip_learn_type       : 0x0       transient_static_ip : 0x0
    Device            : ccx-client         Software Version : NONE
    CCX Version       : 4                  Client MFP       : Off
    State             : EAP-Assoc          Parent           : self
    SSID              : vlan95n
    VLAN              : 95
    Hops to Infra     : 1                  Association Id   : 1
    Clients Associated: 0                  Repeaters associated: 0
    Tunnel Address    : 0.0.0.0
    Key Mgmt type     : WPAv2              Encryption       : AES-CCMP
    Current Rate      : m23-               Capability       : WMM 11h
    Supported Rates   : 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 m0-2 m1-2 m2-2 m3-2 m4-2 m5-2 m6-2 m7-2 m8-2 m9-2 m10-2 m11-2 m12-2 m13-2 m14-2 m15-2 m16-2 m17-2 m18-2 m19-2 m20-2 m21-2 m22-2 m23-2
    Voice Rates       : disabled           Bandwidth        : 20 MHz
    Signal Strength   : -62  dBm           Connected for    : 302 seconds
    Signal to Noise   : 35  dB            Activity Timeout : 20 seconds
    Power-save        : Off                Last Activity    : 0 seconds ago
    Apsd DE AC(s)     : NONE
    Packets Input     : 34487              Packets Output   : 51847
    Bytes Input       : 2250174            Bytes Output     : 76757696
    Duplicates Rcvd   : 1                  Data Retries     : 36241
    Decrypt Failed    : 0                  RTS Retries      : 0
    MIC Failed        : 0                  MIC Missing      : 0
    Packets Redirected: 0                  Redirect Filtered: 0
    IP source guard failed : 0             PPPoE passthrough failed : 0
    DAI failed : IP mismatch  : 0             src MAC mismatch : 0             target MAC mismatch : 0
    Existing IP failed :  0              New IP failed :  0
    11w Status       : Off
    Session timeout   : 0 seconds
    Reauthenticate in : never
    After Changing to 80MHz
    c3702-1#show dot11 associations all-client
    Address           : 0024.xxxx.xxxx    Name             : c3702-1
    IP Address        : 192.168.95.91      IPv6 Address        : ::
    Gateway Address   : 0.0.0.0
    Netmask Address   : 0.0.0.0            Interface        : Dot11Radio 1
    Bridge-group        : 1
    reap_flags_1        : 0x0     ip_learn_type       : 0x0       transient_static_ip : 0x0
    Device            : ccx-client         Software Version : NONE
    CCX Version       : 4                  Client MFP       : Off
    State             : EAP-Assoc          Parent           : self
    SSID              : vlan95n
    VLAN              : 95
    Hops to Infra     : 1                  Association Id   : 1
    Clients Associated: 0                  Repeaters associated: 0
    Tunnel Address    : 0.0.0.0
    Key Mgmt type     : WPAv2              Encryption       : AES-CCMP
    Current Rate      : m23b               Capability       : WMM 11h
    Supported Rates   : 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 m0-2 m1-2 m2-2 m3-2 m4-2 m5-2 m6-2 m7-2 m8-2 m9-2 m10-2 m11-2 m12-2 m13-2 m14-2 m15-2 m16-2 m17-2 m18-2 m19-2 m20-2 m21-2 m22-2 m23-2
    Voice Rates       : disabled           Bandwidth        : 40 MHz
    Signal Strength   : -67  dBm           Connected for    : 259 seconds
    Signal to Noise   : 27  dB            Activity Timeout : 15 seconds
    Power-save        : Off                Last Activity    : 5 seconds ago
    Apsd DE AC(s)     : NONE
    Packets Input     : 77863              Packets Output   : 147266
    Bytes Input       : 4979788            Bytes Output     : 221483209
    Duplicates Rcvd   : 1                  Data Retries     : 46004
    Decrypt Failed    : 0                  RTS Retries      : 0
    MIC Failed        : 0                  MIC Missing      : 0
    Packets Redirected: 0                  Redirect Filtered: 0
    IP source guard failed : 0             PPPoE passthrough failed : 0
    DAI failed : IP mismatch  : 0             src MAC mismatch : 0             target MAC mismatch : 0
    Existing IP failed :  0              New IP failed :  0
    11w Status       : Off
    Session timeout   : 0 seconds
    Reauthenticate in : never

  • $49.99 3.1 to 7 Mbps only get 1mbps

    why? 
    Is  a router problem?
     only get 1028 kbps????
    Gateway Status
    GO!Your Gateway is Ready for Internet Access
      Broadband Connection
    Internet Status:
    Connected
    DSL Link:
    Connected
    Speed(Down/Up)
    1280 Kbps / 640 Kbps
    Connection Type:
    PPPoE
    Username:
    newdsl
    IP Address:
    72.68.185.124
    Connection Summary
    Solved!
    Go to Solution.

    Step one: Visit http://www.giganews.com/line_info.html and post up the Traceroute the page shows, if you wish. Be aware that your non-bogan public IP Address will show up.  It might shown up as the final hop (bottom-most line of the trace)  might contain a hop with your IP address in it. Either remove that line or show only the first two octets. What I'm looking for is a line that mentions "ERX" in it's name towards the end. If for some reason the trace does not complete (two lines full of Stars), keep the trace route intact.
    For example this what I saw when I was using Verizon
        news.giganews.com
        traceroute to 71.242.*.* (71.242.*.*), 30 hops max, 60 byte packets
        1 gw1-g-vlan201.dca.giganews.com (216.196.98.4) 13 ms 13 ms 13 ms
        2 ash-bb1-link.telia.net (213.248.70.241) 39 ms 7 ms 7 ms
        3 TenGigE0-2-0-0.GW1.IAD8.ALTER.NET (63.125.125.41) 4 ms 4 ms GigabitEthernet2-0-0.GW8.IAD8.ALTER.NET (63.65.76.189) 4 ms
        4 so-7-1-0-0.PHIL-CORE-RTR1.verizon-gni.net (130.81.20.137) 6 ms 6 ms 6 ms
        5 P3-0-0.PHIL-DSL-RTR11.verizon-gni.net (130.81.13.170) 6 ms 6 ms 6 ms
        6 static-71-242-*-*.phlapa.east.verizon.net (71.242.*.*) 32 ms 32 ms 33 ms
    Step two: Can you provide the Transceiver Statistics from your modem?
    Visit http://192.168.1.1/ for us and do the following:
    a) If you see a Blue and White Westell page, mouse over Troubleshooting, go to DSL, and choose Transceiver Statistics. Copy and paste the information on that page.
    b) If using the Red and Black Firmware: Go to System Monitoring > Advanced Monitors > Transceiver Statistics. Copy and paste the information on that page.
    c) Try visiting http://192.168.1.1/transtat.htm which is a direct link to the Stats on older modems.
    d) If you need a Username and Password, try the following:
    admin/password
    admin/password1
    admin/admin
    admin/admin1
    admin/Serial Number
    By Serial Number, I don't mean type in the words Serial Number. I mean find and type in the serial number found on the bottom of this router.
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • RV042 - I have customer who upgraded to 20 meg cable internet service and can only get 10 meg thru the router.

    RV042 - I have customer who upgraded to 20 meg cable internet service and can only get 10 meg thru the router. The customer had upgrade to a 20 meg cable internet service from a 10 meg service.   The customer is only able to get the 20 meg service going from cable modem to PC.  If he goes thru the RV042 router, he is only getting up to 10.7 down and 1.37 up.  Additional steps taken….He had a Linksys SRW224P switch connected to the RV042 router and we had disconnected this switch for testing purposes.   We performed the speed test again and we get the same speed results so we know the switch is not the issue.He had upgraded to firmware version 1.3.12.19 – TM Feb 13, 2009 – tested speed and no change.We accessed the web management interface and tried several modifications.   This includes the following…..-       We disabled the firewall – no change-       We disabled SPI with is the Stateful Packet Inspection (I was thinking this one would do it) – no change in speed.-       We disabled DoS (Deny of Service) – no change.-       We set MTU to Manual and tested various byte increments based on MTU ping testing. – Once again, no change in speed.  He is NOT using Load balancing on the routerHe has NO access rules but does have a few port forwards. Finally, with each change, he is saving the changes on the router. 

    You are expecting 20MB throughput on a $150 router?  Well, ok, maybe.. Can you check on your router or switch if the port is set or auto negotiated to 10 or 100?  That could explain 10MB limit (although technically a 10Mb port is considered 20Mb theoretical max throughput as 100Mb port is considered 200Mb per Cisco).  So maybe you ended up with 10/half somehow?  MTU 1500 would also be good for that connection I think and to try to get max throughput. 

  • How can I tell if my phone is only getting a quick charge if it reads charged 100%?

    iPhone 5c battery is not holding charge for more than 3-4 hours.  It has gone completely dead twice in one day because of it.  Battery says 100% at start.  Apple Genius Bar help said that I'm only getting a soft charge or a partial charge and that is why the battery runs down so quickly.  They recommended replacing my power cords.  Problem is, I have charged it on 3 different cords and it doesn't seem to matter. 
    Took it to Apple store- they wiped it, let it die completely, recharged it to 100% overnight and still had trouble.  Took it back, reloaded everything, phone died, let it charge overnight to 100% and today the battery is down to 40% after about 2 hours. 

    No problem.
    If you took it to the Apple store and they troubleshoot it for you and you still have issues.
    Better to get another phone.

  • How do I only get certain questions appear in the quiz results?

    I have created a course through Captivate 6, throughout the course there are questions to guage the learners attention. There is also a quiz at the end. However, captivate includes on the questions throughout the course on the quiz results which I do not want to happen.
    Can anyone advise how I can only get certain questions appear on the quiz results please?

    Branch aware turns off the playbar in 6 (not in 7 any more, at least not for me).
    Could you explain more in detail what you want, because I don't understand it. You want the user to answer all questions, but the score should only show what? If you don't want some questions to have a score added to the Quiz total, you can indicate that in the Properties of that Question slide.
    And please, tell the exact number (3 versions of 6), and also if you have to report to a LMS?
    Lilybiri

  • After moving to iCloud I can only get my email through the cloud, no new emails are making it to my home computer. Does anyone have any advice on how to fix this issue?

    After moving to iCloud I can only get my email through the cloud, no new emails are making it to my home computer and .mac account. Does anyone have any advice on how to fix this issue?

    Welcome to the Apple Community.
    Which OS are you using.

  • How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something"sign... it just doesn't start the system....

    How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something" sign... it just doesn't start the system....
    Please help
    Marcelo

    If there is no loading bar, it's usually a problem with a third party kext file in OS X itself.
    You can press the power button down to force a hardware shutdown, then reboot holding the shift key down on a wired or built in keyboard, this will disable them and you go around and update your third party software.
    Gray, Blue or White screen at boot, w/spinner/progress bar
    Also take this time to backup your users files off the machine if possible.
    Most commonly used backup methods
    Sometime that won't work and you need to do more
    ..Step by Step to fix your Mac

  • I only get a blank page when trying to print a web page

    I have looked up how to print a web page and did exactly as shown on the screen (I did select my printer) but when I want to print a Web page I only get a blank page. I also cannot save as PDF in the Print Dialog Box because I get a blank page there too.
    I have tried to disable all my add-ons and extensions and re-enabling them one by one and it did not change anything.
    Although I did not specifically notice the exact date, I feel this has been happening since I have upgraded to Mac OS 10.6.4

    Wow! After several different attempts to solve my printing problems , the one that worked was the suggestion that I hit "Reset Firefox" button on the Troubleshooting Information page. Once I did that and got back in I was able to print pages correctly. Thank you for all your help and patience.
    -Eric

  • I downloaded a movie from itunes on my ipad.  In the downloaded area where the movie should be, I only get a link to "iItunes Terms and Conditions", no movie.  There is nowhere to accept the terms and conditions.

    I downloaded a movie from itunes on my ipad. In the downloaded area where the movie should be, I only get a link to "iItunes Terms and Conditions", no movie. There is nowhere to accept the terms and condotions.

    Nevermind, the movie was there in the Videos app, not itunes downloads.  Thanks.

  • Could you please tell me why as a Brit resident in Japan therefore having a billing address that is Japanese is forced to only get service from the Japanese online store? Is there not some way of allowing me to select movies and music to buy and download

    Could you please tell me why as a Brit resident in Japan therefore having a billing address that is Japanese is forced to only get service from the Japanese online store? Is there not some way of allowing me to select movies and music to buy and download from other stores. Why do am i forced to try to nread Japanese when I have selected English as my language. The price for Downloads is no different and even if it was I am happy to pay. This also applies to Movie rental which is crazy and extremely restrictive. I a supposed GLOBAL community why does Apple do this.

    You can buy ONLY from the itunes store of your country of residence (As proven by valid billing address of credit card) and ONLY while inside the borders of that country.
    These are the terms of the itunes store.

  • Problem with 5.1 sound, only getting stereo [Geforce GT 610]

    Hi, this is going to be a bit long, but bear with me.
    HARDWARE
    HTPC:
    - Corsair VX 450W, PSU
    - Gigabyte GA-EG45M-DS2H, motherboard
    - Intel Core 2 Duo E8400, CPU
    - Kingston HyperX DDR2-800 4 GB (2×2048), RAM
    & - Asus Geforce GT 610 (installed today)
    SOUND SYSTEM:
    - Samsung HT-TXQ120
    HISTORY
    I have an old HTPC build I want to use again (been in storage for a year while living away). It was previously running Ubuntu, and was connected to my (also old) Samsung HT-TXQ120. The audio connected to the HT-TXQ120 via SP/DIFF and HDMI directly to my HDTV. Back when I first configured this the intel drivers were buggy with both audio and video on HDMI at the same time therefor the SP/DIFF. This setup worked fine for years.
    Fast forward to today, and I want to get the HDMI audio/video working.
    - The intel g45 sort of works, but the audio drops a few seconds every 2 minutes. I have not managed to get this working.
    - I was a bit fed up, so I researched for recommended video/audio card for HTPC and saw that Asus Geforce GT 610 was recommended and cheap. I bought that, and installed it. Uninstalled all intel drivers, and installed nvidia ones. So far so good.
    PROBLEM
    The new card will not output 5.1 sound to my HT-TXQ120. 5.1 surround output shows up in the sound preferences, but when I test it I only get sound on my front left and front right channel. The rest is silent. I have tried with speakertest, test in audio settings, VLC, mplayer, XBMC and Plex.
    Any help to get for this issue? Is the only solution to go back to using HDMI for video only, and sound through SP/DIFF?
    COMMAND OUTPUTS:
    (I'm not sure of all the commands, but I've seen other users been asked for them when I tried googling for a solution)
    # uname -a
    Linux MediaBox 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64 GNU/Linux
    # aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    # aplay -L
    null
    Discard all samples (playback) or generate zero samples (capture)
    pulse
    PulseAudio Sound Server
    default
    Default ALSA Output (currently PulseAudio Sound Server)
    sysdefault:CARD=Intel
    HDA Intel, ALC889A Analog
    Default Audio Device
    front:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    Front speakers
    surround40:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    iec958:CARD=Intel,DEV=0
    HDA Intel, ALC889A Digital
    IEC958 (S/PDIF) Digital Audio Output
    hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
    hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
    # fuser -fv /dev/snd/*
    USER PID ACCESS COMMAND
    /dev/snd/controlC0: mb 476 F.... pulseaudio
    /dev/snd/controlC1: mb 476 F.... pulseaudio
    # lsmod | grep '^snd' | column -t
    snd_hda_codec_hdmi 30162 1
    snd_hda_codec_realtek 41295 1
    snd_hda_intel 37000 4
    snd_hda_codec 150305 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
    snd_hwdep 6340 1 snd_hda_codec
    snd_pcm 77645 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
    snd_page_alloc 7210 2 snd_pcm,snd_hda_intel
    snd_timer 18726 1 snd_pcm
    snd 59109 15 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
    Thank you, and please ask if I need to provide any other details.
    Last edited by nle (2014-02-15 21:12:50)

    Two things to check:
    1) Open the "Sounds and Audio Devices" control panel. On the Volume tab, click the "Advanced" button. Is the speaker setup "5.1.."?
    2) Open the quicktime control panel. On the "Audio" tab, check that the Channels is 5.1.
    If you changed either of the above settings, restart the application you're testing with and try again.
    If that doesn't work, try checking the "safe mode (waveout only)" box in the Quicktime control panel (audio tab). Again, restart the application and try again.
    Hope that helps,
    Rob

  • I am trying to connect my Macbook pro 2010 to my Samsung HDTV using a mini display port to hdtv cable. Trying to play a slide show in IPhoto but I only get sound with no picture. Does anyone have any suggestions?

    I am trying to connect my Macbook pro 2010 to my Samsung HDTV using a mini display port to hdtv cable. Trying to play a slide show in IPhoto but I only get sound with no picture. Does anyone have any suggestions?

    I keep saying this over and over, in the hope that people who do a search will find it.  Apple cannot possibly test for or be reponsible for the bazillion combinations of adapter, cables, and TV's out there.  The only monitors that are 100% guaranteed to work with the MacBook Pro are the Cinema Displays and Thunderbolt Displays, because, they're made by Apple.  They're expensive, but they work perfectly.
    My guess is that you bought a cheap MDP to HDMI cable, or have a defective one.  From my reading of these boards over the past few months, cheap cables have a high failure rate.  And the regular priced ones have only a slightly less of one.  Try a new one.  Make sure you do not damage the Thunderbolt port.

  • When I try to right click "Save As" on photos in my yahoo email, I only get the option of saving as a secure download firefox document. How can I save the photo as it is intended (jpeg, png) ?

    If someone includes a photo in the email body message (I use yahoo), if I right click on the image to save it to my computer, I only get the option to save it as a firefox document - secure download. If I save it as such and then click on the link, it takes me to a page full of weird code.
    Please advise. I would like to be able to right click on the photo as save the image to my computer.

    If Firefox doesn't saves the image with a valid image file extension like .jpg or .png then you need to add that file extensions yourself. You can rename already saved images and change the file extension to get working images. Add quotes around the name while renaming ("image.jpg") if Windows hides the current file extension or refuses to change the name (i.e you get image.jpg.html).
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

Maybe you are looking for

  • Where are the Windows Drivers?

    Hi, When I run Bootcamp 2.0 And try to partition the drive for Vista bootcamps says..."After you have installed and set up windows, insert your Mac OS X Leopard install disc to install additional drivers and other software for windows." So I went loo

  • Retractor for Statistical Key Figures Not Sending Values

    I have configured the standard retractor for primary costs and stat key figures based on all the documentation.  Primary costs retract perfectly.  Stat Key Figures do not send over the values. I have configured UPBR_RETRACT with UPB_RET_STKEYFIG.  In

  • CLASSPATH and extensions

    I have an executable JAR file that uses the CommAPI - which is installed properly - i.e. when I run the program in non-jar form it works fine: C:> java ISC_Knox/ISC_KnoxApplicationHowever when I run it in jar form I get an class-not-found exception C

  • The CSadmin service could not be started.

    I am Upgrading from 3.3 to 4.2... When I upgrade from 3.3.4 to 4.1, 4.1 is not working. No error during the install, but when I try to start csadmin (net start csadmin) I have this error "The CSadmin service could not be started. error 3523" I tried

  • IWeb Quits

    Hi does anyone know how to stop iWeb from quitting when I try and publish. I publish to Macmate, and have had no problems thus far. Had no joy from Apple support who just say they don't do iWeb anymore ( A MASSIVE MISTAKE in my opinion) Can anyone he