Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all 20709 articles
Browse latest View live

return value from Indesign SErver CS4 using SOAP

$
0
0

does anybody have a complete example on how to send a script to indesign server and get a response using SOAP in ASP.NET

 

I've already read the post http://forums.adobe.com/message/2255207#2255207 and all links within this post, but I can't seem to get it working.

 

I'm running on a widows 7 ultimate x64with a Q6600 processor and 4Gb of memory (so I meet the system requrements )

 

I can send a script to the server, butI always get a response of null. I use the folloing script to test this function(javascript)

 

   function main(){return 'test';}main();
/*function main() {
var doc = app.open(File('C:/Users/Wesley/Desktop/myTestDocument.indd'));
doc = doStuff(doc);
doc.exportFile(ExportFormat.PDF_TYPE,new File('C:/Users/Wesley/Desktop/test.pdf'));
var pages=doc.pages.length;
pages=app.configuration;
pages=app.scriptPreferences.version;
doc.close();
return pages;
}

function doStuff(doc) {
// do some stuff
return doc;
}

main(); // the return statement in this function actually gets returned*/

 

when I run this code in ExtendScript CS4, the script runs fine, but I found out that ES4 sends the script through COM.

 

Are there any know issues with IndesignServer x64 or it's related IndesignServerService?

 

all help is welcome

 

kidn regards,

 

Wesley


InDesign Server CS6 (MacOS) - JavaScripting & Troubleshooting "Bus error" or "Segmentation fault"

$
0
0

I'm attempting to convert a workflow from InDesign CS5.5 Desktop with AppleScript to InDesign Server CS6 with JavaScript. It seems most of our templates work fine but every now and then I run into one that seems to work properly but right after we export to PDF and JPG which is the final step in the script I get either a Bus error or a Segmentation fault error. The files do export and the console sits idle for a few seconds then I get the crash. It doesn't seem to give me anything else and I can't find a crash dump or core file anywhere on disk to examine.

 

The exact same input files on InDesign CS5.5 Desktop completing a very similar automation task via AppleScript work without an issue or error. I'm not certain if it's a problem with the way the InDesign files were put together, a version problem between a CS5.5 file and CS6, or something that I'm doing wrong in the script.

 

Is there a way to get InDesign Server to go into debug or verbose mode so that it will show more than just two word errors on crash?  I've read a few people talking here about the debug version but every path I've found to get access to the debug version runs into a roadblock with a bad link.

 

I would appreciate a point in the current right direction for how to debug these templates this script.

pb running "Catalog Producer"

$
0
0

I'm trying to set up the Demo of "Catalog Producer" in AEM 6.1 which use Indesign CC Server 2014

 

I have a running instance of AEM 6.1

I have a running instance of InDesign CC Server 2014

 

When I create a new catalog page in AEM I get some feedback from IDS but the page generation failed.

 

06/10/15 12:54:32 INFO  [javascript] Ex├®cution du script

06/10/15 12:54:32 INFO  [script] Started IDSPrint Script - Export generation....

06/10/15 12:54:32 INFO  [script] Fetching resource from CQ: /content/dam/catalogs/templates/Geometrixx Shoes.indd

06/10/15 12:55:13 ERREUR        [serveur] JavaScript Erreur !

 

Num├®ro de l'erreur : 54

Chaîne de l'erreur : Uncaught JavaScript exception: open

 

Moteur : main

Ligne : 565

Source :     cleanup(exportFolder);

 

Does it make sens form anybody ?

How/what can I check to find where is the issue ?

 

Many thanks

How do you upload/download Indesign Documents to the server through client interface?

$
0
0

Hi,

 

   I am new to Adobe Indesign Server and just got the trial version and am starting to play around with it. I need the Adobe Indesign server to generate preview from .indd packaged files. Currently I am uploading the .indd files directly on the Indesign server to generate previews. Any idea on how to upload/download files from Indesign Server using their client interface. I am currently using their sampleclient and eventually plan to use the SOAP api for building a client. Any help appreciated.

 

Thanks,

CC

[CS5 Windows] LBQ crashes Java

$
0
0

Hi all,

 

I'm trying to follow the instructions in the "Working With Load Balancing and Queueing" document for CS5 server. I've run four instances of ID Server using the recommended CORBA parameters in that document. Then I started LBQ by running the "clover.cmd" batch file (after tweaking it a bit, because they forgot to set the JAVA_HOME path). All seems well.

 

However, when I ping the LBQ as recommended, by opening this URL:

 

http://localhost:8080/com.adobe.clover.application/api/GetVersion

 

I get a message that Java has crashed. Specifically, it says "Java(TM) Platform SE binary has stopped working." Then Windows helpfully offers to find a solution (I've never actually experienced Windows finding a solution, ever). Of course then the browser request times out, and we're back to using QuarkXPress.

 

This is using Windows Server 2008 R2 Standard, Service Pack 1 (say that fast, 3 times), and InDesign CS5 Server 7.0.0.355.

 

I thought perhaps the Java version was suspect, so I uninstalled it (both 32- and 64-bit versions) and installed fresh versions from www.java.com. Still the same problem. Then I thought, maybe it needs more memory, so I changed the command line -Xmx parameter from 512M to 1024M. Still the same problem.

 

The problem isn't InDesign Server, because it never actually gets to that point; it's in the LBQ Java code (I think) and/or some mystical Java configuration.

 

So I'm stumped. Has anyone successfully used Adobe's load balancing solution as documented?

 

Thanks in advance for any advice.

 

Regards,

Chuck Weger

C# app throws error when connecting to indesign server

$
0
0

It throws this exception:

Invalid syntax (Exception from HRESULT: 0x800401E4 (MK_E_SYNTAX))
   at System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   at System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)

 

Caused by this line:

InDesignServer.Application app = (InDesignServer.Application)(System.Runtime.InteropServices.Marshal.BindToMoniker("config uration_noport"));

 

The server is successfully running with the no configuration parameters therefore the configuration name by default should be "configuration_noport".

 

Any idea why it's throwing this error? This is a C# 4.0 console application connecting to Indesign Server CS 5 (7.0).

Dead instances in corba mode on Mac OSX

$
0
0

Hello,

 

Since our transition to IDS CS5 we often experience that corba instances run into a dead-lock randomly.

With a dead instance, i mean that the process is still running, the ior file still exists and seems to be valid (the contentstring is the same as on startup), but the application object is lost. It occurs randomly somewhere during execution of our code and almost always on a different part of our code.

I can simulate this state of IndesignServer by running a corba instance on my MacBook Pro, closing the MBP and wait for about an hour. Then reopen it and trying to connect. Then i get:

org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
       at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemExceptio n.java:2200)
       at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemExceptio n.java:2221)
       at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConne ctionImpl.java:205)
       at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConne ctionImpl.java:218)
       at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrC hannelContactInfoImpl.java:101)
       at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientR equestDispatcherImpl.java:152)
       at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.ja va:118)
       at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
       at com.adobe.ids.basics._ApplicationStub.updateFonts(Unknown Source)
       at be.nss.ids.advit.AdvitSession.<init>(AdvitSession.java:98)
       at be.nss.documentserver.controller.action.OpenSubDocumentAction.execute(OpenSubDocumentActi on.java:50)
       at be.nss.documentserver.controller.ActionQueue$ActionThread.run(ActionQueue.java:231)
Caused by: java.lang.NullPointerException
       at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket(DefaultSocketFactor yImpl.java:59)
       at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConne ctionImpl.java:188)
       ... 9 more

This is exactly what i get on our customers servers (which don't "go to sleep" obviously). Just setting my MacBook Pro to a very short sleep time (1 min.) doesn't invoke this error. This makes it hard to simulate the problem. Apparently the sleep invoked by closing the MBP and waiting an hour isn't the same as putting it asleep, all parameters on, after 1 min.

All OSX versions are 10.6

So i have two questions:

1) What are the possible causes of those dead-locks? Errors in our code (both java and our own IDS plugin) normally cause a real instance crash which is traceable.

2) Is there a way to re-establish a connection to a dead instance?

 

Thanks in advance for any input!

 

Bart Devos.

Installing Transparency Flattener Preset for Indesign Server CS4

$
0
0

I'm trying to figure out how to install a transparency flattener preset for InDesign Server CS4.

 

I can see how they are installed for the InDesign app.  Edit -> Transparency Flattener Presets...

 

But I'm not sure which directory to install these on for the server.

 

I've seen a post that mentions:

C:\Documents and Settings\<UserName>\Application Data\Adobe\InDesign\Version 6.0\en_US\Transparency Flattener Presets

 

/Users/<UserName>/Library/Preferences/Adobe InDesign/Version 6.0/en_US/Transparency Flattener Presets

 

for the Desktop version.  But when I place files here even for the CS4 Desktop, they don't seem to show up in the UI.

 

Any help would be appreciated,

Thanks,

Dennis


InDesign fails to render "Futura Std Book Oblique" font

$
0
0

Hello,

 

 

We are facing some issues with the adobe Font Family "Futura Std" [especially Futura Std Book Oblique] font in InDesign.

InDesign is not able to resolve the "Italic" font style i.e "Futura Std Book Oblique" font.

 

please follow the following simple steps to reproduce this issue.

  1. Creat a new InDesign document and select a text tool to enter some text.
  2. Enter some text in text area with font family set to "Times New Roman" (like "Regular ItalicBoldBoldItalic") and apply the different font styles to each text (accordingly).
  3. Then select entire text and change the font Family to "Futura Std".
  4. Now you can see that the "Futura Std Book Oblique" font for text "Italic" from the above step is not applied, it is incorrectly interpreted as "Futura Std [Italic]"

 

Is this an Adobe InDesign issue (unable to resolve "Times New Roman - Italic"  to "Futura Std - Book Oblique") or the "Futura Std" font issue itself ? can you please provide some more information on, why this particular font is not functioning as expected in Adobe InDesign ?

 

Thanks in advance.

Stuck parsing an InDesign document, extracting data to an XML file

$
0
0

Hi,

 

I have an indesign document of a newspaper page (1 spread + 1 page) with some articles (title, body, img, img caption) and ads (img). I need to parse this and create an XML file from which data can be stored into a mysql db. The db handling is already programmed.

 

The xml file will have this structure (page = root):

<page>

     <article>

          <title>Title</title>

          <content>Lorem ipsum</content>

          <img title=""></img>

     </article>

     <ad>

          <img title=""></img>

     </ad>

</page>

 

The .indd file is created using the Smart Layout plugin from WoodWing software. When trying to print the "TextFrames>Texts>contents" the textframes that use the smart layout plugin do not show, they seem to be not included in the data model of the app. That's why I went another route, and parsed "Stories>Texts>contents". I can get all the text objects of the page, including the articles that are created using the smart layout plugin. Among these objects are article title's and article bodies. The problem is I don't know which title belongs to which body, so I can't create a new article node in the XML. I have exported the orignal file as IDML and browsed the spread and the stories, but I see no way to link article titles (textframe), article bodies (textframe) and images (contained by rectangles) together.

 

Is there a way to solve this?

 

Setup:

InDesign CS4 .indd documents

Win2k8 server

JavaScript (via ExtendScript toolkit)

InDesignServer CS5.5 (64bit) (want to use this)

SmartLayout plugin (installs @ InDesignServer CS5.5 32bit. This 32bit InDServer does not start, it has missing dll's).

Problem with InDesign Server CS5

$
0
0

Hi all,

when i run from prompt (of Windows Server 2008) the command "InDesign Server.com -port 18383" the system respond "Adobe InDesign Server is not properly licensed and will now quit", until some days ago the InDesign Server work perfecly. What i do for that issue ? I try to run cthe command "InDesignServer.com -serilanumber xxxxxx" and the command "InDesignServer.exe -serilanumber xxxxxxx" but doesn't work (the system says me the same think "Adobe InDesign Server is not properly licensed etc etc"). What can i do ?

 

Thank you in advance

 

Luca

rectangle.place (Placing Image) - InDesign vs InDesignServer

$
0
0

Any help or suggestions or even guesses appreciated here. Thanks!

 

I have a script that correctly places images in tagged rectangles via script in InDesign, the script then exports to PDF. All is well.


When I run the same script with the same image path folder structure in InDesignServer, the exported PDF does not show the 'placed' images. I'm getting no errors in my console.


Early in the script I have;

myInDesign.imagePreview = True


I place the images with;

myRectangle.Place myFile, False

myRectangle.fit 1668247152

myRectangle.fit 1667591779

for each myItem in myRectangle.items

     myItem.itemLink.unlink

next



I've tried it with and without the .unlink code (an attempt to force embedding of the images)


In all other aspects the script works the same on ID as IDS. I'm starting my ID CS6 server with InDesignServer -previews


I suspect I'm missing something with the PDF export preferences, but have no idea why it's working on ID and not on IDS.


Any help greatly appreciated.

 

(I have cross-posted this in the InDesign Forum. I will remove one or the other if answered)

How to get 'clover.cmd' running as Windows service?

$
0
0

Right now I have the InDesign instances all running great as services so on a server reboot they start up fine. The clover/lbq part is  just the .cmd script and it's not running as a service. I looked in the documentation but haven't found any info on getting clover to run as a Windows service.

 

Anyone know how to set it to do this? I'm on InDesign CS6 (server).

 

thanks.

How to get CORBA LBQ started as a Windows service for InDesign Server CS6?

$
0
0

So we have a production InDesign Server (CS6) running 4 instances. The instances are set to start as Windows services and no issues there at all. The problem is my Clover commands that handles the LBQ to manage those instances. Right now I have a .bat file that I run manually and it opens a command prompt and runs it there.

 

The problem is that if the server gets logged off or reboots then that Clover part dies and my LBQ dies with it.

 

How can I go about setting this up as a Windows service so that it runs automatically?

InDesign Server CC for Mac cannot start

$
0
0

I installed InDesign Server CC Mac.(file = InDesignServer_8_LS18) When i click the Application Icon, it has not response and no error/message.

 

Thanks.


Exporting PDF with embedded transparent TIFF images

$
0
0

I'm trying to export a PDF with embedded transparent TIFF images. These images have extremely large dimensions. During the embed process, they are shrunk down to fit in the placeholder frames within the target InDesign file. Because of the dramatic decrease in size, when I then export a PDF from the InDesign file I get a halo affect from the anti-aliasing around the edges of the embedded images. I've had some luck reducing the size of the halo by telling InDesign to not down-sample, but I haven't been able to eliminate it. Does anyone know a way to get rid of this artifact?

ERROR Corba Indesign Server CS 5.5 multi Instance

$
0
0

hello,

 

I have aserial numberforInDesignCS5.5serverforMultiInstance.

WhenI talkwithCORBA, only oneinstance is running, others leave.

Why?

 

 

2014-09-24 13:27:36 [12216] SWTAG: _info_: Start SWTAGGING productName=Adobe InDesign CS5.5 Server; licensingCode=InDesignServer-CS5.5-Win-GM; locale=MUL; caller=1

2014-09-24 13:27:36 [12216] SWTAG: _info_: Get privilege info for "C:\Documents and Settings\All Users\Application Data\regid.1986-12.com.adobe" returned 0

2014-09-24 13:27:36 [12216] SWTAG: _info_: Set privilege info for "C:\Documents and Settings\All Users\Application Data\regid.1986-12.com.adobe" returned 0

2014-09-24 13:27:36 [12216] SWTAG: _info_: Reading existing C:\Documents and Settings\All Users\Application Data\regid.1986-12.com.adobe\regid.1986-12.com.adobe_InDesignServer-CS5.5-Win-GM-MUL.swid tag file

 

Indesign Server CS 5.5 (7.5.3)


thanks

Applescript server 10 2014

$
0
0

Hi There

 

 

Have anyone tried to use applescript with a CC 2014 (10) server  ???? almost nothing works for me...

 

I can create a document and save it, but can't open the same document....

 

Just a simple script...

tell application "InDesignserver"

set MyDok to make new document

save MyDok to "Mac HD:file.indd"

end tell

 

then...

tell application "InDesignserver"

Open "Mac Hd:file.indd"

end tell

 

i get : The document "file.indd" could not be opened. InDesignserver cannot open files of this type

 

very strange because the file was created by the same server ???

updating internal links crashes IDS

$
0
0

Hi,

 

The relevant flow is that a indd document is passed to the Indesign Server where I have to try and update outdated links before exporting to PDF.

 

This in Windows (7, server, doesn't matter)

 

For each link in the document, I am trying to do this (javascript)

 

if (link.status == LinkStatus.linkOutOfDate) {

    try{

      link.update();

     

    }

    catch(error){

      app.consoleout("Error trying to update links ...");

      app.consoleout(error);

    }

}

 

 

The indesign client is able to update the links fine.

Problem is if the links are internal, meaning link.linkType is "type Internal Linked Story" or "type Internal Linked Object", the script above crashes the indesign server instance with the following.

 

 

Faulting application name: InDesignServer.exe, version: 9.0.0.245, time stamp: 0x51acf1d4

Faulting module name: GENERIC PAGE ITEM.RPLN, version: 9.0.0.245, time stamp: 0x51acf472

Exception code: 0xc0000005

Fault offset: 0x000000000010b65a

Faulting process id: 0x1b48

Faulting application start time: 0x01cfd83481a0cfef

Faulting application path: c:\Program Files\Adobe\Adobe InDesign CC Server x64\InDesignServer.exe

Faulting module path: c:\Program Files\Adobe\Adobe InDesign CC Server x64\Required\GENERIC PAGE ITEM.RPLN

Report Id: ccc9d9af-4427-11e4-8324-b1ee80b6158b

 

Am I doing something wrong with the link.update? It works fine for external links.

 

thanks

Cristian

Return code 6 when trying to activate trial of InDesignCC Server 2014

$
0
0

Hi!

 

I keep on having the "return code 6" when I try to activate a trial version InDesign CC Server 2014 (pc) with APTEE:

i try to use the commande adobe_prtk --tool=StartTrial --leid=InDesignServer-10-Win-GM

Viewing all 20709 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>