One Star

Problem with importing items using by Command Line (Repository manager)

Hello, 
I would like to import project, which is in our development environment to our production environment. I am using Repository manager, to migrate projects. When in Production TAC not existed any job in Job conductor, migration was successful. But, when i created som job in Job conductor, import failed. I tried to run import manually by command line, but same problem occured. 

Import command:
importItems '/pkg/moip/RMC-RiBS/data/ttomcat/CommandLine/exports/1500374532383#Congstar[test].zip' -o -s -sl

Error log:
java.lang.Exception: org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:66)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(ServerCommandLine.java:139)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:4109)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:902)
at org.eclipse.swt.widgets.Display.create(Display.java:890)
at org.eclipse.swt.graphics.Device.<init>(Device.java:154)
at org.eclipse.swt.widgets.Display.<init>(Display.java:499)
at org.eclipse.swt.widgets.Display.<init>(Display.java:490)
at org.eclipse.swt.widgets.Display.getDefault(Display.java:1693)
at org.eclipse.swt.widgets.Display$1.run(Display.java:456)
at org.eclipse.swt.graphics.Device.getDevice(Device.java:110)
at org.eclipse.swt.graphics.Resource.<init>(Resource.java:49)
at org.eclipse.swt.graphics.Image.<init>(Image.java:408)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:291)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:227)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:205)
at org.talend.core.model.repository.RepositoryViewObject.getJobletCustomIcon(RepositoryViewObject.java:192)
at org.talend.core.model.repository.RepositoryViewObject.getProperty(RepositoryViewObject.java:322)
at org.talend.repository.svnprovider.SvnMessageHelper.getDeleteObjectPhysicalMsg(SvnMessageHelper.java:93)
at org.talend.repository.svnprovider.SvnRepositoryFactory.deleteObjectPhysical(SvnRepositoryFactory.java:1000)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.deleteObjectPhysical(RemoteRepositoryFactory.java:489)
at org.talend.core.repository.model.ProxyRepositoryFactory.forceDeleteObjectPhysical(ProxyRepositoryFactory.java:696)
at org.talend.repository.items.importexport.handlers.imports.ImportBasicHandler$1.run(ImportBasicHandler.java:710)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:93)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:237)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3206)
at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:411)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.executeRepositoryWorkUnit(RemoteRepositoryFactory.java:742)
at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:1985)
at org.talend.repository.items.importexport.handlers.imports.ImportBasicHandler.doImportItem(ImportBasicHandler.java:716)
at org.talend.repository.items.importexport.handlers.imports.ImportBasicHandler.doImport(ImportBasicHandler.java:641)
at org.talend.repository.items.importexport.handlers.ImportExportHandlersManager$3$1.importItemRecordsWithRelations(ImportExportHandlersManager.java:423)
at org.talend.repository.items.importexport.handlers.ImportExportHandlersManager$3$1.run(ImportExportHandlersManager.java:341)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.talend.repository.items.importexport.handlers.ImportExportHandlersManager$3.run(ImportExportHandlersManager.java:465)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:93)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:237)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3206)
at org.talend.repository.svnprovider.SvnRepositoryFactory.executeRepositoryWorkUnit(SvnRepositoryFactory.java:411)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.executeRepositoryWorkUnit(RemoteRepositoryFactory.java:742)
at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:1985)
at org.talend.repository.items.importexport.handlers.ImportExportHandlersManager.importItemRecords(ImportExportHandlersManager.java:475)
at org.talend.commandline.util.ItemsHelper.importItems(ItemsHelper.java:305)
at org.talend.commandline.command.CommandProcessor.importItems(CommandProcessor.java:355)
at org.talend.commandline.command.ExtensionCommandSwitch.caseImportItemsCommand(ExtensionCommandSwitch.java:86)
at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:37)
at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(CommandProcessorSwitch.java:161)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:70)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)
... 3 more

My version of Talend is 5.6.2
Java version : 1.7.0_65
Console and TAC is running on Linux x64 environment
Could someone help me?

Thanks in advance

1 REPLY
Moderator

Re: Problem with importing items using by Command Line (Repository manager)

Hello,

Have you already installed gtk libraries in Production enviroment? Is there any more error message which is located in <CommandLineHome>/studio/commandline-workspace/.metadata/.log?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.