Errors decoding Menus

I made a movie in IMOVIE that is about 90min long. It has about 6 chapters and I exported it to media browser and then uploaded it into IDVD and attempted to burn it to a DVD. After about 10 min. I get an error message stating that the burning was stopped due to errors in encoding the chapters and menus.
Two Questions 1.) Why does this continue to happen?? 2.)I'm just trying to burn a DVD that will play in a DVD player. Any advice on how to do that?? (I've burned this movie already by exporting it to quicktime and burning a DVD, but it only plays in computers and DVD players don't recognize the CD)
Thanks for any advice/Help

90 min may be too long for a DVD if you do not have the settings right.
Also if you are low on disc space on your Hard Drive iDVD will fail.
You need at least 25GB free on your Hard Drive.
In iDVD go to the Project Menu and select Project Info...
You can see if you have a project that is too big for a DVD.
You can change the settings here, try changing the Encoding option, as it affects the time that can be held on a DVD.

Similar Messages

  • Exception: Error decoding message (Key cannot be null)

    Hi guys,
         Coherence 3.3.1/389
         .Net API 3.3.1.2
         I've wrote small invocation task, which collects the info about cluster members, stores it to HashMap and return it as result. This is the code:
         NamedCache cache = CacheFactory.getCache(sCacheName);
         CacheService service = cache.getCacheService();
         Cluster cluster = service.getCluster();
         HashMap res = new HashMap();
         Set members = cluster.getMemberSet();
         Iterator iter = members.iterator();
         while(iter.hasNext())
         Member member = (Member)iter.next();
         res.put((Object)member.getProcessName(), new Integer(member.getPort()));
         As you can see if member.getProcessName() returns null, then null is placed to HashMap.
         When the result was returned to the client, I've got this exception:
         2007-10-04 09:55:45.849 <Error> (thread=Tangosol.Net.Messaging.Impl.ConnectionManager+ConnectionManagerDaemon): Error decoding message
         System.ArgumentNullException: Key cannot be null.
         Parameter name: key
         at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
         at System.Collections.Hashtable.set_Item(Object key, Object value)
         at Tangosol.IO.Pof.PofStreamReader.ReadAsObject(Int32 typeId) in c:\dev\release.net\coherence-net-v3.3\src\Coherence\IO\Pof\PofStreamReader.cs:line 3446
         at Tangosol.IO.Pof.PofStreamReader.ReadObject(Int32 index) in c:\dev\release.net\coherence-net-v3.3\src\Coherence\IO\Pof\PofStreamReader.cs:line 2284
         at Tangosol.Net.Messaging.Impl.Response.ReadExternal(IPofReader reader) in c:\dev\release.net\coherence-net-v3.3\src\Coherence\Net\Messaging\Impl\Response.cs:line 117
         at Tangosol.Net.Messaging.Impl.Codec.Decode(IChannel channel, DataReader reader) in c:\dev\release.net\coherence-net-v3.3\src\Coherence\Net\Messaging\Impl\Codec.cs:line 118
         at Tangosol.Net.Messaging.Impl.Connection.DecodeMessage(DataReader reader) in c:\dev\release.net\coherence-net-v3.3\src\Coherence\Net\Messaging\Impl\Connection.cs:line 874
         I understood why it was happened, but I did not understood why it was masked and my client application was frozen until request time accured (180s).
         Why did you mask it?
         Regards,
         Dmitry.

    Hi
    Thanks for answered.
    I tried to import just 6 lines but the same error.
    Did you know, what could be?
    I am pasting the log.
    TOTAL STEPS  2
    1. Convert Data:         completed  in 1 sec.
    2. Load and Process:     Failed  in 1 sec.
    3. Import:               completed  in 1 sec.
    [Selection]
    FILE=\GrupoPit\FRATECO\DataManager\DataFiles
    41010100001.csv
    TRANSFORMATION=\GrupoPit\FRATECO\DataManager\TransformationFiles
    Frateco.xls
    CLEARDATA= Yes
    RUNLOGIC= Yes
    CHECKLCK= No
    [Messages]
    Convert Data
    Success
    Record Count : 6
    Accept Count : 6
    Reject Count : 0
    Skip Count   : 0
    Key cannot be null.
    Parameter name: key

  • Archive url access throws error "SSF error: Decoding not possible"

    Hi
    We are using function module HRWPC_RFC_EP_READ_PHOTO_URI to pull the photo of an employee in ESS.
    When we paste the url in browser we get following error
    SSF error: Decoding not possible
    Can anyone help to resolve this.
    regards
    barin

    Barin,
    check these links
           1060613       SSF error, Decoding not possible       
         983550      SSF-Error occurs when viewing attachments of a solution
    https://forums.sdn.sap.com/click.jspa?searchID=17894100&messageID=5942357
    https://forums.sdn.sap.com/click.jspa?searchID=17894100&messageID=6347898
    Thanks
    Bala Duvvuri

  • How can I eliminate (watch) in videos that read "ERROR: DECODE ERROR"?

    Usually when in a web site (like Fox News) & there's a video to watch I can't watch it due to the message "ERROR: DECODE ERROR". How can I eliminate this & watch the video? Thanks for your input.

    Have you tried to reinstall Flash on your system, uninstall from the control panel, then install from get.adobe.com/flashplayer/‎ and try the video again.
    Also see [[Flash 11.3 doesn't load video in Firefox]]

  • SSF error: Decoding not possible

    Hi all,
    I need to get the absolute URI from a DOC_ID (TOAHR table), to display an employee photo in the browser.
    I'm trying with the following FM:
    SCMS_AO_URL_READ
    ARCHIVELINK_URL_GENERATE
    but both returns me sy-subrc = 0, the same URL and the same error message:
    "SSF error: Decoding not possible"
    when I'm copying the returned URL in the browser...
    anybody could tell me what's the problem / error?
    Thanks!
    Miguel Angel.

    ok i've got it....
    i used cl_crm_documents=>get_with_url to geht the urls.
    the returning value is cutted in the gui after some chars. thats why copy and past didn't work for me.
    but variable conatains the complete url, althoug the complete url isnt shown on the gui.
    i tried something like this, and it worked:
    CALL FUNCTION 'CALL_BROWSER'
    EXPORTING
       URL                          =  lv_url
    EXCEPTIONS
       FRONTEND_NOT_SUPPORTED       = 1
       FRONTEND_ERROR               = 2
       PROG_NOT_FOUND               = 3
       NO_BATCH                     = 4
       UNSPECIFIED_ERROR            = 5
       OTHERS                       = 6

  • Unexpected error decoding JSF component: {0} in SAP BO 4.0 sp2

    Hi,
       Am getting the above mentioned error repeatidly. I tried clearing the tomcat cache folder and restarted the tomcat but that couldnt help me to resolve the issue, Help me to resolve the issue.

    Hi Abhi,
    Please refer the below KBA regarding your issue
    1710454 - Unexpected error decoding JSF component BI 4.0
    https://service.sap.com/sap/support/notes/1710454
    Thanks,
    Daya

  • JavaScript error in menus.xml

    I'm working with DW 8, and some template files created in DW
    MX2004.Has anyone experienced the following error when closing old
    template files?
    While executing DWMenu_File_Close command in menus.xml, the
    following JavaScript error(s) occurred:
    Exception thrown in native function.
    I've gotten a similar error before, but it had to do with
    imbedding library items inside template pages. But, all of those
    had been created in DW MX2004. Any ideas?

    You can find anything you want on these forums or on the
    internet. The
    question is - is it credible. This one is not.
    What extensions do you have installed?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "safetypin" <[email protected]> wrote in
    message
    news:[email protected]...
    >I was looking around the forum a little, and I found
    someone talking about
    >how
    > it was related to the fact that there was javascript on
    the page. I opened
    > each
    > template file, removed the link to the javascript
    (nothing was embedded),
    > saved
    > it (it crashed), reopened dreamweaver and then when I
    opened the file, it
    > didn't crash anymore. So, I added the link to the
    javascript file back in
    > there, and it looks like everything is ok now. But, in
    case it happens
    > again,
    > this are the files that are giving me trouble:
    >
    >
    http://digitalevent.net/Templates/index.dwt
    >
    http://digitalevent.net/Templates/index2.dwt
    >
    http://digitalevent.net/Templates/index3.dwt
    >
    > &
    >
    >
    http://digitalevent.net/index.htm
    >
    http://digitalevent.net/index2.htm
    >
    http://digitalevent.net/index3.htm
    >
    > Those were the only three html files I tested for the
    error. The weird
    > thing
    > was, sometimes there was a noticable delay between
    closing a file and the
    > exception being thrown. Sometimes I was actually able to
    open two or three
    > files (I click pretty fast sometimes) before the
    exception would be
    > thrown. I
    > think this is why I thought I had discovered the problem
    before. I also
    > tried
    > to detaching the html files from the templates, but that
    didn't help.
    >
    > This is the second time I've run into the exception
    being thrown while
    > executing DWMenu_File_Close command in menus.xml. The
    first time, as I
    > mentioned before, it was related to Library items being
    embedded in a
    > template
    > (I think). I removed the Library item and it worked
    fine. Eventually I
    > think I
    > solved it by recreating the Library items entirely, by
    copying and pasting
    > each
    > line from a text file. Really strange, but I think the
    common element is
    > that
    > it has happened while dealing with a
    site/template/library item created in
    > DW
    > MX2004. Are there any known conflicts, or anything I can
    do to avoid this
    > in
    > the future?
    >

  • Complie Error for menus (Swing)

    I'm receiving the following complie error. Also, listed is the area for code that is getting the error.
    Thank you for any help that you can provide.
    Error Message:
    P5AWT should be declared abstract; it does not define menuSelected(javax.swing.event.MenuEvent) in P5AWT
    public class P5AWT extends JFrame
    Program:
    public class P5AWT extends JFrame
         implements ActionListener, MenuListener
    private JTextField inputfile;
    private JTextField outputfile;
    private JTextArea ta;
    private JMenuItem newMT, openMT, saveAsMT, exitMT;
    String curFile, filename = "";
    int numstaff;
    Employee[] staff;
    public P5AWT()
    super ("P5AWT Starter Program");
    addWindowListener(new WindowAdapter()
    { public void windowClosing(WindowEvent e) { System.exit(0); }} );
    JMenuBar mb = new JMenuBar ();
    setMenuBar(mb);
    JMenu fileMenu = new JMenu ("File");
    mb.add(fileMenu);
    fileMenu.add (newMT = new JMenuItem ("New", new MenuShortcut(KeyEvent.VK_N)));
    newMT.addMenuListener( new NewCommand());
    fileMenu.add (openMT = new JMenuItem ("Open", new MenuShortcut(KeyEvent.VK_O)));
    openMT.addMenuListener( new LoadFileCommand());
    fileMenu.add (saveAsMT = new JMenuItem ("Save As"));
    saveAsMT.addMenuListener( new SaveAsFileCommand());
    fileMenu.add (exitMT = new JMenuItem ("Exit"));
    exitMT.addMenuListener( new CloseCommand());
    JPanel p3 = new JPanel();
    p3.setLayout(new FlowLayout(FlowLayout.CENTER));
    ta = new JTextArea(20, 60);
    p3.add(ta);
    setLayout(new FlowLayout(FlowLayout.CENTER)); // this overides everything, why?
    add(p3);
    }

    menuSelected is a Abstract method. That means if you implement the MenuListener Class you SHOULD define the menuSelected() event.
    I am not correct with the Method names but logically it seems that tis is the problem.
    Another thing, use setJMenuBar() instead setMenuBar()
    Regards ,
    Karan

  • Adding an animation causes an error in menus

    All - any help would be appreciated.
    The minute I add an animation from the library, such as a
    flashing arrow, all of my drop-down menus in Captivate are
    unusable. Example: I add an arrow animation, then go to "File", the
    drop-down menu flashes then goes away, not allowing me to select
    anything under it. It happens anywhere there is a drop-down. If I
    right-click, the drop-down appears then flashes away. I can click
    the Save button to save it, then I have to re-open the project and
    the menus work fine....until I add another animation.
    THoughts??
    Thanks...
    Erika

    Just found a similar thread on the Import section of this
    forum
    If you click on an item in the library, Captivate seems to go
    back to 'normal' and you can click on the pulldowns

  • TCF_UNSUPPORTED-PROTOCOL error in Menus View Tree

    Hi Gurus,
    Need help on the issue. We just migrated Application node from HP to Solaris with 11.5.10.2 and 10.2.0.4 database.
    When we go into the Menu screen and click view tree or upper right corner, i got the error TCF_UNSUPPORTED-PROTOCOL.
    Any suggetion on this issue appreciated.
    Thank You.

    When we go into the Menu screen and click view tree or upper right corner, i got the error TCF_UNSUPPORTED-PROTOCOLPlease see these docs.
    TCF is not Working. View Tree Functionality is Hanging. [ID 827323.1]
    View Tree Button Not Working [ID 787290.1]
    Also, make sure you have valid entries in FND_NODES table -- Steps To Clean Nonexistent Nodes or IP Addresses From FND_NODES [ID 260887.1]
    If none of the above helps, please see these docs.
    Troubleshooting TCF With Oracle Applications 11i [ID 145646.1]
    Unable to Establish a Network Connection with TCF SocketServer [ID 134300.1]
    Connection to the TCF SocketServer is lost on multi-tier environment [ID 387295.1]
    Thanks,
    Hussein

  • Errors decoding videos from other sessions

    Hi
    i am studying in a film school over in france, adobe suite 5.5 in french, no plug ins as is, on Lion 10.7 running on a iMac i5 4 GB ram, 2TB HD,
    Now where iam staying i use a iMac i7 2.93 ghz from 2010 with 12GB ram and a 2TB drive but runing on 10.6.8 osx, problem is i cqn not open the sessions from school, i get all these erro like the videos could not be decompressed.
    or no sequence errors like this
    no offense to anyone french but i tried asking the school and they had no clue, it seems they teach directly out of a Lynda.com tutorial and the class mates dont want to hear anything i have to offer unless i explain it in french, to give you an example, the price of the school could pay for a trip to the US, rent, food for 3 months, a english course, the Lynda.com Premiere DVD, a Canon 5Dmkii along aith a nice L lense but i guess its more important to them not to learn english., sorry if i sound like im ranting, this is been going on for a week now.

    Make sure you have the latest updates.
    Mac is on 5.5.2
    http://www.adobe.com/support/downloads/product.jsp?product=98&platform=Macintosh
    Im on windows but here is a screenshot of my new sequence options.  Make sure you have the same.  Im not sure if Mac is different.
    If presets are missing then that would explain the missing codecs.
    GLenn

  • XML to Forms conversion gives error for menus

    We are trying the ORACLE <---> XML conversion Utility.
    We want to convert a MMB to XML and store it in our repository. When we want to modify it we get the XML from the repository, convert it back to a MMB and edit it. This saves space in the repository DB.
    Problem when we convert or MMB --> XML using like this frmf2xml.bat OVERWRITE=YES TRANS_MENU.mmb
    the XML file is created.
    Now when we try to convert the XML back to a MMB using this code frmxml2f OVERWRITE=YES PRINTTREE=YES USERID=userid/pwd@db TRANS_MENU_mmb.xml we get this error:
    Oracle Forms 10.1.2 XML to Forms Tool
    Copyright(c) 2001, 2005, Oracle. All rights reserved.
    file:/F:/Channa/XML_Forms_Conversion/I/TRANS_MENU_mmb.xml<Line 164, Column 73>: XML-24523: (Error) Invalid value ' INTERNATIONAL_OUT_GOING_CALL_D_MENU ' for attribute: 'Name'
    file:/F:/Channa/XML_Forms_Conversion/I/TRANS_MENU_mmb.xml<Line 773, Column 73>: XML-24523: (Error) Invalid value 'BILLING_PROCESS_MASTER_FILE_UP_MENU' for attribute: 'Name'
    file:/F:/Channa/XML_Forms_Conversion/I/TRANS_MENU_mmb.xml<Line 823, Column 69>: XML-24523: (Error) Invalid value 'BANK_PAYMENT_AUDIT_REPORTS_MENU' for attribute: 'Name'
    file:/F:/Channa/XML_Forms_Conversion/I/TRANS_MENU_mmb.xml<Line 864, Column 73>: XML-24523: (Error) Invalid value 'INFO_CONNECT_ACCOUNTING_INTERF_MENU' for attribute: 'Name'
    file:/F:/Channa/XML_Forms_Conversion/I/TRANS_MENU_mmb.xml<Line 887, Column 73>: XML-24523: (Error) Invalid value 'DEALER_SOLD_SUBSCRIPTION_TRANS_MENU' for attribute: 'Name'
    file:/F:/Channa/XML_Forms_Conversion/I/TRANS_MENU_mmb.xml<Line 917, Column 73>: XML-24523: (Error) Invalid value 'CHANNA_LEVEL_42444444444444444_MENU' for attribute: 'Name'
    Invalid XML - file TRANS_MENU_mmb.xml does not validate against Forms XML Schema:
    Invalid value 'INTERNATIONAL_OUT_GOING_CALL_D_MENU' for attribute: 'Name'
    I found the problem. For submenus the XML adds a _MENU to the end of the name attribute and when the name of the menu is over 26 chars 26+5 = 31 becomes more than 30 characters.  So when the XML is converted to the MMB we get an error because forms objects cannot have names of lengths > 30.
    I think this could be a bug. We cannot modify the menu just for this since it is not practical.
    Is this a known bug? Any workaround?
    Edited by: Channa on Mar 5, 2010 2:11 AM
    Edited by: Channa on Mar 5, 2010 2:12 AM
    Edited by: Channa on Mar 5, 2010 2:13 AM
    Edited by: Channa on Mar 5, 2010 2:13 AM
    Edited by: Channa on Mar 18, 2010 9:22 PM
    Edited by: Channa on Mar 18, 2010 9:25 PM

    Hi Amol,
    You XML structure contains deep levels. As far as i understand about the StrictXML2PlainBean module, this is not capable of handling deep structures.
    This module is just an alternative to use FCC type functionality for other receiver adapters.
    Please take a look at these links:
    https://help.sap.com/saphelp_nwpi711/helpdata/EN/44/748d595dab6fb5e10000000a155369/content.htm
    StrictXml2PlainBean - to have an XML - EDI conversion?
    In case you want to achieve nested level content conversion, you may try this:
    /people/karthiknarayan.kesavan2/blog/2007/08/22/file-content-conversion-for-multi-hierarchical-structure
    I hope this helps.
    Regards, Gaurav.

  • WLC Message Log NPU and decoding error

    Hi there
    does someone know what the following errors are (what is NBU?) and how we can avoid them:
    *Aug 18 13:47:56.434: %LWAPP-3-NPU_ERR: spam_44xx.c:177 Invalid NPU index 1344
    *Aug 18 13:47:56.160: %CAPWAP-3-DECODE_ERR: capwap_ac_sm.c:1488 Error decoding discovery request from AP xx:xx:xx:xx:xx:xx
    Thanks a lot and best regards
    Dominic

    Hi Dennis
    yes this is absolutly true. Now it's clear, I forgot that there is a protocol step from 5.0 to 5.2.
    Thanks a lot and best regards
    Dominic

  • Encfs filename decoding error (mounting works, mountpoint is empty)

    Hi!
    a fairly large (1.9 GB) encfs-encrypted directory of mine stopped working some time ago, and I am hoping someone here can help me regain access to the data.
    This is the situation:
    – The directory can still be mounted, but the mount directory appears empty.
    – The encrypted data seems to be intact: There is a ".encfs6.xml" and a hierarchy of gibberish-named files and folders, which amount to 1.9 GB altogether.
    – I can still write to the directory. (I. e. if I mount the dir, create file with "touch <file>", unmount, and remount again, the newly created file is still there.)
    – When I run encfs with the "-vf" options, I see these error messages:
    20:42:00 (DirNode.cpp:132) error decoding filename: be1k7L8fVkv63EsbHLLxoJtY
    20:42:00 (DirNode.cpp:132) error decoding filename: .encfs6.xml
    – When I do "ls" on the dir, the command works, while "encfs -vf" says:
    20:57:09 (encfs.cpp:92) getxattr /home/carlos/mnt/ssh/morrigan/home/carlos/gemein/encfs/eZAORCDpP7ZyvSscCPZLuUwI
    20:57:09 (encfs.cpp:99) getxattr error: Operation not supported
    The full output of "encfs -vf" is quoted below. You may notice the the encrypted data is accessed through an sshfs mount. This is not the present source of the problem, as I can reproduce it directly on the server. It may, however, be its origin: The data could have been corrupted by a network interruption (or so I imagine).
    There is a similar problem report on askubuntu. It is even from around the same time when it hit me (roughly two months ago):
    http://askubuntu.com/questions/360847/e … g-the-data
    Also, there apparently was a bug in the boost libraries in 2010 which produced similar errors (among others), but which does not seem to be connected in any way:
    https://bbs.archlinux.org/viewtopic.php?id=92209
    Any ideas?
    $ encfs -vf /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/ /home/carlos/.gemein/encfs/
    21:03:07 (main.cpp:523) Root directory: /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:03:07 (main.cpp:524) Fuse arguments: (fg) (threaded) (keyCheck) encfs /home/carlos/.gemein/encfs/ -f -s -o use_ino -o default_permissions
    21:03:07 (FileUtils.cpp:177) version = 20
    21:03:07 (FileUtils.cpp:181) found new serialization format
    21:03:07 (FileUtils.cpp:199) subVersion = 20100713
    21:03:07 (Interface.cpp:165) checking if ssl/aes(3:0:2) implements ssl/aes(3:0:0)
    21:03:07 (SSL_Cipher.cpp:370) allocated cipher ssl/aes, keySize 24, ivlength 16
    21:03:07 (Interface.cpp:165) checking if ssl/aes(3:0:2) implements ssl/aes(3:0:0)
    21:03:07 (SSL_Cipher.cpp:370) allocated cipher ssl/aes, keySize 24, ivlength 16
    21:03:07 (FileUtils.cpp:1620) useStdin: 0
    EncFS Password:
    21:03:20 (Interface.cpp:165) checking if ssl/aes(3:0:2) implements ssl/aes(3:0:0)
    21:03:20 (SSL_Cipher.cpp:370) allocated cipher ssl/aes, keySize 24, ivlength 16
    21:03:21 (FileUtils.cpp:1628) cipher key size = 44
    21:03:21 (Interface.cpp:165) checking if nameio/block(3:0:1) implements nameio/block(3:0:0)
    21:03:28 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:03:28 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:03:39 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:03:39 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:40 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:40 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:40 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:40 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:41 (encfs.cpp:213) getdir on /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:41 (BlockNameIO.cpp:185) padding, _bx, finalSize = 139, 16, -123
    21:06:41 (DirNode.cpp:132) error decoding filename: be1k7L8fVkv63EsbHLLxoJtY
    21:06:41 (DirNode.cpp:132) error decoding filename: .encfs6.xml
    21:06:41 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:41 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/
    21:06:41 (DirNode.cpp:770) created FileNode for /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/eZAORCDpP7ZyvSscCPZLuUwI
    21:06:41 (encfs.cpp:134) getattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/eZAORCDpP7ZyvSscCPZLuUwI
    21:06:41 (encfs.cpp:92) getxattr /home/carlos/mnt/ssh/server/home/carlos/gemein/encfs/eZAORCDpP7ZyvSscCPZLuUwI
    21:06:41 (encfs.cpp:99) getxattr error: Operation not supported
    Edit: I have by now resigned myself to the fact that the file .encfs6.xml must have been corrupted somehow, which means that the data are unrecoverably lost. Lesson learned: Backups are extra-important for encrypted data!
    Last edited by Franek (2014-03-03 21:14:16)

    You can implement this by writing the module to throw an exception or whatever method you want to execute.
    If you don't want to receive an error message then module is suitable for you.
    Gaurav Jain

  • GIF decoding

    This works on WinXP but not Linux. Why? It takes the first frame of an animated gif and writes a thumbnail.
                GifDecoder d = new GifDecoder();    
                try {
                    fis = new FileInputStream(file);          
                    bis = new BufferedInputStream(fis);            
                    log.debug("reading gif");
                    d.read(bis);
                    log.debug("reading framecount");
                    int n = d.getFrameCount();
                    log.debug("read framecount" + n);
                    for (int i = 0; i < 1; i++) {
                        BufferedImage frame = d.getFrame(i);  // frame i
                        int t = d.getDelay(i);  // display duration of frame in milliseconds
                        log.debug("resizing frame");
                            File gifoutputfile = new File("gif" + i + outputthumbFilename);
                        BufferedImage bdest = new BufferedImage(60, 60, BufferedImage.TYPE_INT_RGB);
                        Graphics2D g = bdest.createGraphics();
                        AffineTransform at = AffineTransform.getScaleInstance((double) 60 / frame.getWidth(), (double) 60 / frame.getHeight());
                        g.drawRenderedImage(frame, at);
                        ImageIO.setUseCache(false);
                        ImageIO.write(bdest, "GIF", new File(outputthumbFilename));           
                } catch (FileNotFoundException e) {
                    e.printStackTrace();
                } catch (IOException e) {
                    e.printStackTrace();
    import java.awt.AlphaComposite;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Graphics2D;
    import java.awt.Rectangle;
    import java.awt.image.BufferedImage;
    import java.awt.image.DataBufferInt;
    import java.io.BufferedInputStream;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URL;
    import java.util.ArrayList;
    * Class GifDecoder - Decodes a GIF file into one or more frames. <br>
    * <pre>
    *  Example:
    *     GifDecoder d = new GifDecoder();
    *     d.read("sample.gif");
    *     int n = d.getFrameCount();
    *     for (int i = 0; i < n; i++) {
    *        BufferedImage frame = d.getFrame(i);  // frame i
    *        int t = d.getDelay(i);  // display duration of frame in milliseconds
    *        // do something with frame
    * </pre>
    * No copyright asserted on the source code of this class. May be used for any
    * purpose, however, refer to the Unisys LZW patent for any additional
    * restrictions. Please forward any corrections to [email protected].
    * @author Kevin Weiner, FM Software; LZW decoder adapted from John Cristy's
    *         ImageMagick.
    * @version 1.03 November 2003
    public class GifDecoder {
       * File read status: No errors.
      public static final int STATUS_OK = 0;
       * File read status: Error decoding file (may be partially decoded)
      public static final int STATUS_FORMAT_ERROR = 1;
       * File read status: Unable to open source.
      public static final int STATUS_OPEN_ERROR = 2;
      protected BufferedInputStream in;
      protected int status;
      protected int width; // full image width
      protected int height; // full image height
      protected boolean gctFlag; // global color table used
      protected int gctSize; // size of global color table
      protected int loopCount = 1; // iterations; 0 = repeat forever
      protected int[] gct; // global color table
      protected int[] lct; // local color table
      protected int[] act; // active color table
      protected int bgIndex; // background color index
      protected int bgColor; // background color
      protected int lastBgColor; // previous bg color
      protected int pixelAspect; // pixel aspect ratio
      protected boolean lctFlag; // local color table flag
      protected boolean interlace; // interlace flag
      protected int lctSize; // local color table size
      protected int ix, iy, iw, ih; // current image rectangle
      protected Rectangle lastRect; // last image rect
      protected BufferedImage image; // current frame
      protected BufferedImage lastImage; // previous frame
      protected byte[] block = new byte[256]; // current data block
      protected int blockSize = 0; // block size
      // last graphic control extension info
      protected int dispose = 0;
      // 0=no action; 1=leave in place; 2=restore to bg; 3=restore to prev
      protected int lastDispose = 0;
      protected boolean transparency = false; // use transparent color
      protected int delay = 0; // delay in milliseconds
      protected int transIndex; // transparent color index
      protected static final int MaxStackSize = 4096;
      // max decoder pixel stack size
      // LZW decoder working arrays
      protected short[] prefix;
      protected byte[] suffix;
      protected byte[] pixelStack;
      protected byte[] pixels;
      protected ArrayList frames; // frames read from current file
      protected int frameCount;
      static class GifFrame {
        public GifFrame(BufferedImage im, int del) {
          image = im;
          delay = del;
        public BufferedImage image;
        public int delay;
       * Gets display duration for specified frame.
       * @param n
       *          int index of frame
       * @return delay in milliseconds
      public int getDelay(int n) {
        delay = -1;
        if ((n >= 0) && (n < frameCount)) {
          delay = ((GifFrame) frames.get(n)).delay;
        return delay;
       * Gets the number of frames read from file.
       * @return frame count
      public int getFrameCount() {
        return frameCount;
       * Gets the first (or only) image read.
       * @return BufferedImage containing first frame, or null if none.
      public BufferedImage getImage() {
        return getFrame(0);
       * Gets the "Netscape" iteration count, if any. A count of 0 means repeat
       * indefinitiely.
       * @return iteration count if one was specified, else 1.
      public int getLoopCount() {
        return loopCount;
       * Creates new frame image from current data (and previous frames as specified
       * by their disposition codes).
      protected void setPixels() {
        // expose destination image's pixels as int array
        int[] dest = ((DataBufferInt) image.getRaster().getDataBuffer()).getData();
        // fill in starting image contents based on last image's dispose code
        if (lastDispose > 0) {
          if (lastDispose == 3) {
            // use image before last
            int n = frameCount - 2;
            if (n > 0) {
              lastImage = getFrame(n - 1);
            } else {
              lastImage = null;
          if (lastImage != null) {
            int[] prev = ((DataBufferInt) lastImage.getRaster().getDataBuffer()).getData();
            System.arraycopy(prev, 0, dest, 0, width * height);
            // copy pixels
            if (lastDispose == 2) {
              // fill last image rect area with background color
              Graphics2D g = image.createGraphics();
              Color c = null;
              if (transparency) {
                c = new Color(0, 0, 0, 0); // assume background is transparent
              } else {
                c = new Color(lastBgColor); // use given background color
              g.setColor(c);
              g.setComposite(AlphaComposite.Src); // replace area
              g.fill(lastRect);
              g.dispose();
        // copy each source line to the appropriate place in the destination
        int pass = 1;
        int inc = 8;
        int iline = 0;
        for (int i = 0; i < ih; i++) {
          int line = i;
          if (interlace) {
            if (iline >= ih) {
              pass++;
              switch (pass) {
              case 2:
                iline = 4;
                break;
              case 3:
                iline = 2;
                inc = 4;
                break;
              case 4:
                iline = 1;
                inc = 2;
            line = iline;
            iline += inc;
          line += iy;
          if (line < height) {
            int k = line * width;
            int dx = k + ix; // start of line in dest
            int dlim = dx + iw; // end of dest line
            if ((k + width) < dlim) {
              dlim = k + width; // past dest edge
            int sx = i * iw; // start of line in source
            while (dx < dlim) {
              // map color and insert in destination
              int index = ((int) pixels[sx++]) & 0xff;
              int c = act[index];
              if (c != 0) {
                dest[dx] = c;
              dx++;
       * Gets the image contents of frame n.
       * @return BufferedImage representation of frame, or null if n is invalid.
      public BufferedImage getFrame(int n) {
        BufferedImage im = null;
        if ((n >= 0) && (n < frameCount)) {
          im = ((GifFrame) frames.get(n)).image;
        return im;
       * Gets image size.
       * @return GIF image dimensions
      public Dimension getFrameSize() {
        return new Dimension(width, height);
       * Reads GIF image from stream
       * @param BufferedInputStream
       *          containing GIF file.
       * @return read status code (0 = no errors)
      public int read(BufferedInputStream is) {
        init();
        if (is != null) {
          in = is;
          readHeader();
          if (!err()) {
            readContents();
            if (frameCount < 0) {
              status = STATUS_FORMAT_ERROR;
        } else {
          status = STATUS_OPEN_ERROR;
        try {
          is.close();
        } catch (IOException e) {
        return status;
       * Reads GIF image from stream
       * @param InputStream
       *          containing GIF file.
       * @return read status code (0 = no errors)
      public int read(InputStream is) {
        init();
        if (is != null) {
          if (!(is instanceof BufferedInputStream))
            is = new BufferedInputStream(is);
          in = (BufferedInputStream) is;
          readHeader();
          if (!err()) {
            readContents();
            if (frameCount < 0) {
              status = STATUS_FORMAT_ERROR;
        } else {
          status = STATUS_OPEN_ERROR;
        try {
          is.close();
        } catch (IOException e) {
        return status;
       * Reads GIF file from specified file/URL source (URL assumed if name contains
       * ":/" or "file:")
       * @param name
       *          String containing source
       * @return read status code (0 = no errors)
      public int read(String name) {
        status = STATUS_OK;
        try {
          name = name.trim().toLowerCase();
          if ((name.indexOf("file:") >= 0) || (name.indexOf(":/") > 0)) {
            URL url = new URL(name);
            in = new BufferedInputStream(url.openStream());
          } else {
            in = new BufferedInputStream(new FileInputStream(name));
          status = read(in);
        } catch (IOException e) {
          status = STATUS_OPEN_ERROR;
        return status;
       * Decodes LZW image data into pixel array. Adapted from John Cristy's
       * ImageMagick.
      protected void decodeImageData() {
        int NullCode = -1;
        int npix = iw * ih;
        int available, clear, code_mask, code_size, end_of_information, in_code, old_code, bits, code, count, i, datum, data_size, first, top, bi, pi;
        if ((pixels == null) || (pixels.length < npix)) {
          pixels = new byte[npix]; // allocate new pixel array
        if (prefix == null)
          prefix = new short[MaxStackSize];
        if (suffix == null)
          suffix = new byte[MaxStackSize];
        if (pixelStack == null)
          pixelStack = new byte[MaxStackSize + 1];
        // Initialize GIF data stream decoder.
        data_size = read();
        clear = 1 << data_size;
        end_of_information = clear + 1;
        available = clear + 2;
        old_code = NullCode;
        code_size = data_size + 1;
        code_mask = (1 << code_size) - 1;
        for (code = 0; code < clear; code++) {
          prefix[code] = 0;
          suffix[code] = (byte) code;
        // Decode GIF pixel stream.
        datum = bits = count = first = top = pi = bi = 0;
        for (i = 0; i < npix;) {
          if (top == 0) {
            if (bits < code_size) {
              // Load bytes until there are enough bits for a code.
              if (count == 0) {
                // Read a new data block.
                count = readBlock();
                if (count <= 0)
                  break;
                bi = 0;
              datum += (((int) block[bi]) & 0xff) << bits;
              bits += 8;
              bi++;
              count--;
              continue;
            // Get the next code.
            code = datum & code_mask;
            datum >>= code_size;
            bits -= code_size;
            // Interpret the code
            if ((code > available) || (code == end_of_information))
              break;
            if (code == clear) {
              // Reset decoder.
              code_size = data_size + 1;
              code_mask = (1 << code_size) - 1;
              available = clear + 2;
              old_code = NullCode;
              continue;
            if (old_code == NullCode) {
              pixelStack[top++] = suffix[code];
              old_code = code;
              first = code;
              continue;
            in_code = code;
            if (code == available) {
              pixelStack[top++] = (byte) first;
              code = old_code;
            while (code > clear) {
              pixelStack[top++] = suffix[code];
              code = prefix[code];
            first = ((int) suffix[code]) & 0xff;
            // Add a new string to the string table,
            if (available >= MaxStackSize)
              break;
            pixelStack[top++] = (byte) first;
            prefix[available] = (short) old_code;
            suffix[available] = (byte) first;
            available++;
            if (((available & code_mask) == 0) && (available < MaxStackSize)) {
              code_size++;
              code_mask += available;
            old_code = in_code;
          // Pop a pixel off the pixel stack.
          top--;
          pixels[pi++] = pixelStack[top];
          i++;
        for (i = pi; i < npix; i++) {
          pixels[i] = 0; // clear missing pixels
       * Returns true if an error was encountered during reading/decoding
      protected boolean err() {
        return status != STATUS_OK;
       * Initializes or re-initializes reader
      protected void init() {
        status = STATUS_OK;
        frameCount = 0;
        frames = new ArrayList();
        gct = null;
        lct = null;
       * Reads a single byte from the input stream.
      protected int read() {
        int curByte = 0;
        try {
          curByte = in.read();
        } catch (IOException e) {
          status = STATUS_FORMAT_ERROR;
        return curByte;
       * Reads next variable length block from input.
       * @return number of bytes stored in "buffer"
      protected int readBlock() {
        blockSize = read();
        int n = 0;
        if (blockSize > 0) {
          try {
            int count = 0;
            while (n < blockSize) {
              count = in.read(block, n, blockSize - n);
              if (count == -1)
                break;
              n += count;
          } catch (IOException e) {
          if (n < blockSize) {
            status = STATUS_FORMAT_ERROR;
        return n;
       * Reads color table as 256 RGB integer values
       * @param ncolors
       *          int number of colors to read
       * @return int array containing 256 colors (packed ARGB with full alpha)
      protected int[] readColorTable(int ncolors) {
        int nbytes = 3 * ncolors;
        int[] tab = null;
        byte[] c = new byte[nbytes];
        int n = 0;
        try {
          n = in.read(c);
        } catch (IOException e) {
        if (n < nbytes) {
          status = STATUS_FORMAT_ERROR;
        } else {
          tab = new int[256]; // max size to avoid bounds checks
          int i = 0;
          int j = 0;
          while (i < ncolors) {
            int r = ((int) c[j++]) & 0xff;
            int g = ((int) c[j++]) & 0xff;
            int b = ((int) c[j++]) & 0xff;
            tab[i++] = 0xff000000 | (r << 16) | (g << 8) | b;
        return tab;
       * Main file parser. Reads GIF content blocks.
      protected void readContents() {
        // read GIF file content blocks
        boolean done = false;
        while (!(done || err())) {
          int code = read();
          switch (code) {
          case 0x2C: // image separator
            readImage();
            break;
          case 0x21: // extension
            code = read();
            switch (code) {
            case 0xf9: // graphics control extension
              readGraphicControlExt();
              break;
            case 0xff: // application extension
              readBlock();
              String app = "";
              for (int i = 0; i < 11; i++) {
                app += (char) block;
    if (app.equals("NETSCAPE2.0")) {
    readNetscapeExt();
    } else
    skip(); // don't care
    break;
    default: // uninteresting extension
    skip();
    break;
    case 0x3b: // terminator
    done = true;
    break;
    case 0x00: // bad byte, but keep going and see what happens
    break;
    default:
    status = STATUS_FORMAT_ERROR;
    * Reads Graphics Control Extension values
    protected void readGraphicControlExt() {
    read(); // block size
    int packed = read(); // packed fields
    dispose = (packed & 0x1c) >> 2; // disposal method
    if (dispose == 0) {
    dispose = 1; // elect to keep old image if discretionary
    transparency = (packed & 1) != 0;
    delay = readShort() * 10; // delay in milliseconds
    transIndex = read(); // transparent color index
    read(); // block terminator
    * Reads GIF file header information.
    protected void readHeader() {
    String id = "";
    for (int i = 0; i < 6; i++) {
    id += (char) read();
    if (!id.startsWith("GIF")) {
    status = STATUS_FORMAT_ERROR;
    return;
    readLSD();
    if (gctFlag && !err()) {
    gct = readColorTable(gctSize);
    bgColor = gct[bgIndex];
    * Reads next frame image
    protected void readImage() {
    ix = readShort(); // (sub)image position & size
    iy = readShort();
    iw = readShort();
    ih = readShort();
    int packed = read();
    lctFlag = (packed & 0x80) != 0; // 1 - local color table flag
    interlace = (packed & 0x40) != 0; // 2 - interlace flag
    // 3 - sort flag
    // 4-5 - reserved
    lctSize = 2 << (packed & 7); // 6-8 - local color table size
    if (lctFlag) {
    lct = readColorTable(lctSize); // read table
    act = lct; // make local table active
    } else {
    act = gct; // make global table active
    if (bgIndex == transIndex)
    bgColor = 0;
    int save = 0;
    if (transparency) {
    save = act[transIndex];
    act[transIndex] = 0; // set transparent color if specified
    if (act == null) {
    status = STATUS_FORMAT_ERROR; // no color table defined
    if (err())
    return;
    decodeImageData(); // decode pixel data
    skip();
    if (err())
    return;
    frameCount++;
    // create new image to receive frame data
    image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB_PRE);
    setPixels(); // transfer pixel data to image
    frames.add(new GifFrame(image, delay)); // add image to frame list
    if (transparency) {
    act[transIndex] = save;
    resetFrame();
    * Reads Logical Screen Descriptor
    protected void readLSD() {
    // logical screen size
    width = readShort();
    height = readShort();
    // packed fields
    int packed = read();
    gctFlag = (packed & 0x80) != 0; // 1 : global color table flag
    // 2-4 : color resolution
    // 5 : gct sort flag
    gctSize = 2 << (packed & 7); // 6-8 : gct size
    bgIndex = read(); // background color index
    pixelAspect = read(); // pixel aspect ratio
    * Reads Netscape extenstion to obtain iteration count
    protected void readNetscapeExt() {
    do {
    readBlock();
    if (block[0] == 1) {
    // loop count sub-block
    int b1 = ((int) block[1]) & 0xff;
    int b2 = ((int) block[2]) & 0xff;
    loopCount = (b2 << 8) | b1;
    } while ((blockSize > 0) && !err());
    * Reads next 16-bit value, LSB first
    protected int readShort() {
    // read 16-bit value, LSB first
    return read() | (read() << 8);
    * Resets frame state for reading next image.
    protected void resetFrame() {
    lastDispose = dispose;
    lastRect = new Rectangle(ix, iy, iw, ih);
    lastImage = image;
    lastBgColor = bgColor;
    int dispose = 0;
    boolean transparency = false;
    int delay = 0;
    lct = null;
    * Skips variable length blocks up to and including next zero length block.
    protected void skip() {
    do {
    readBlock();
    } while ((blockSize > 0) && !err());
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

    Niklas wrote:
    This works on WinXP but not Linux. Why? Please don't just post reams of code without providing more context and information.
    How is it failing on Linux? Wrong results? What are they? Error messages? What do they say? You need to give us some place to start looking.

Maybe you are looking for

  • Security exceptions not configurable after release 31 (bug number 1042889 is not fixed)

    We are running Firefox 31 32 and 33 on different machines on windows/XP (updated until end of support). Our router has an expired certificate. On the machines updated to Firefox 32 or above the security popup screen does not show. Instead we just get

  • APC and 10.5

    What and how are you guys managing your battery backup with xserves running 10.5, specifically APC UPS's. Id like to hear the 1:1 ration, 1 server and 1 APC but specifically the 1: many or the 1 Apc and many server or the Many:Many with multiple APC'

  • Internet Explorer7 Blocking Crystal Reports 2008 CrystalReportViewer Export

    Visual Studio 2008 (VS 2008) Crystal Reports 2008 (CR 2008) Production Server: Windows Server 2003 Internet Browser: Internet Explorer 7 (IE7) Crystal Reports Version: 12.0.2000.0  on both development and production IE7 message: To help protect your

  • N80 - n80i

    Hi, Im sure this has been asked 100+ times... But I cant seem to get it to work... My Mobile details: V.4.0623.0.42 20-09-2006 RM-92 Nokia N80 (33.01) When I do a Nokia Software Update it says i have the latest version.. But there is 4.0632.0.36 upda

  • Photos will not show in an album in iPhoto

    I went to look at pictures in one of my albums in iPhoto, and while the album is present, there are no photos in it. When I look at "Last 12 Months", the pictures do not show up there either (or in "Events" for that matter). Another album is missing