Package Details: dataloader 54.0.0-1

Git Clone URL: https://aur.archlinux.org/dataloader.git (read-only, click to copy)
Package Base: dataloader
Description: An easy to use graphical tool that helps you to get your data into Salesforce objects
Upstream URL: https://developer.salesforce.com/page/Data_Loader
Keywords: salesforce
Licenses: GPL2
Submitter: EgidioCaprino
Maintainer: soundsphere
Last Packager: EgidioCaprino
Votes: 3
Popularity: 0.000000
First Submitted: 2015-08-08 17:31 (UTC)
Last Updated: 2022-01-09 11:33 (UTC)

Dependencies (7)

Required by (0)

Sources (5)

Latest Comments

1 2 Next › Last »

a821 commented on 2024-02-20 08:51 (UTC)

Please do not use sudo in the PKGBUILD, specially if there are side effects such as changing the default java version.

EgidioCaprino commented on 2020-11-18 22:01 (UTC)

@properlypurple done, thanks for the advice

properlypurple commented on 2020-11-18 11:58 (UTC) (edited on 2020-11-18 12:34 (UTC) by properlypurple)

For the script installed in /usr/bin, please use this to avoid permission issues, since a normal user won't have permissions to modify in /opt

java -cp /opt/dataloader/target/dataloader-50.0.0-uber.jar -Dsalesforce.config.dir=$HOME/.config/dataloader com.salesforce.dataloader.process.DataLoaderRunner

EgidioCaprino commented on 2020-11-18 08:01 (UTC)

@nprom Dataloader is now updated to version 50.0.0 and the problem is fixed.

mprom commented on 2020-05-12 13:33 (UTC)

Updating this package seems to break with this error:

==> Sources are ready.
==> Making package: dataloader 48.0.0-1 (Tue 12 May 2020 03:29:25 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
HEAD is now at 44cabef Update Force WSC and Force Partner API version to 48 (#201)
==> Starting build()...
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.force:dataloader:jar:48.0.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-compiler-plugin @ line 401, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 401, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------< com.force:dataloader >------------------------
[INFO] Building Data Loader 48.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dataloader ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ dataloader ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 24 resources
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ dataloader ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 177 source files to /home/mp/.cache/yay/dataloader/src/dataloader/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.842 s
[INFO] Finished at: 2020-05-12T15:29:32+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project dataloader: Fatal error compiling: invalid target release: 11 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
==> ERROR: A failure occurred in build().
    Aborting...
Error making: dataloader

mprom commented on 2018-07-12 08:50 (UTC)

I managed to solve it. I was trying to login with my username+password, but I needed to login with my username + (password+securitytoken). Doing that I can login just fine :)

EgidioCaprino commented on 2018-07-11 17:43 (UTC)

Can you try to move ~/.salesforce.com in /tmp? Run this command

mv ~/.salesforce.com /tmp/

mprom commented on 2018-07-11 15:02 (UTC) (edited on 2018-07-11 15:03 (UTC) by mprom)

Here's the error:

2018-07-11 16:58:04,122 INFO  [main] controller.Controller initLog (Controller.java:496) - Using built-in logging configuration, no log-conf.xml in /home/mp/.salesforce.com/Data Loader 43.0
.0/conf/log-conf.xml                                                                                                                                                                        
2018-07-11 16:58:04,134 INFO  [main] controller.Controller initLog (Controller.java:498) - The log has been initialized                                                                     
2018-07-11 16:58:04,142 INFO  [main] controller.Controller createDir (Controller.java:289) - Config directory already exists: /home/mp/.salesforce.com/Data Loader 43.0.0/conf              
2018-07-11 16:58:04,144 INFO  [main] controller.Controller initConfig (Controller.java:417) - Looking for file in config path: /home/mp/.salesforce.com/Data Loader 43.0.0/conf/config.proper
ties                                                                                                                                                                                        
2018-07-11 16:58:04,144 INFO  [main] controller.Controller initConfig (Controller.java:450) - User config is found in /home/mp/.salesforce.com/Data Loader 43.0.0/conf/config.properties    
2018-07-11 16:58:04,192 INFO  [main] controller.Controller initConfig (Controller.java:460) - The controller config has been initialized                                                    
2018-07-11 16:58:04,326 INFO  [main] config.LastRun load (LastRun.java:96) - Last run info will be saved in file: /home/mp/.salesforce.com/Data Loader 43.0.0/conf/ui_lastRun.properties    

(SWT:15865): Gtk-WARNING **: 16:58:04.392: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)                                   
2018-07-11 16:58:07,553 INFO  [main] action.OperationInfo instantiateWizard (OperationInfo.java:138) - Instantiating wizard: insert                                                         

(SWT:15865): Gtk-CRITICAL **: 16:58:07.627: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkRadioButton                                                                       

(SWT:15865): Gtk-CRITICAL **: 16:58:07.627: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkRadioButton                                                                       

(SWT:15865): Gtk-WARNING **: 16:58:07.628: Negative content width -9 (allocation 5, extents 7x7) while allocating gadget (node button, owner GtkButton)
2018-07-11 16:58:15,175 INFO  [main] client.PartnerClient login (PartnerClient.java:500) - Beginning Partner Salesforce login ....                                                          
2018-07-11 16:58:15,192 INFO  [main] client.PartnerClient loginInternal (PartnerClient.java:544) - Salesforce login to https://login.salesforce.com/services/Soap/u/43.0 as user me@myjob.com
2018-07-11 16:58:15,767 ERROR [main] client.PartnerClient runOperation (PartnerClient.java:350) - Error while calling web service operation: login, error was:                              
[LoginFault [ApiFault  exceptionCode='LOGIN_MUST_USE_SECURITY_TOKEN'                                                                                                                        
 exceptionMessage='Invalid username, password, security token; or user locked out. Are you at a new location? When accessing Salesforce--either via a desktop client or the API--from outside
 of your company’s trusted networks, you must add a security token to your password to log in. To get your new security token, log in to Salesforce. From your personal settings, enter Reset
 My Security Token in the Quick Find box, then select Reset My Security Token.'                                                                                                             
 extendedErrorDetails='{[0]}'                                                                                                                                                               
]                                                                                                                                                                                           
]                                                                                                                                                                                           

        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)                                                                                         
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)                                                                  
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)                                                          
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)                                                                                                        
        at java.base/java.lang.Class.newInstance(Class.java:560)                                                                                                                            
        at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:673)                                                                                                                    
        at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:556)                                                                                                                    
        at com.sforce.ws.transport.SoapConnection.parseDetail(SoapConnection.java:236)                                                                                                      
        at com.sforce.ws.transport.SoapConnection.createException(SoapConnection.java:210)                                                                                                  
        at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:156)                                                                                                          
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:99)                                                                                                              
        at com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.java:818)                                                                                                      
        at com.salesforce.dataloader.client.PartnerClient$8.run(PartnerClient.java:177)                                                                                                     
        at com.salesforce.dataloader.client.PartnerClient$8.run(PartnerClient.java:168)                                                                                                     
        at com.salesforce.dataloader.client.PartnerClient.runOperation(PartnerClient.java:345)                                                                                              
        at com.salesforce.dataloader.client.PartnerClient.loginInternal(PartnerClient.java:545)                                                                                             
        at com.salesforce.dataloader.client.PartnerClient.login(PartnerClient.java:513)                                                                                                     
        at com.salesforce.dataloader.client.PartnerClient.connect(PartnerClient.java:229)                                                                                                   
        at com.salesforce.dataloader.controller.Controller.login(Controller.java:208)                                                                                                       
        at com.salesforce.dataloader.controller.Controller.login(Controller.java:203)                                                                                                       
        at com.salesforce.dataloader.ui.AuthenticationRunner.loginAsync(AuthenticationRunner.java:100)                                                                                      
        at java.base/java.lang.Thread.run(Thread.java:844)                                                                                                                                  
        at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)                                                                                                                   
        at com.salesforce.dataloader.ui.AuthenticationRunner.login(AuthenticationRunner.java:77)                                                                                            
        at com.salesforce.dataloader.ui.LoginStandardControl.loginButton_Clicked(LoginStandardControl.java:75)                                                                              
        at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)                                                                                                                     
        at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)                                                                                                                        
        at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)                                                                                                                         
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)                                                                                                                
        at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)                                                                                                                  
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)                                                                                                                    
        at org.eclipse.jface.window.Window.open(Window.java:801)                                                                                                                            
        at com.salesforce.dataloader.ui.uiActions.OperationUIAction.run(OperationUIAction.java:54)                                                                                          
        at com.salesforce.dataloader.ui.LoaderWindow$2.widgetSelected(LoaderWindow.java:238)                                                                                                
        at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)                                                                                                                
        at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)                                                                                                                     
        at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)                                                                                                                        
        at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)                                                                                                                         
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)                                                                                                                
        at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)                                                                                                                  
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)                                                                                                                    
        at org.eclipse.jface.window.Window.open(Window.java:801)                                                                                                                            
        at com.salesforce.dataloader.ui.LoaderWindow.run(LoaderWindow.java:149)                                                                                                             
        at com.salesforce.dataloader.controller.Controller.createAndShowGUI(Controller.java:249)                                                                                            
        at com.salesforce.dataloader.process.DataLoaderRunner.main(DataLoaderRunner.java:47)
2018-07-11 16:58:15,773 ERROR [main] client.PartnerClient loginInternal (PartnerClient.java:560) - Error while logging in to web service at: https://login.salesforce.com/services/Soap/u/43.0, error was:
[LoginFault [ApiFault  exceptionCode='LOGIN_MUST_USE_SECURITY_TOKEN'
 exceptionMessage='Invalid username, password, security token; or user locked out. Are you at a new location? When accessing Salesforce--either via a desktop client or the API--from outside of your company’s trusted networks, you must add a security token to your password to log in. To get your new security token, log in to Salesforce. From your personal settings, enter Reset My Security Token in the Quick Find box, then select Reset My Security Token.'
 extendedErrorDetails='{[0]}'
]
]

        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)                                                                                         
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)                                                                  
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)                                                          
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
        at java.base/java.lang.Class.newInstance(Class.java:560)
        at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:673)
        at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:556)
        at com.sforce.ws.transport.SoapConnection.parseDetail(SoapConnection.java:236)
        at com.sforce.ws.transport.SoapConnection.createException(SoapConnection.java:210)
        at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:156)
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:99)
        at com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.java:818)
        at com.salesforce.dataloader.client.PartnerClient$8.run(PartnerClient.java:177)
        at com.salesforce.dataloader.client.PartnerClient$8.run(PartnerClient.java:168)
        at com.salesforce.dataloader.client.PartnerClient.runOperation(PartnerClient.java:345)
        at com.salesforce.dataloader.client.PartnerClient.loginInternal(PartnerClient.java:545)                                                                                             
        at com.salesforce.dataloader.client.PartnerClient.login(PartnerClient.java:513)
        at com.salesforce.dataloader.client.PartnerClient.connect(PartnerClient.java:229)
        at com.salesforce.dataloader.controller.Controller.login(Controller.java:208)
        at com.salesforce.dataloader.controller.Controller.login(Controller.java:203)
        at com.salesforce.dataloader.ui.AuthenticationRunner.loginAsync(AuthenticationRunner.java:100)                                                                                      
        at java.base/java.lang.Thread.run(Thread.java:844)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
        at com.salesforce.dataloader.ui.AuthenticationRunner.login(AuthenticationRunner.java:77)                                                                                            
        at com.salesforce.dataloader.ui.LoginStandardControl.loginButton_Clicked(LoginStandardControl.java:75)                                                                              
        at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
        at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
        at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        at org.eclipse.jface.window.Window.open(Window.java:801)
        at com.salesforce.dataloader.ui.uiActions.OperationUIAction.run(OperationUIAction.java:54)                                                                                          
        at com.salesforce.dataloader.ui.LoaderWindow$2.widgetSelected(LoaderWindow.java:238)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
        at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
        at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
        at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        at org.eclipse.jface.window.Window.open(Window.java:801)
        at com.salesforce.dataloader.ui.LoaderWindow.run(LoaderWindow.java:149)
        at com.salesforce.dataloader.controller.Controller.createAndShowGUI(Controller.java:249)                                                                                            
        at com.salesforce.dataloader.process.DataLoaderRunner.main(DataLoaderRunner.java:47)

On closer inspection it seems like the Linux Dataloader requires a security token, but the MacOS version doesn't? For reference, when pressing 'Login' the MacOS version opens a small, new window with login.salesforce.com and a standard sign-in screen, followed by a prompt to allow 'Dataloader Partner' access.

...so I guess the MacOS dataloader creates a new security token every time I log in? Maybe I've been using it wrong all this time.

EgidioCaprino commented on 2018-07-10 10:11 (UTC)

Can you please run it from the terminal and send me the output?

mprom commented on 2018-07-10 09:25 (UTC)

Hmm... For some reason the Data Loader refuses to let me login, saying 'Check your username/password'... but using the exact same username/password in the Data Loader on MacOS works without problems