Unzip zipfile with nonenglish filenames

hi, all
i tried to use apache foundation alternative (supports
encoding
parameter to resolve filenames encoding) to standard
unzipping classes
located in JVM 1.4.x. classes are located in package
org.apache.tools.zip.* in ant.jar
everything works fine in tomcat, but in JRun/CF7 following
message is
displayed ...
as you can guess cf also uses ant.jar, and that is probably
the problem.
thanks for advice,
jan
tried to access field
org.apache.tools.zip.ZipOutputStream.EOCD_SIG from
class org.apache.tools.zip.ZipFile
java.lang.IllegalAccessError: tried to access field
org.apache.tools.zip.ZipOutputStream.EOCD_SIG from class
org.apache.tools.zip.ZipFile
at
org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:348)
at
org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:243)
at org.apache.tools.zip.ZipFile.(ZipFile.java:142)
at cz.sitewell.zip.Zipping.decompress(Zipping.java:66)
at cz.sitewell.zip.Zipping.decompress(Zipping.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at coldfusion.runtime.StructBean.invoke(StructBean.java:388)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1655)
at
cftestik2ecfm365833867.runPage(C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\testik.cf m:18)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at
coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
at
coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at
coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at
coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at
jrunx.util.DynamicClassLoaderFilter.doFilter(DynamicClassLoaderFilter.java:48)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at
jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

hello,
i found the problem but not solution yet ...
in jrun.jar is located some ancient (4years old) version of
ant
without ZipFile class. That class is loaded from newer
version of ant.jar.
protected fields probably work only on same jars, not
packages.
because of this IllegalAccessError is throwed.
is there some elegant solution to load newer version of ant?
of course
i see some workarounds such as modification of jrun.jar or
package
renaming to solve this ...
jan
Jan Gregor wrote:
> hi, all
>
> i tried to use apache foundation alternative (supports
encoding
> parameter to resolve filenames encoding) to standard
unzipping classes
> located in JVM 1.4.x. classes are located in package
> org.apache.tools.zip.* in ant.jar
>
> everything works fine in tomcat, but in JRun/CF7
following message is
> displayed ...
>
> as you can guess cf also uses ant.jar, and that is
probably the problem.
>
>
> thanks for advice,
> jan
>
>
>
> tried to access field
org.apache.tools.zip.ZipOutputStream.EOCD_SIG from
> class org.apache.tools.zip.ZipFile
>
>
> java.lang.IllegalAccessError: tried to access field
> org.apache.tools.zip.ZipOutputStream.EOCD_SIG from class
> org.apache.tools.zip.ZipFile
> at
>
org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:348)
> at
>
org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:243)
> at org.apache.tools.zip.ZipFile.(ZipFile.java:142)
> at cz.sitewell.zip.Zipping.decompress(Zipping.java:66)
> at cz.sitewell.zip.Zipping.decompress(Zipping.java:54)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
coldfusion.runtime.StructBean.invoke(StructBean.java:388)
> at
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1655)
> at
>
cftestik2ecfm365833867.runPage(C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\testik.cf m:18)
>
> at
coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
> at
coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
> at
coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
> at
>
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210)
> at
coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
> at
coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
> at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
> at
>
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
>
> at
coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
> at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
> at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
> at coldfusion.CfmServlet.service(CfmServlet.java:105)
> at
>
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
> at
jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
> at
>
jrunx.util.DynamicClassLoaderFilter.doFilter(DynamicClassLoaderFilter.java:48)
>
> at
jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
> at
jrun.servlet.FilterChain.service(FilterChain.java:101)
> at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
> at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> at
>
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259)
> at
>
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
> at
jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
> at
>
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
>
> at
jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Similar Messages

  • Unzipping  zipfile with sub folders...using zlib java

    Hello,
    I am encounterig a problem while unzipping a zipfile using zlib.The zip file contaings subdirectories.so i am not able to unzip the zipfile.Since my code is able to unzip only the files which are in current directory.Please help me out to unzip the subdirectories using zlib.
    Please find my below code..for unzip the files in current directory..
    String destinationname = rootFolder.getAbsolutePath();
    byte[] buf = new byte[1024];
    ZipInputStream zipinputstream = null;
    ZipEntry zipentry;
    zipinputstream = new ZipInputStream(
    new FileInputStream(destinationname+"\\"+date+".zip"));
    zipentry = zipinputstream.getNextEntry();
    while (zipentry != null)
    //for each entry to be extracted
    String entryName = zipentry.getName();
         LoggerHtml.debug(entryName);
         int n;
         FileOutputStream fileoutputstream;
         File newFile = new File(entryName);
         String directory = newFile.getParent();
         if(directory == null)
         //break;
         fileoutputstream = new FileOutputStream(
         entryName);
         while ((n = zipinputstream.read(buf, 0, 1024)) > -1)
         fileoutputstream.write(buf, 0, n);
         fileoutputstream.close();
         zipinputstream.closeEntry();
         zipentry = zipinputstream.getNextEntry();
    Please provide me the coding..It is very urgent...

    google
    code #1
    import java.io.*;
    import java.util.*;
    import java.util.zip.*;
    public class unzip
        public static void main(String args[])
            if(args.length < 1)
                System.out.println("Syntax : unzip zip-file destination-dir[optional]");
                return;
            try
                ZipFile zf = new ZipFile(args[0]);
                Enumeration zipEnum = zf.entries();
                String dir = new String(".");
                if( args.length == 2 )
                    dir = args[1].replace('\\', '/');
                if(dir.charAt(dir.length()-1) != '/')
                    dir += "/";
                while( zipEnum.hasMoreElements() )
                    ZipEntry item = (ZipEntry) zipEnum.nextElement();
                    if( item.isDirectory() ) //Directory
                        File newdir = new File( dir + item.getName() );
                        System.out.print("Creating directory "+newdir+"..");
                        newdir.mkdir();
                        System.out.println("Done!");
                    else //File
                        String newfile = dir + item.getName();
                        System.out.print("Writing "+newfile+"..");
                        InputStream is = zf.getInputStream(item);
                        FileOutputStream fos = new FileOutputStream(newfile);
                        int ch;
                        while( (ch = is.read()) != -1 )
                            fos.write(ch);
                        is.close();
                        fos.close();
                        System.out.println("Done!");
                zf.close();  
            catch(Exception e)
                System.err.println(e);
    }code #2
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Enumeration;
    import java.util.SortedSet;
    import java.util.TreeSet;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipFile;
    * UnZip -- print or unzip a JAR or PKZIP file using java.util.zip. Command-line
    * version: extracts files.
    * @author Ian Darwin, [email protected] $Id: UnZip.java,v 1.7 2004/03/07
    *         17:40:35 ian Exp $
    public class UnZip {
      /** Constants for mode listing or mode extracting. */
      public static final int LIST = 0, EXTRACT = 1;
      /** Whether we are extracting or just printing TOC */
      protected int mode = LIST;
      /** The ZipFile that is used to read an archive */
      protected ZipFile zippy;
      /** The buffer for reading/writing the ZipFile data */
      protected byte[] b;
       * Simple main program, construct an UnZipper, process each .ZIP file from
       * argv[] through that object.
      public static void main(String[] argv) {
        UnZip u = new UnZip();
        for (int i = 0; i < argv.length; i++) {
          if ("-x".equals(argv)) {
    u.setMode(EXTRACT);
    continue;
    String candidate = argv[i];
    // System.err.println("Trying path " + candidate);
    if (candidate.endsWith(".zip") || candidate.endsWith(".jar"))
    u.unZip(candidate);
    else
    System.err.println("Not a zip file? " + candidate);
    System.err.println("All done!");
    /** Construct an UnZip object. Just allocate the buffer */
    UnZip() {
    b = new byte[8092];
    /** Set the Mode (list, extract). */
    protected void setMode(int m) {
    if (m == LIST || m == EXTRACT)
    mode = m;
    /** Cache of paths we've mkdir()ed. */
    protected SortedSet dirsMade;
    /** For a given Zip file, process each entry. */
    public void unZip(String fileName) {
    dirsMade = new TreeSet();
    try {
    zippy = new ZipFile(fileName);
    Enumeration all = zippy.entries();
    while (all.hasMoreElements()) {
    getFile((ZipEntry) all.nextElement());
    } catch (IOException err) {
    System.err.println("IO Error: " + err);
    return;
    protected boolean warnedMkDir = false;
    * Process one file from the zip, given its name. Either print the name, or
    * create the file on disk.
    protected void getFile(ZipEntry e) throws IOException {
    String zipName = e.getName();
    switch (mode) {
    case EXTRACT:
    if (zipName.startsWith("/")) {
    if (!warnedMkDir)
    System.out.println("Ignoring absolute paths");
    warnedMkDir = true;
    zipName = zipName.substring(1);
    // if a directory, just return. We mkdir for every file,
    // since some widely-used Zip creators don't put out
    // any directory entries, or put them in the wrong place.
    if (zipName.endsWith("/")) {
    return;
    // Else must be a file; open the file for output
    // Get the directory part.
    int ix = zipName.lastIndexOf('/');
    if (ix > 0) {
    String dirName = zipName.substring(0, ix);
    if (!dirsMade.contains(dirName)) {
    File d = new File(dirName);
    // If it already exists as a dir, don't do anything
    if (!(d.exists() && d.isDirectory())) {
    // Try to create the directory, warn if it fails
    System.out.println("Creating Directory: " + dirName);
    if (!d.mkdirs()) {
    System.err.println("Warning: unable to mkdir "
    + dirName);
    dirsMade.add(dirName);
    System.err.println("Creating " + zipName);
    FileOutputStream os = new FileOutputStream(zipName);
    InputStream is = zippy.getInputStream(e);
    int n = 0;
    while ((n = is.read(b)) > 0)
    os.write(b, 0, n);
    is.close();
    os.close();
    break;
    case LIST:
    // Not extracting, just list
    if (e.isDirectory()) {
    System.out.println("Directory " + zipName);
    } else {
    System.out.println("File " + zipName);
    break;
    default:
    throw new IllegalStateException("mode value (" + mode + ") bad");
    hth

  • How to get gui_download and gui_upload with popup filename?

    how to get gui_download and gui_upload with popup filename?

    Here is a short example.
    report zrich_0003 .
    data: ifiletab type filetable.
    data: xfiletab like line of ifiletab.
    data: xstring type string.
    data: rc type i.
    data: itab type table of string.
    data: xtab type string.
    start-of-selection.
      call method cl_gui_frontend_services=>file_open_dialog
        changing
          file_table              = ifiletab
          rc                      = rc.
      read table ifiletab into xfiletab index 1.
      xstring = xfiletab-filename.
      check not xstring is initial.
      call method cl_gui_frontend_services=>gui_upload
        exporting
          filename                = xstring
      changing
        data_tab                = itab.
      loop at itab into xtab.
        write:/ xtab.
      endloop.
    Regards,
    Rich Heilman

  • File-to-File/RFC scenario with reading filename

    Hi,
    i have a File-to-File/RFC scenario which causes some problems in desining it correctly. Maybe some of you has an idea how to do this.
    Scenario:
    - A file is picked up by a File-Adapter. The files are different: pdf, doc, tiff, jpg, txt, ...
    - The file must now go through a business process (not necessary the file, but i need the filename in the business process).
    - The process has to contact several backend systems (SAP R/3) to collect some data. To achieve this the filename has to be send to this systems.
    - The collected data are send via SOAP to a receiver system
    - The file itself has to be stored in a directory via File-Adapter.
    Here's my problem:
    - Is it possible to transport the binary file content within a message which contains other elements (e.g. filename)?
    - Is it possible to do graphical mappings with such a payload (only 1 to 1)? Or must i use Java Mappings only?
    - How to generate a Message from the sender File Adapter which contains binary file content AND filename? Is this possible with a Module?
    - Is it better to create 2 messages with an adapter module? One with the image the other with the filename. Or is it better to split them later in a Mapping?
    Thanks in advance,
    ms

    If all that you need is the file name, use adapter specific settings in the sender file adapter. Then you can access the file name in mapping runtime in UDFs. If you want to have content of the pdf, jpg etc images, i do not think there are ready modules available except for reading pdfs ( you might have to research on this).
    For look ups etc with R3 systems, you can use the file name that you got from the adapter and store it in mapping fields.
    VJ

  • Picking files from FTP server with dynamic Filename.

    Hello Experts,
    I want to pick some files from a FTP server in a File to Idoc scenario. The files in the Ftp Server are created with the filenames as timestamp of the file when it was created. How do I pick up these files?
    Thanks,
    Merrilly

    Hi,
    The above masking concept (*.txt, . etc) will be applicable for the files with NFS only,
    See the below link to apply it
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    The below link will help you to build up the adapter module to read the dynamic file name
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805
    This could be applicable for FTP ...
    Thanks
    Swarup

  • Help with adding filename to my 400 pdf files

    Hi everyone,
    Now i have 400 pdf files in my hands and i want to print them all with the filename of each files on the page. Is there anyway i can do it in one go?]
    thanks,

    Creating a Batch Sequence using Acrobat Pro -
    --| Select, from the menu bar, Advanced > Document Processing > Batch Processing
    The Batch Sequence dialog presents itself.
    --| Click the 'New Sequence' button.
    The Name Sequence dialog presents itself.
    --| Enter a name for the new sequence (e.g., "Add Watermark").
    The Edit Batch Sequence - Add Watermark dialog presents itself.
    --| Click the 'Select Commands' button.
    The Edit Batch Sequence dialog presents itself.
    The left side column lists commands; under the 'Document' folder -
    --| Select 'Add Watermark' and then click the 'Add >>' button.
    --| Click the 'Edit' button.
    The Add Watermark dialog presents itself.
    Configure as desired. Note the links "Page Range Options" (upper right) and "Appearance Options" (left side, just below center).
    You may want to use these options as part of the Watermark's configuration.
    When configuration within the Add Watermark dialog is complete, click OK.
    OK out of the Edit Sequence dialog.
    Back in the Edit Batch Sequence - Add Watermark dialog continue with configuration options as desired.
    Note: There is a square adjacent to the "Add Watermark" command that was selected.
    For unattended operation, leave this box NOT ticked.
    Clicking the 'Output Options' button provides access to a dialog from which you can choose to utilize PDF Optimizer.
    The 'Settings' button provides access to PDF Optimizer's configuration dialog.
    With all desired configuration complete, OK out of the Edit Batch Sequence - Add Watermark dialog.
    Click the 'Run Sequence' button to run a selected Batch Sequence.
    The configuration selection made for "2. Run commands on:" (in the Edit Batch Sequence - <name of sequence>) determines what you will observe next.
    It may be that Acrobat JavaScript will be needed to pull each PDF's document file name (?).
    So - Some other information associated with PDF document's file name -
    (thomp) posts at AUC:
    http://acrobatusers.com/forums/aucbb/viewtopic.php?id=7428
    http://acrobatusers.com/forums/aucbb/viewtopic.php?id=2908
    (try67) posts at AUC:
    http://acrobatusers.com/forums/aucbb/viewtopic.php?id=20725
    "Print File Name with pdf Document" thread from this Forum (an older thread, but informative).
    http://forums.adobe.com/thread/302996
    Be well...

  • There is a problem with the photo with the filename "null". The full resolution version of this photo either cannot be located or is corrupt. Please replace this photo or delete it from your book.

    Absolutely INFURIATING.
    I have spent absolute hours building a photo album for the first year or my sons life. Sorting through quite literally thousands and thousands of images. Got a brilliant looking album using 177 of them.
    Now everytime I try to check out it won't get past page 1 of building the book.
    It says the following "There is a problem with the photo with the filename "null". The full resolution version of this photo either cannot be located or is corrupt. Please replace this photo or delete it from your book.".
    The images all look perfect. I have even tried taking them out and re adding the first page images from the library.
    Same problem.
    This is so annoying. So far I have NOT been happy with this iphoto application having nothing but problems with missing thumbnails. Corrupted images. Things that have never happened to me using a windows machine.

    Do the filenames contain special characters, like "ä,ü,..." or white space or are the vry long? Is there anything special about the image format? Try to export the edited versions in that case and reimport it with a different, shorter filename.
    For testing, create a new book with only the images you want to check.
    If this does not fix it, try rebuilding. Depress the option and command keys, launch iPhoto and rebuild the library.

  • Reporting Services Auto Export to PDF on a shared location with dynamic filename

    Hi Guys,
    I have this ERP system that is calling a url with the Document No parameter, the link automatically converts to a PDF but comes up with the OPEN/SAVE/CANCEL box however i want to automatically save to a default location...is this possible?
    Secondly i need the filename to be saved as the Paramter Name and the date.pdf in the format DocumentNo- Datetime.pdf is this also possible?
    Thank you in Advance

    Hi Dan,
    According to your description, you want to export a report to PDF using URL access. And trying to export the report with specify name automatically without prompting the OPEN/SAVE/CANCEL box. The file name should come from the parameters of the report.
    For security reasons, it is not allowed to write files on a client computer (Shared folder), except for a few pieces of information in cookies.
    While using URL access to export a report, the exporting process will save the file with the report’s name automatically.
    In order to export the report to a specify folder with a specify name, we can send a request to the Report Server in custom application, and then receive the data from the Report Server. In the custom application, save the data to the specify folder with the specify name in server side.
    Please follow these steps to archive the target:
    1.       Create a C# Web application.
    2.       In the page_load event of a page, embed the following code:
    string URL = "http://localhost/Reportserver?/AdventureWorks Sample Reports/Employee Sales Summary";
                string Command = "Render";
                string Format = "PDF";
                //We can get values of these parameters from Request object.
                string paramReportMonth = "12";
                string paramReportYear = "2003";
                string paramEmpID = "288";
                URL = URL + "&rs:Command=" + Command + "&rs:Format=" + Format + "&ReportMonth=" + paramReportMonth + "&ReportYear=" + paramReportYear +"&EmpID=" + paramEmpID;
                System.Net.HttpWebRequest Req = (System.Net.HttpWebRequest) System.Net.WebRequest.Create(URL);
                Req.Credentials = System.Net.CredentialCache.DefaultCredentials;
                Req.Method = "GET";
                //Specify the path for saving.
                string path = @"C:\" + paramEmpID + "-" + paramReportYear + "-" + paramReportMonth + @".pdf";
                System.Net.WebResponse objResponse = Req.GetResponse();
                System.IO.FileStream fs = new System.IO.FileStream(path, System.IO.FileMode.Create);
                System.IO.Stream stream = objResponse.GetResponseStream();
                byte[] buf = new byte[1024];
                int len = stream.Read(buf, 0, 1024);
                while (len > 0)
                    fs.Write(buf, 0, len);
                    len = stream.Read(buf, 0, 1024);
                stream.Close();
                fs.Close();
    3.       Use the URL of the above page with parameters to export a report to the specify folder with specify filename.
    E.g. http://<server>/custom application/export.aspx?parameterReportYear=2003&parametermonth=12&EmpId=288
    Of course, we can pass other parameters with the URL such as Format.
    Please feel free to ask, if you have any more questions.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • Message "problem with photo with the filename '(null).

    I get the following message "There is a problem with the photo with the filename '(Null).'  The full resolution version of this photo either cannot be located or is corrupt.  Please replace the photo or delete it from your book."  This message appears after place the order and it starts to submit the pages of the book.  I get as far as page 9 of 60.  I have open the pictures using photoshop and have renamed them and saved them as a tif format.  Any suggestions?

    annefromtallahassee wrote:
    I get the following message "There is a problem with the photo with the filename '(Null).'  The full resolution version of this photo either cannot be located or is corrupt.  Please replace the photo or delete it from your book."  This message appears after place the order and it starts to submit the pages of the book.  I get as far as page 9 of 60.  I have open the pictures using photoshop and have renamed them and saved them as a tif format.  Any suggestions?
    I believe that you have gone into the iPhoto library and made changes using photoshop - is that correct
    If so then you have trashed your iPhoto library and must put it back exactly as it was - loading a backup is the easiest (probably the only) way
    NEVER make any changes to the content or structure of the iPhoto library using the finder or any program that is not fully iPhoto aware
    LN

  • Unzip file with .sar and .car extensions.

    Hi,
    how unzipping file with .sar .car extensions?
    Best regards

    Hello,
    in the directory in which the SAP kernel is installed there has to be a executable called SAPCAR or sapcar.exe.
    Windows: C:usrsapSIDSYSexerunsapcar.exe -xvf archive.sar
    Unix: /usr/sap/SID/SYS/exe/run/SAPCAR -xvf archive.sar
    or
    Windows: C:usrsapSIDSYSexerunsapcar.exe -xvf archive.car
    Unix: /usr/sap/SID/SYS/exe/run/SAPCAR -xvf archive.car
    Regards, Michael

  • Encore won't save project with new filename

    I have just rendered a bluray disc image of a project. Now I want to save a version of the project to tweak it specifically for the DVD image, and preserve the bluray project. On the first failed saved I learned in this forum to run Encore as an administrator. Did that, but now Encore just crashes after copying most of the project files. There's enough room on the volume, as I've already corrected after that failed save.
    It is a lenghty but not particularly complexly authored project consisting of a 1 hr 26 mins video timeline from a PrPro timeline exported via Adobe Bridge; a short picture gallery rendered in PrPro as an m2v video file; 2 motion and 2 still menus; and English and Japanese subtitles for the long video timeline. As the project developed I had saved progressive versions with unique filenames so I'd have restore points if a file I was working on got corrupted. No problem then.
    But now in the final stages of the project I can no longer make an incremental save, Any ideas?

    Yes, just a crash. Here's what Windows reports:
    Faulting application name: Adobe Encore.exe, version: 6.0.1.13, time stamp: 0x4fb5057e
    Faulting module name: MSVCR100.dll, version: 10.0.40219.1, time stamp: 0x4d5f034a
    Exception code: 0x40000015
    Fault offset: 0x00000000000761c9
    Faulting process id: 0x16d0
    Faulting application start time: 0x01cd83f6b867d78a
    Faulting application path: C:\Program Files\Adobe\Adobe Encore CS6\Adobe Encore.exe
    Faulting module path: C:\Windows\system32\MSVCR100.dll
    Report Id: 47679503-eff0-11e1-9433-446d57c6c61e
    I have been deleting the older projects and their caches to retain disc capacity. But if the current project previews w/o problem and can output a disc image, it must have all it needs as a complete project file, right?

  • Unzipping files with .car and .sar extension.

    Hi,
    I'm searching in http://help.sap.com the download for unzipping files with .car and .sar extension.
    What is the exact name of the file do that?
    The SAP release is 4.7 non unicode 32 bit.
    Best regards

    http://help.sap.com
    click on SAP R/3 and R/3 Enterprise then on Installation & Upgrade Guide, insert user and psw,
    click on Downloads tab, click on Download (left side of the web page), click on Support Packages and Patches, and then on Search for Support Packages and Patches, put SAPCAR as search term.

  • Copy a file with same filename using XI - module experts please help!

    Guys,
    Felix Jeyareuben had an excellent blog on how to copy a binary file with XI.
    /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
    It is a shame by the way that such a simple thing has to be this complicated in XI, but that's another question...
    So after I created the EAR file and successfully deployed the modules on our XI server, I got the following file adapter error, when I was trying to use it:
    Sender Adapter v2727 for Party '', Service 'BS_TA_XI_DEV':
    Configured at 2006-11-30 14:04:15 EST
    History:
    - 2006-11-30 14:10:00 EST: Error: java.lang.ClassCastException
    - 2006-11-30 14:10:00 EST: Processing started
    Can you give me any clues what could have gone wrong?
    This is the first module I deployed so I might have messed up something simple, but I cannot figure this out.
    Also how can I debug this?
    Your help would be much appreciated.
    Thanks a lot,
    Viktor Varga

    > Moorthy,
    > My issue is not so much about the filename, but an
    > encrypted (binary) file that I just want to copy from here to there.
    Do it like in the mentioned blog, but don't do any mapping. That will be fine.
    > Michal,
    > In my adapter I have the following:
    > 1)  localejbs/xi_file_module/ReadBinaryBean
    >  (LocalEnterpriseBean)
    > )  localejbs/CallSapAdapter
    >                         (LocalEnterpriseBean)
    > ine.xml file I have this:
    > <enterprise-bean>
    >   <ejb-name>ReadBinaryBean</ejb-name>
    > <jndi-name>xi_file_module/ReadBinaryBean</jndi-name>
    >   <session-props/>
    > enterprise-bean>
    Check your EAR if there are any libs from the adapter framework and delete them if necessary.
    After deployment check in your visual administrator if your EAR is available.
    Regards
    Stefan

  • PI FTP get zip file and want to unzip with origin filenames

    Hello everybody,
    we get zip files from ftp and want to unzip this file in one target directory (file adapter). May be, there are more than one file in the zip file, for example test1.txt,test2.txt,test3.txt and zip file name is zipexample.zip. With adapter parameters it is possible to use the name of the zip file, but I've no idea to get the origin filenames (test1.txt, ...).
    I don't want to use the OS Commands to do this.
    I know that's not realy an workitem for PI.
    Is there anyone, who has an idea. Thanks
    Kind regards - Jochen

    Hi,
    Try out this blog
    Working with the PayloadZipBean module of the XI Adapter Framework
    regards,
    venkat.

  • Problem with chinese fileNames inside a zipfile

    Hi all
    I have a really strange problem . I needed to create a zip file(English name) and add a chinese file to that Zip . I had done this using java.uti.zip and in the output zip file i am seeing a totally different chiense name than what i had expected . My code looks like this
    String fileName = "������";(Chinese fileName)
    File zipFile = new File("abc.txt");
    ZipOutputStream zipOutStrm = null;
    BufferedInputStream in = null;
    try
    int length = 0;
    byte[] buffer = new byte[2048];
    zipOutStrm = new ZipOutputStream(new FileOutputStream("abc.zip"));
    ZipEntry zipe = new ZipEntry(fileName);
    zipOutStrm.putNextEntry(zipe);
    in = new BufferedInputStream(new FileInputStream(zipFile));
    length = in.read(buffer);
    while(length != -1)
    zipOutStrm.write(buffer, 0, length);
    length = in.read(buffer);
    catch(FileNotFoundException e)
    e.printStackTrace();
    catch(IOException e)
    e.printStackTrace();
    finally
    try
    in.close();
    zipOutStrm.closeEntry();
    zipOutStrm.close();
    catch(Exception e)
    //do nothing ;
    Later i found out from the sun site that there is some encoding issues with the way java does the zip and winZip encoding .
    Can any one let me know how to come out of this ??

    The file name encoding issue with ZIP is basically: The encoding of file names in ZIP-files is not specified and when non-ASCII file names came along each and every zip-utility solved it in a different way, some did not solve it at all, some store it in ISO-8859-1 (= no chinese), some store it in UTF-8 (I think Java does this), others might have other strategies ...
    So if there is a way to not use non-ASCII characters in your zip-files you greatly enhance the portability of your programm.

Maybe you are looking for

  • How do I get rid of keychain popups? I never set a keychain password.

    Keychain popups happen CONSTANTLY since I got back from the Apple store when a manufacturer error required a hard drive replacement. I can't sign in to iMessage - although my password works to log me in to the computer, I get a keychain message immed

  • [SOLVED]MPD, PulseAudio & Systemd/User

    Since the advent of skype 4.3 I've had to switch to using pulseaudio. Things seems to be working fine except for the interaction between pulseaudio and mpd. My goal is to attain the same functionality as I had before when I was just using alsa. The m

  • I can't restore to my phone

    i have a SE Zylo, recently it went wrong so i got a replacement sent to me, its exactly the same phone, before i swaped in my old phone i used pc companion back up and restore, it seemed to work fine (there is a file on my computer named 'zylo dead'-

  • List object model

    I have a custom list having Id and name columns and another document library list having ID column with a document and when i click the custom list id column it should redirect to document library items. expected output: Custom list: Id Name 1  AAA D

  • WAD - Link to open PDF file

    Hello, I created an application in WAD - some tables, some buttons etc. I need to add a link (or button, not the matter), where user can click to open attached PDF file. PDF can be stored anywhere (i.e. in "Documents" in RSA1 or as a regular file on