Comments (10)
Origin is 'http://127.0.0.1:8000'. You need to use:
allow_cors_origin: http://127.0.0.1:8000
(instead of "localhost")
or:
allow_cors_origin: *
Let us know if that fixes it.
from cubesviewer.
I had also tried http://127.0.0.1:8000 before with same results. I just tried allow_cors_origin: * and also, no luck.
from cubesviewer.
I think you may be using the embedded proxy. Try having your browser access directly the cubes server. For that, change your web/cvapp/settings.py
file:
CUBESVIEWER_CUBES_URL="http://localhost:5000"
from cubesviewer.
Ummm, my last comment is not too useful. By default the Django App will use its internal proxy. Are you sure you are using the latest Cubes version? If you keep having trouble I kindly ask you to use the cubes discussion list, as I'm unsure about what the problem can be.
from cubesviewer.
Definitely am using the latest and greatest. I will try a fresh install, just in case. I will let you know the outcome, and if need be I will post to the discussion group.
from cubesviewer.
I am wondering if "allow_cors_origin: *" is the correct syntax or not complete. A while ago, I had to deal with similar issues, and the syntax for allowing CORS headers included several lines on the server. I will play around with the slicer config and let you know what I find. Also, I know for Ajax client calls to a server, you have to set some variant of "cors: true."
from cubesviewer.
I set Chrome to ignore the CORS headers using "open /Applications/Google\ Chrome.app --args --disable-web-security" (this has helped me troubleshoot similar issues in the past).
Anyway, I am still not able to see my Cubes using the latest and greatest. I did not do a fresh install, but will try tomorrow when I have a few minutes to spare. If unsuccessful, then I will post to the Google group.
Here is the command-line output from this last session:
greg-silvermans-macbook-pro-2:cvapp gregsilverman$ python manage.py runserver
Validating models...
0 errors found
Django version 1.4, using settings 'cvapp.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
DEBUG (0.000) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = 3e9d23f9572b2a5745079794a4ea3d1f AND "django_session"."expire_date" > 2014-08-07 00:19:32.549088 ); args=('3e9d23f9572b2a5745079794a4ea3d1f', u'2014-08-07 00:19:32.549088')
DEBUG (0.000) SELECT (1) AS "a" FROM "django_session" WHERE "django_session"."session_key" = 5fb0086428703ce4148ae9eb5215cf91 LIMIT 1; args=('5fb0086428703ce4148ae9eb5215cf91',)
DEBUG (0.000) INSERT INTO "django_session" ("session_key", "session_data", "expire_date") SELECT 5fb0086428703ce4148ae9eb5215cf91 AS "session_key", YWYyNTU2ODhiNDY2OTRjMGRkNzhhZWU0NGQyZjNhOWY0ZTY2NGRjNDqAAn1xAS4=
AS "session_data", 2014-08-21 00:19:32.552614 AS "expire_date"; args=('5fb0086428703ce4148ae9eb5215cf91', 'YWYyNTU2ODhiNDY2OTRjMGRkNzhhZWU0NGQyZjNhOWY0ZTY2NGRjNDqAAn1xAS4=\n', u'2014-08-21 00:19:32.552614')
DEBUG (0.000) SELECT (1) AS "a" FROM "django_session" WHERE "django_session"."session_key" = 5fb0086428703ce4148ae9eb5215cf91 LIMIT 1; args=('5fb0086428703ce4148ae9eb5215cf91',)
DEBUG (0.000) UPDATE "django_session" SET "session_data" = YWYyNTU2ODhiNDY2OTRjMGRkNzhhZWU0NGQyZjNhOWY0ZTY2NGRjNDqAAn1xAS4=
, "expire_date" = 2014-08-21 00:19:32.555269 WHERE "django_session"."session_key" = 5fb0086428703ce4148ae9eb5215cf91 ; args=('YWYyNTU2ODhiNDY2OTRjMGRkNzhhZWU0NGQyZjNhOWY0ZTY2NGRjNDqAAn1xAS4=\n', u'2014-08-21 00:19:32.555269', '5fb0086428703ce4148ae9eb5215cf91')
[07/Aug/2014 00:19:32] "GET /cubesviewer/ HTTP/1.1" 302 0
DEBUG (0.000) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = 5fb0086428703ce4148ae9eb5215cf91 AND "django_session"."expire_date" > 2014-08-07 00:19:32.563054 ); args=('5fb0086428703ce4148ae9eb5215cf91', u'2014-08-07 00:19:32.563054')
DEBUG (0.000) SELECT "django_site"."id", "django_site"."domain", "django_site"."name" FROM "django_site" WHERE "django_site"."id" = 1 ; args=(1,)
DEBUG (0.000) SELECT (1) AS "a" FROM "django_session" WHERE "django_session"."session_key" = 5fb0086428703ce4148ae9eb5215cf91 LIMIT 1; args=('5fb0086428703ce4148ae9eb5215cf91',)
DEBUG (0.000) UPDATE "django_session" SET "session_data" = MTMxODlkZGE1NTQ5NGQzODE5ZTkwZjNhYTYyYWFlNTcxNTE5MzE5NDqAAn1xAVUKdGVzdGNvb2tp
ZXECVQZ3b3JrZWRxA3Mu
, "expire_date" = 2014-08-21 00:19:32.596993 WHERE "django_session"."session_key" = 5fb0086428703ce4148ae9eb5215cf91 ; args=('MTMxODlkZGE1NTQ5NGQzODE5ZTkwZjNhYTYyYWFlNTcxNTE5MzE5NDqAAn1xAVUKdGVzdGNvb2tp\nZXECVQZ3b3JrZWRxA3Mu\n', u'2014-08-21 00:19:32.596993', '5fb0086428703ce4148ae9eb5215cf91')
[07/Aug/2014 00:19:32] "GET /accounts/login/?next=/cubesviewer/ HTTP/1.1" 200 3922
[07/Aug/2014 00:19:32] "GET /static/css/blueprint/screen.css HTTP/1.1" 200 12342
[07/Aug/2014 00:19:32] "GET /static/js/dateformat/dateformat.js HTTP/1.1" 200 3884
[07/Aug/2014 00:19:32] "GET /static/css/cvapp.css HTTP/1.1" 200 1689
[07/Aug/2014 00:19:32] "GET /static/css/jqueryui-cupertino/jquery-ui-1.9.2.custom.css HTTP/1.1" 200 32414
[07/Aug/2014 00:19:32] "GET /static/js/jquery/jquery-ui-1.9.2.custom.min.js HTTP/1.1" 200 237802
[07/Aug/2014 00:19:32] "GET /static/js/jquery/jquery-1.8.3.js HTTP/1.1" 200 267739
[07/Aug/2014 00:19:32] "GET /static/js/jquery/jquery.cookie.js HTTP/1.1" 200 3654
[07/Aug/2014 00:19:32] "GET /static/img/cubesviewer-logo.png HTTP/1.1" 200 11376
[07/Aug/2014 00:19:32] "GET /static/css/blueprint/print.css HTTP/1.1" 200 1286
[07/Aug/2014 00:19:32] "GET /static/js/cvapp.js HTTP/1.1" 200 33
[07/Aug/2014 00:19:32] "GET /static/img/cubes-logo.png HTTP/1.1" 200 10032
[07/Aug/2014 00:19:32] "GET /static/css/jqueryui-cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png HTTP/1.1" 200 103
[07/Aug/2014 00:19:32] "GET /static/css/jqueryui-cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png HTTP/1.1" 200 104
[07/Aug/2014 00:19:32] "GET /static/css/jqueryui-cupertino/images/ui-icons_72a7cf_256x240.png HTTP/1.1" 200 5355
[07/Aug/2014 00:19:32] "GET /static/css/jqueryui-cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png HTTP/1.1" 200 124
[07/Aug/2014 00:19:41] "GET /static/css/jqueryui-cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png HTTP/1.1" 200 158
[07/Aug/2014 00:19:42] "GET /static/css/jqueryui-cupertino/images/ui-bg_glass_50_3baae3_1x400.png HTTP/1.1" 200 131
DEBUG (0.000) SELECT "auth_user"."id", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."password", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."is_superuser", "auth_user"."last_login", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."username" = gregsilverman ; args=(u'gregsilverman',)
DEBUG (0.000) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = 5fb0086428703ce4148ae9eb5215cf91 AND "django_session"."expire_date" > 2014-08-07 00:19:42.256325 ); args=('5fb0086428703ce4148ae9eb5215cf91', u'2014-08-07 00:19:42.256325')
DEBUG (0.000) SELECT (1) AS "a" FROM "django_session" WHERE "django_session"."session_key" = aec6e370be9ac05c7ba52023ced475cf LIMIT 1; args=('aec6e370be9ac05c7ba52023ced475cf',)
DEBUG (0.000) INSERT INTO "django_session" ("session_key", "session_data", "expire_date") SELECT aec6e370be9ac05c7ba52023ced475cf AS "session_key", ZjhmOGMxY2Y1NjRiOWI0NWE5NjFiZWMyYWUzOWVlMmRmNGIwNDQ2YzqAAn1xAVUKdGVzdGNvb2tp
ZVUGd29ya2Vkcy4=
AS "session_data", 2014-08-21 00:19:42.258378 AS "expire_date"; args=('aec6e370be9ac05c7ba52023ced475cf', 'ZjhmOGMxY2Y1NjRiOWI0NWE5NjFiZWMyYWUzOWVlMmRmNGIwNDQ2YzqAAn1xAVUKdGVzdGNvb2tp\nZVUGd29ya2Vkcy4=\n', u'2014-08-21 00:19:42.258378')
DEBUG (0.000) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE "django_session"."session_key" = 5fb0086428703ce4148ae9eb5215cf91 ; args=('5fb0086428703ce4148ae9eb5215cf91',)
DEBUG (0.000) DELETE FROM "django_session" WHERE "session_key" IN (5fb0086428703ce4148ae9eb5215cf91); args=(u'5fb0086428703ce4148ae9eb5215cf91',)
DEBUG (0.000) SELECT (1) AS "a" FROM "auth_user" WHERE "auth_user"."id" = 1 LIMIT 1; args=(1,)
DEBUG (0.000) UPDATE "auth_user" SET "username" = gregsilverman, "first_name" = , "last_name" = , "email" = [email protected], "password" = pbkdf2_sha256$10000$j1R5FjMRWwGM$wqJzD7WyCuEFF+1BjNPKfiu7eENPuPgTOM3GrzDlGKc=, "is_staff" = True, "is_active" = True, "is_superuser" = True, "last_login" = 2014-08-07 00:19:42.261894, "date_joined" = 2014-08-07 00:19:16.024174 WHERE "auth_user"."id" = 1 ; args=(u'gregsilverman', u'', u'', u'[email protected]', u'pbkdf2_sha256$10000$j1R5FjMRWwGM$wqJzD7WyCuEFF+1BjNPKfiu7eENPuPgTOM3GrzDlGKc=', True, True, True, u'2014-08-07 00:19:42.261894', u'2014-08-07 00:19:16.024174', 1)
DEBUG (0.000) SELECT (1) AS "a" FROM "django_session" WHERE "django_session"."session_key" = aec6e370be9ac05c7ba52023ced475cf LIMIT 1; args=('aec6e370be9ac05c7ba52023ced475cf',)
DEBUG (0.000) UPDATE "django_session" SET "session_data" = OWE5MmI0NTA4MmNhZGViYmFjMTQyZTYwYTBlYzg3ZDliYzU1MmM2MTqAAn1xAShVEl9hdXRoX3Vz
ZXJfYmFja2VuZHECVSlkamFuZ28uY29udHJpYi5hdXRoLmJhY2tlbmRzLk1vZGVsQmFja2VuZHED
VQ1fYXV0aF91c2VyX2lkcQRLAXUu
, "expire_date" = 2014-08-21 00:19:42.264417 WHERE "django_session"."session_key" = aec6e370be9ac05c7ba52023ced475cf ; args=('OWE5MmI0NTA4MmNhZGViYmFjMTQyZTYwYTBlYzg3ZDliYzU1MmM2MTqAAn1xAShVEl9hdXRoX3Vz\nZXJfYmFja2VuZHECVSlkamFuZ28uY29udHJpYi5hdXRoLmJhY2tlbmRzLk1vZGVsQmFja2VuZHED\nVQ1fYXV0aF91c2VyX2lkcQRLAXUu\n', u'2014-08-21 00:19:42.264417', 'aec6e370be9ac05c7ba52023ced475cf')
[07/Aug/2014 00:19:42] "POST /accounts/login/ HTTP/1.1" 302 0
DEBUG (0.000) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = aec6e370be9ac05c7ba52023ced475cf AND "django_session"."expire_date" > 2014-08-07 00:19:42.338616 ); args=('aec6e370be9ac05c7ba52023ced475cf', u'2014-08-07 00:19:42.338616')
DEBUG (0.000) SELECT "auth_user"."id", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."password", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."is_superuser", "auth_user"."last_login", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = 1 ; args=(1,)
[07/Aug/2014 00:19:42] "GET /cubesviewer/ HTTP/1.1" 200 6784
[07/Aug/2014 00:19:42] "GET /static/css/cvapp.css HTTP/1.1" 200 1689
[07/Aug/2014 00:19:42] "GET /static/css/blueprint/print.css HTTP/1.1" 200 1286
[07/Aug/2014 00:19:42] "GET /static/css/jqgrid/ui.jqgrid.css HTTP/1.1" 200 12198
[07/Aug/2014 00:19:42] "GET /static/js/dateformat/dateformat.js HTTP/1.1" 200 3884
[07/Aug/2014 00:19:42] "GET /static/js/qtip/jquery.qtip.css HTTP/1.1" 200 12200
[07/Aug/2014 00:19:42] "GET /static/css/jqueryui-cupertino/jquery-ui-1.9.2.custom.css HTTP/1.1" 200 32414
[07/Aug/2014 00:19:42] "GET /static/css/blueprint/screen.css HTTP/1.1" 200 12342
[07/Aug/2014 00:19:42] "GET /static/js/jquery/jquery-1.8.3.js HTTP/1.1" 200 267739
[07/Aug/2014 00:19:42] "GET /static/js/wiky/wiky.math.css HTTP/1.1" 200 1472
[07/Aug/2014 00:19:42] "GET /static/js/nvd3/nv.d3.min.css HTTP/1.1" 200 8695
[07/Aug/2014 00:19:42] "GET /static/css/cubesviewer/cubesviewer.css HTTP/1.1" 200 6253
[07/Aug/2014 00:19:42] "GET /static/js/cvapp.js HTTP/1.1" 200 33
[07/Aug/2014 00:19:42] "GET /static/js/jquery/jquery.blockUI.js HTTP/1.1" 200 18703
[07/Aug/2014 00:19:42] "GET /static/js/flotr2/flotr2.min.js HTTP/1.1" 200 96531
[07/Aug/2014 00:19:42] "GET /static/js/d3js/d3.v3.js HTTP/1.1" 200 325164
[07/Aug/2014 00:19:42] "GET /static/js/nvd3/nv.d3.js HTTP/1.1" 200 450730
[07/Aug/2014 00:19:42] "GET /static/js/qtip/jquery.qtip.js HTTP/1.1" 200 96039
[07/Aug/2014 00:19:42] "GET /static/js/jquery/jquery.cookie.js HTTP/1.1" 200 3654
[07/Aug/2014 00:19:42] "GET /static/js/wiky/wiky.js HTTP/1.1" 200 19569
[07/Aug/2014 00:19:42] "GET /static/js/wiky/wiky.math.js HTTP/1.1" 200 19432
[07/Aug/2014 00:19:42] "GET /static/js/jquery/jquery-ui-1.9.2.custom.min.js HTTP/1.1" 200 237802
[07/Aug/2014 00:19:42] "GET /static/js/jqgrid/i18n/grid.locale-en.js HTTP/1.1" 200 6531
[07/Aug/2014 00:19:42] "GET /static/js/cubes/cubes.js HTTP/1.1" 200 26662
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.js HTTP/1.1" 200 8115
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.cube.js HTTP/1.1" 200 7666
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.cube.explore.js HTTP/1.1" 200 23589
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.cube.datefilter.js HTTP/1.1" 200 12624
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.cube.series.js HTTP/1.1" 200 14996
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.cube.chart.js HTTP/1.1" 200 23376
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.cube.dimensionfilter.js HTTP/1.1" 200 14577
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.cube.columns.js HTTP/1.1" 200 8377
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.cube.export.js HTTP/1.1" 200 4883
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.undo.js HTTP/1.1" 200 5421
[07/Aug/2014 00:19:42] "GET /static/js/jqgrid/jquery.jqGrid.min.js HTTP/1.1" 200 259343
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.notes.js HTTP/1.1" 200 9410
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.js HTTP/1.1" 200 5442
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.cache.js HTTP/1.1" 200 3649
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.gui.js HTTP/1.1" 200 10450
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.gui.reststore.js HTTP/1.1" 200 12111
[07/Aug/2014 00:19:42] "GET /static/img/cubesviewer-logo.png HTTP/1.1" 200 11376
[07/Aug/2014 00:19:42] "GET /static/img/cubes-logo.png HTTP/1.1" 200 10032
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.cube.rangefilter.js HTTP/1.1" 200 9418
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.views.cube.facts.js HTTP/1.1" 200 8871
[07/Aug/2014 00:19:42] "GET /static/js/cubesviewer/cubesviewer.gui.serializing.js HTTP/1.1" 200 4246
[07/Aug/2014 00:19:42] "GET /static/css/jqueryui-cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png HTTP/1.1" 200 103
DEBUG (0.000) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = 8e0a686a60d5fd4ec54eaf02e8e9d7b9 AND "django_session"."expire_date" > 2014-08-07 00:19:42.716785 ); args=('8e0a686a60d5fd4ec54eaf02e8e9d7b9', u'2014-08-07 00:19:42.716785')
DEBUG (0.000) SELECT (1) AS "a" FROM "django_session" WHERE "django_session"."session_key" = 1ed813e63e044c31734f6d1f145e2531 LIMIT 1; args=('1ed813e63e044c31734f6d1f145e2531',)
DEBUG (0.000) INSERT INTO "django_session" ("session_key", "session_data", "expire_date") SELECT 1ed813e63e044c31734f6d1f145e2531 AS "session_key", YWYyNTU2ODhiNDY2OTRjMGRkNzhhZWU0NGQyZjNhOWY0ZTY2NGRjNDqAAn1xAS4=
AS "session_data", 2014-08-21 00:19:42.719133 AS "expire_date"; args=('1ed813e63e044c31734f6d1f145e2531', 'YWYyNTU2ODhiNDY2OTRjMGRkNzhhZWU0NGQyZjNhOWY0ZTY2NGRjNDqAAn1xAS4=\n', u'2014-08-21 00:19:42.719133')
DEBUG (0.000) SELECT (1) AS "a" FROM "django_session" WHERE "django_session"."session_key" = 1ed813e63e044c31734f6d1f145e2531 LIMIT 1; args=('1ed813e63e044c31734f6d1f145e2531',)
DEBUG (0.000) UPDATE "django_session" SET "session_data" = YWYyNTU2ODhiNDY2OTRjMGRkNzhhZWU0NGQyZjNhOWY0ZTY2NGRjNDqAAn1xAS4=
, "expire_date" = 2014-08-21 00:19:42.720451 WHERE "django_session"."session_key" = 1ed813e63e044c31734f6d1f145e2531 ; args=('YWYyNTU2ODhiNDY2OTRjMGRkNzhhZWU0NGQyZjNhOWY0ZTY2NGRjNDqAAn1xAS4=\n', u'2014-08-21 00:19:42.720451', '1ed813e63e044c31734f6d1f145e2531')
[07/Aug/2014 00:19:42] "GET /cubesviewer/cubes/info HTTP/1.1" 302 0
DEBUG (0.000) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = 8e0a686a60d5fd4ec54eaf02e8e9d7b9 AND "django_session"."expire_date" > 2014-08-07 00:19:42.725454 ); args=('8e0a686a60d5fd4ec54eaf02e8e9d7b9', u'2014-08-07 00:19:42.725454')
DEBUG (0.000) SELECT (1) AS "a" FROM "django_session" WHERE "django_session"."session_key" = 2249e55ca06fa455b227b6c81133de6f LIMIT 1; args=('2249e55ca06fa455b227b6c81133de6f',)
DEBUG (0.000) INSERT INTO "django_session" ("session_key", "session_data", "expire_date") SELECT 2249e55ca06fa455b227b6c81133de6f AS "session_key", YWYyNTU2ODhiNDY2OTRjMGRkNzhhZWU0NGQyZjNhOWY0ZTY2NGRjNDqAAn1xAS4=
AS "session_data", 2014-08-21 00:19:42.729605 AS "expire_date"; args=('2249e55ca06fa455b227b6c81133de6f', 'YWYyNTU2ODhiNDY2OTRjMGRkNzhhZWU0NGQyZjNhOWY0ZTY2NGRjNDqAAn1xAS4=\n', u'2014-08-21 00:19:42.729605')
DEBUG (0.000) SELECT (1) AS "a" FROM "django_session" WHERE "django_session"."session_key" = 2249e55ca06fa455b227b6c81133de6f LIMIT 1; args=('2249e55ca06fa455b227b6c81133de6f',)
DEBUG (0.000) UPDATE "django_session" SET "session_data" = YWYyNTU2ODhiNDY2OTRjMGRkNzhhZWU0NGQyZjNhOWY0ZTY2NGRjNDqAAn1xAS4=
, "expire_date" = 2014-08-21 00:19:42.731085 WHERE "django_session"."session_key" = 2249e55ca06fa455b227b6c81133de6f ; args=('YWYyNTU2ODhiNDY2OTRjMGRkNzhhZWU0NGQyZjNhOWY0ZTY2NGRjNDqAAn1xAS4=\n', u'2014-08-21 00:19:42.731085', '2249e55ca06fa455b227b6c81133de6f')
[07/Aug/2014 00:19:42] "GET /cubesviewer/view/list/ HTTP/1.1" 302 0
DEBUG (0.001) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = 1ed813e63e044c31734f6d1f145e2531 AND "django_session"."expire_date" > 2014-08-07 00:19:42.737330 ); args=('1ed813e63e044c31734f6d1f145e2531', u'2014-08-07 00:19:42.737330')
DEBUG (0.000) SELECT (1) AS "a" FROM "django_session" WHERE "django_session"."session_key" = 1ed813e63e044c31734f6d1f145e2531 LIMIT 1; args=('1ed813e63e044c31734f6d1f145e2531',)
DEBUG (0.003) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = 2249e55ca06fa455b227b6c81133de6f AND "django_session"."expire_date" > 2014-08-07 00:19:42.744437 ); args=('2249e55ca06fa455b227b6c81133de6f', u'2014-08-07 00:19:42.744437')
DEBUG (0.001) UPDATE "django_session" SET "session_data" = MTMxODlkZGE1NTQ5NGQzODE5ZTkwZjNhYTYyYWFlNTcxNTE5MzE5NDqAAn1xAVUKdGVzdGNvb2tp
ZXECVQZ3b3JrZWRxA3Mu
, "expire_date" = 2014-08-21 00:19:42.748435 WHERE "django_session"."session_key" = 1ed813e63e044c31734f6d1f145e2531 ; args=('MTMxODlkZGE1NTQ5NGQzODE5ZTkwZjNhYTYyYWFlNTcxNTE5MzE5NDqAAn1xAVUKdGVzdGNvb2tp\nZXECVQZ3b3JrZWRxA3Mu\n', u'2014-08-21 00:19:42.748435', '1ed813e63e044c31734f6d1f145e2531')
DEBUG (0.000) SELECT (1) AS "a" FROM "django_session" WHERE "django_session"."session_key" = 2249e55ca06fa455b227b6c81133de6f LIMIT 1; args=('2249e55ca06fa455b227b6c81133de6f',)
[07/Aug/2014 00:19:42] "GET /accounts/login/?next=/cubesviewer/cubes/info HTTP/1.1" 200 3932
DEBUG (0.000) UPDATE "django_session" SET "session_data" = MTMxODlkZGE1NTQ5NGQzODE5ZTkwZjNhYTYyYWFlNTcxNTE5MzE5NDqAAn1xAVUKdGVzdGNvb2tp
ZXECVQZ3b3JrZWRxA3Mu
, "expire_date" = 2014-08-21 00:19:42.755438 WHERE "django_session"."session_key" = 2249e55ca06fa455b227b6c81133de6f ; args=('MTMxODlkZGE1NTQ5NGQzODE5ZTkwZjNhYTYyYWFlNTcxNTE5MzE5NDqAAn1xAVUKdGVzdGNvb2tp\nZXECVQZ3b3JrZWRxA3Mu\n', u'2014-08-21 00:19:42.755438', '2249e55ca06fa455b227b6c81133de6f')
[07/Aug/2014 00:19:42] "GET /accounts/login/?next=/cubesviewer/view/list/ HTTP/1.1" 200 3932
from cubesviewer.
Did you manage to make it work?
From the Django trace, seems like if you were not authenticated in to the Django application (are cookies enabled).
If the Django keeps failing, try using the static viewer (src/htmlviews/gui.html) and let me know if it works.
from cubesviewer.
I apologize for not getting back to you sooner, but other priorities got in
the way. I will try to get back to this by the end of the week.
On Aug 12, 2014 5:19 AM, "Jose Juan Montes" [email protected]
wrote:
Did you manage to make it work?
From the Django trace, seems like if you were not authenticated in to the
Django application (are cookies enabled).If the Django keeps failing, try using the static viewer
(src/htmlviews/gui.html) and let me know if it works.—
Reply to this email directly or view it on GitHub
#28 (comment)
.
from cubesviewer.
Install Django cor headers . It will make it work
https://github.com/ottoyiu/django-cors-headers
from cubesviewer.
Related Issues (20)
- Dimension elements "lost" when switching to Pie chart HOT 8
- Negative values are not shown in pie chart HOT 1
- Issue with "Export figure" on FF 64 HOT 2
- Popups on charts sometimes stop working HOT 1
- Missing months in the bar chart when there's no data for them HOT 1
- Saved views: changing grouped/stacked is not an aspect of view metadata modification HOT 1
- I want to open .cus file with client, is this possible? HOT 1
- No user created on migration HOT 1
- CubesViewer Proxy User & ACL HOT 2
- Internal Model Error with Apache in Windows HOT 1
- Order_Attribute not working in CubesViewer-Server 2.0.2 HOT 1
- Chart in Cubes Viewer HOT 1
- Error in series table with horizontal dimension and null value
- Export figure option results in an undefined output filename and corrupted PNG HOT 1
- login
- Order_Attribute not working for dimension filter HOT 1
- Cubesviewer studio admin password HOT 1
- store data base conecction error HOT 1
- Quick Start guide non working under Windows HOT 1
- aggregates sum returns 0 when column contains positive and negative numbers HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cubesviewer.