question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to upload files >64 MB.

See original GitHub issue

It would say the following error: TypeError: publish_req_chunked() takes at most 3 arguments (4 given) After jumping into the package, I found editing these lines resolved the issue:

server-client-python/tableauserverclient/server/request_factory.py - line 105 and 394, i added either connection_credentials or connections - depending on what was missing:

105 - Previous: def publish_req_chunked(self, datasource_item, connection_credentials=None): 105 - Fixed: def publish_req_chunked(self, datasource_item, connection_credentials=None, connections=None):

394 - Previous: def publish_req_chunked(self, workbook_item, connections=None): 394 - Fixed: def publish_req_chunked(self, workbook_item, connection_credentials=None, connections=None):

Is there a reason why it was left off? Looking at the following lines, it makes more sense to have them there.

After I made these changes, I was able to upload a 700+ MB file.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
t8y8commented, Jan 19, 2019

@RussTheAerialist I know an internal team has a PR out that they’d like released shortly, maybe we can try and get those merged and released next week. I’m on vacation but I’ll support code reviews that I’m tagged in!

1reaction
bskim45commented, Aug 17, 2018

I just made another PR to cover latter case. btw, is there any ETA for next release? @t8y8

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can not upload file greater than 64MB via FileBrowser in HUE
Solved: Hi Team, I am trying to upload a file that more that 64MB(approximately 1GB) via the File Browser in - 118856.
Read more >
Cannot Upload Large Files When You Use the HtmlInputFile ...
This problem occurs because the default value for the maxRequestLength parameter in the <httpRuntime> section of the Machine.config file is 4096 (4 megabytes)....
Read more >
Windows Azure: Can't upload a 34 MB file on to the blob
Blobs larger than 64MB must be uploaded using block blobs. You break the file into blocks, upload all the blocks (associating each block...
Read more >
How to Increase the Max Upload Size in WordPress - Kinsta
The default max upload file size at Kinsta is set to 128 MB. ... php_value upload_max_filesize 32M php_value post_max_size 64M php_value ...
Read more >
How to Increase Maximum File Upload Size in WordPress
However, some methods may not work on the majority of web hosts. If in case, the above methods do not work with you,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found