9 Replies Latest reply on Jul 23, 2013 11:22 PM by Ashish Kumar

    tabcmd returns 500 "Internal Server Error"

    Doug Erickson

      Hello all,

      I am trying to use the following tabcmd command line to export a png file from the server.

       

      "C:\tablcmd\Command Line Utility\tabcmd" export "/views/gmvsandboxv4/Dashboard1" --png -f c:\images\D11S15G3S17C2M15M8.png --server https://tableauserver.com -u user -p password --no-cookie

       

      The command fails with   *** 500 "Internal Server Error"

      The log shows this entry:

      [7776] DEBUG  Feb-22 16:42:21,497:

      =====================================================================

      [7776] DEBUG  Feb-22 16:42:21,497: ====>> Starting Tabcmd 7.0 at Fri Feb 22 16:42:21 -0500 2013 <<====

      [7776] DEBUG  Feb-22 16:42:21,497: Build 7000.13.0109.2200

      [7776] DEBUG  Feb-22 16:42:25,540: No login cookie found at C:\Users\IBM_ADMIN\AppData\Roaming/Tableau/tabcmd.txt

      [7776] DEBUG  Feb-22 16:42:25,147: run as: tabcmd export /views/gmvsandboxv4/Dashboard1 --png -f c:\images\D11S15G3S17C2M15M8.png --server https://tableauserver.com -u ***** -p ******** --no-cookie

      [7776] INFO   Feb-22 16:42:25,163: Creating new session

      [7776] INFO   Feb-22 16:42:25,163:     Server:   https://tableauserver.com/

      [7776] INFO   Feb-22 16:42:25,179:     Username: *****

      [7776] INFO   Feb-22 16:42:25,179: Connecting to server...

      [7776] DEBUG  Feb-22 16:42:26,349: Authenticity token: SnsDIK/BnjIUUAW2YUhLwblvV5immtQPmp74JNhRREQ=

      [7776] INFO   Feb-22 16:42:26,349: Logging in...

      [7776] DEBUG  Feb-22 16:42:27,331: Authenticity token: 4NQPBDC9FEnDzDFbvVOo1EWD9n5yG50/qzKmo0cX2fs=

      [7776] INFO   Feb-22 16:42:27,331: Login Succeeded.

      [7776] INFO   Feb-22 16:42:27,347: Requesting /views/gmvsandboxv4/Dashboard1 from server...

      [7776] DEBUG  Feb-22 16:42:27,955: /views/views/gmvsandboxv4/Dashboard1?format=png

      [7776] DEBUG  Feb-22 16:42:28,200: ‰PNG

       

      ** Then a bunch of characters that look like binary and do not copy and paste as text for over 100 lines followed by**

       

      [7776] FATAL  Feb-22 16:42:28,200: 500 "Internal Server Error"

      [7776] DEBUG  Feb-22 16:42:28,200: file:/C:/tablcmd/Command Line Utility/jruby-stdlib-1.6.2.jar!/META-INF/jruby.home/lib/ruby/1.8/net/http.rb:2103:in `error!'

      file:/C:/tablcmd/Command Line Utility/tabcmd.jar!/tabcmd/lib/server_info.rb:233:in `display_error'

      file:/C:/tablcmd/Command Line Utility/tabcmd.jar!/tabcmd/lib/server_info.rb:380:in `execute'

      file:/C:/tablcmd/Command Line Utility/tabcmd.jar!/tabcmd/lib/server_info.rb:142:in `execute_request'

      file:/C:/tablcmd/Command Line Utility/tabcmd.jar!/tabcmd/lib/commands/export.rb:205:in `export'

      org/jruby/RubyKernel.java:2063:in `send'

      file:/C:/tablcmd/Command Line Utility/tabcmd.jar!/tabcmd/lib/multicommand.rb:93:in `run_each'

      org/jruby/RubyArray.java:1602:in `each'

      file:/C:/tablcmd/Command Line Utility/tabcmd.jar!/tabcmd/lib/multicommand.rb:91:in `run_each'

      file:/C:/tablcmd/Command Line Utility/tabcmd.jar!/tabcmd/lib/commands/export.rb:244:in `run'

      file:/C:/tablcmd/Command Line Utility/tabcmd.jar!/tabcmd/lib/multicommand.rb:162:in `dispatch'

      file:/C:/tablcmd/Command Line Utility/tabcmd.jar!/tabcmd/bin/tabcmd.rb:41:in `run'

      file:/C:/tablcmd/Command Line Utility/tabcmd.jar!/tabcmd/bin/tabcmd.rb:47:in `(root)'

      org/jruby/RubyKernel.java:1063:in `load'

      file:/C:/tablcmd/Command Line Utility/tabcmd.jar!/tabcmd/bin/tabcmd.rb:1:in `(root)'

      org/jruby/RubyKernel.java:1038:in `require'

      file:/C:/tablcmd/Command Line Utility/tabcmd.jar!/META-INF/main.rb:29:in `require'

      <script>:3:in `(root)'

       

      The same thing happens if I use the 'get' command. 

      Any suggestions on what to try next?

       

      Doug