-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some help in getting this up and running #1
Comments
Hi Colum, Thanks for reaching out. Thanks, On Nov 13, 2014, at 11:27 AM, Analect [email protected] wrote:
|
No problem @Kovner ... whenever you find a chance. Much appreciated. |
Sounds less like an app problem and more with the way Trusted
On Thu, Nov 13, 2014 at 2:27 PM, Analect [email protected] wrote:
|
@russch . Thanks for the link. I ran through this set-up, however I still get a '-1' at the end. It points me to another KB article to resolve, but it appears this is blank, for some reason. http://kb.tableausoftware.com/articles/knowledgebase/common-issues-and-errors-associated-trusted-tickets |
OK, so your problem isn't the app, it's the way Tableau Server is At this point your best bet is to jump out to the Tableau User Forums on On Mon, Nov 17, 2014 at 12:14 PM, Analect [email protected] wrote:
|
Hi C:\node\TCC_APIs-master>node app Please can you help me . |
Those look like deprecation warnings, not errors to me. It looks like it's running. But this app is a few years old, Node and Express have advanced significantly since then, so there might be a lot of old or unworking code in there. |
Hey |
Hi,
I made the user and server changes in the code, as per the readme. I created a 'rest' site (with id 'rest') and published the *.twbx file in the repo to this site.
The app runs up OK .. and allows me to sign in ...
However, after sign-in, it gives me an error msg "Could not locate unexpired trust ticket -1"
It appears to be using trusted/-1 as part of the API call .. and getting a 403 forbidden response ...
Only when I click on the "Analyze Your Own Data" ... and the app crashes (see console output at the bottom) ... do I see the Auth token and site id written to the console. Any idea what I might be going wrong here. It appears it is getting an auth token, but then not passing that properly to the REST call?
Also, I see further down in app.js, there are various references to C:\node\public\js and a csv_2_tde.py python script. I don't see any of this documented in the readme. Would you have some info around this, as ideally I would love to be able to refactor to get it working on linux ... as it looks like there's great material in here in terms of trying to get a better understanding for the API.
Is there anything in the code here that handles publishing the a workbook to the server via code? I don't think the REST API handles that ... but I was thinking maybe there was some other clever things being done to get around that.
Thanks,
Colum
(env)me@ubuntu:~/Development/Tools/Tableau/TCC_APIs$ node app
body-parser deprecated bodyParser: use individual json/urlencoded middlewares app.js:27:9
body-parser deprecated undefined extended: provide extended option node_modules/body-parser/index.js:85:29
express-session deprecated undefined resave option; provide resave option app.js:33:9
express-session deprecated undefined saveUninitialized option; provide saveUninitialized option app.js:33:9
express-session deprecated req.secret; provide secret option app.js:33:9
Listening on port 8001
me_user
Auth token: 9250a2809c456c299ce265650c92a40b
site id: 764460ca-3bb7-4672-8b68-71799bf25a34
TypeError: Cannot read property 'length' of undefined
at /home/me/Development/Tools/Tableau/TCC_APIs/app.js:427:56
at Parser. (/home/me/Development/Tools/Tableau/TCC_APIs/node_modules/xml2js/lib/xml2js.js:384:20)
at Parser.emit (events.js:95:17)
at Object.onclosetag (/home/me/Development/Tools/Tableau/TCC_APIs/node_modules/xml2js/lib/xml2js.js:348:26)
at emit (/home/me/Development/Tools/Tableau/TCC_APIs/node_modules/xml2js/node_modules/sax/lib/sax.js:615:33)
at emitNode (/home/me/Development/Tools/Tableau/TCC_APIs/node_modules/xml2js/node_modules/sax/lib/sax.js:620:3)
at closeTag (/home/me/Development/Tools/Tableau/TCC_APIs/node_modules/xml2js/node_modules/sax/lib/sax.js:861:5)
at Object.write (/home/me/Development/Tools/Tableau/TCC_APIs/node_modules/xml2js/node_modules/sax/lib/sax.js:1294:29)
at Parser.exports.Parser.Parser.parseString (/home/me/Development/Tools/Tableau/TCC_APIs/node_modules/xml2js/lib/xml2js.js:403:31)
at Parser.parseString (/home/me/Development/Tools/Tableau/TCC_APIs/node_modules/xml2js/lib/xml2js.js:6:61)
The text was updated successfully, but these errors were encountered: