Questions tagged [box]

Avoid using this tag. It has multiple unrelated meanings and therefore could be confusing.

Avoid using this tag. It has multiple unrelated meanings and therefore could be confusing. The tag is currently used for all of the following topics:

  • geometry
  • GUI layout containers
  • boxed (heap allocated) objects & types
987 questions
6
votes
2 answers

Box.COM integration with an android app-OAuthActivity-Nullpointerexception?

I am integrating BOX.COM with my android application.So I am using BoxAndroidLibraryV2 and BoxJavaLibraryV2 with my application. I could run the sample android application BoxSDKSample. So I copied necessary class and layouts from sample…
BABU K
  • 917
  • 13
  • 35
5
votes
1 answer

In Rust, when boxing a value passed as a generic argument, why is a `'static` lifetime bound required?

I'm trying to write a constructor function which takes a generic value implementing some trait by argument, and then boxes it (the point is to then initialize something with these boxes, but the following example is simplified): struct Struct…
yawn
  • 422
  • 1
  • 5
  • 21
5
votes
0 answers

Box Uploading a file: "API upload did not contain a file part" error

I'm having problems trying to upload files via Postman following this documentation: https://developer.box.com/reference#upload-a-file The error response I'm getting is the following: { "code": "bad_request", "help_url":…
saavedrajj
  • 63
  • 5
5
votes
0 answers

Node js and Browser: Pause and Resume file download

I am making file download in client side using nodejs from box. I have one box url. When user hit box url in browser, https://www.example.com?url=https://box.com/file/123 The process i am following is: In node js fetching the box url and making a…
Ashok Gurram
  • 631
  • 5
  • 16
5
votes
1 answer

Where to find jwt_key_id for box python SDK

I am not able to find jwt_key_id. Can anybody guide me to the right direction ? auth = JWTAuth( client_id='got it from app configuration page', client_secret='got it from app configuration page', enterprise_id='got it from app…
astronep
  • 59
  • 1
5
votes
1 answer

Downloading file though Box API 2.0 giving 200 as response instead of 302 found

I'm trying to download a file from Box.com through API using the following code.
Rajesh Manilal
  • 1,104
  • 9
  • 20
5
votes
3 answers

Using Python to download files from Box

I'm trying to use Python to download an Excel file to my local drive from Box. Using the boxsdk I was able to authenticate via OAuth2 and successfully get the file id on Box. However when I use the client.file(file_id).content() function, it just…
Clerin
  • 116
  • 1
  • 4
5
votes
1 answer

levelplot box line width R

Does any know how to change the line width of a levelplot graphic, especially that with multiple panels? The box line width should change alongside the tick marks. In base R one can use plot(x);box(lwd=10). Is this possible within levelplot? Many…
code123
  • 2,082
  • 4
  • 30
  • 53
5
votes
2 answers

Use Git and Box.com together effectively

How do I use git and box.com together effectively? When I try to create a bare repository on box.com mounted with davfs2 (Ubuntu 14.04 LTS), I get errors of the form error: could not commit config file and many of the directories and files I expect…
Liam
  • 1,471
  • 1
  • 15
  • 25
5
votes
3 answers

ionic-box vagrant box - Install Android target: "android-22"

I'm using the latest ionic-box as of 27th April 2015. I've been able to ionic platform add android but getting the following error when ionic build android: [Error: Please install Android target: "android-22". Hint: Open the SDK manager by running:…
Rodrigo Rubio
  • 1,686
  • 2
  • 16
  • 26
5
votes
1 answer

Data is Null. This method or property cannot be called on null values.(using combo box)

Hi I have nulls in a table that I will use to populate a combo box. I am not sure how to do this. When I run the below code I get the error: Data is Null. This method or property cannot be called on null values. I need help and I'm new to…
user3806048
  • 73
  • 1
  • 1
  • 6
4
votes
3 answers

How to check if a Box is a null pointer?

I want to implement a stack using pointers or something. How can I check if a Box is a null pointer? I seen some code with Option> and Box> but I don't understand this. This is as far as I went: struct Node { value: i32, …
ArekBulski
  • 4,520
  • 4
  • 39
  • 61
4
votes
3 answers

Minimum distance between two axis-aligned boxes in n-dimensions

Question: How can I efficiently compute the minimum distance between two axis-aligned boxes in n-dimensions? Box format: The boxes, A and B, are given by their minimum and maximum points, A_min, A_max, B_min, B_max, each of which is a n-dimensional…
Nick Alger
  • 984
  • 7
  • 26
4
votes
2 answers

Select2.js two select box appear

I'm trying to implement select2.js in my project, but, when using an example from their page, two select boxes appear. I'm using bootstrap and the last version of select2. @section Scripts{ @Scripts.Render("~/plugins/select2") } @section Styles{ …
4
votes
1 answer

Box.com - not getting results from new BoxFolder(apiConnection, id) when using As-User header

I am using the As-User header to simulate a subset of users on Box.com as the service account so I can access each one of their files. So I go: res.setRequestInterceptor((RequestInterceptor) request -> { request.addHeader("As-User",…
Nicholas DiPiazza
  • 10,029
  • 11
  • 83
  • 152
1
2
3
65 66