Update to bokeh 0.12.3 broke webapp

Hi,

As the title states, the update to bokeh 0.12.3 broke my webapp. Without changing any of my code (that was working fine in 0.12.2dev4) none of my bokeh plots render in 0.12.4. I am receiving the JS error Uncaught Error: attempted to retrieve property value for property without value specification from the built in BokehJS code.

Reuben

The specific issue I have tracked down to this block of bokeh JS code:

Property.prototype.value = function(do_spec_transform) {

var ret;

if (do_spec_transform == null) {

do_spec_transform = true;

}

if (_.isUndefined(this.spec.value)) {

throw new Error(“attempted to retrieve property value for property without value specification”);

}

ret = this.transform([this.spec.value])[0];

if ((this.spec.transform != null) && do_spec_transform) {

ret = this.spec.transform.compute(ret);

}

return ret;

};

``

···

On Tuesday, October 11, 2016 at 10:28:13 AM UTC-4, Reuben Jacobs wrote:

Hi,

As the title states, the update to bokeh 0.12.3 broke my webapp. Without changing any of my code (that was working fine in 0.12.2dev4) none of my bokeh plots render in 0.12.4. I am receiving the JS error Uncaught Error: attempted to retrieve property value for property without value specification from the built in BokehJS code.

Reuben

Hi Reuben,

are you running into this by chance:

  Charts and plots not rendering with user defined title text_font_size in em · Issue #5337 · bokeh/bokeh · GitHub

If it is not the "font size in 'em'" issue then we would need more code to be able to help and diagnose.

Thanks,

Bryan

···

On Oct 11, 2016, at 10:40 AM, Reuben Jacobs <[email protected]> wrote:

The specific issue I have tracked down to this block of bokeh JS code:

              Property.prototype.value = function(do_spec_transform) {
                var ret;
                if (do_spec_transform == null) {
                  do_spec_transform = true;
                }
                if (_.isUndefined(this.spec.value)) {
                  throw new Error("attempted to retrieve property value for property without value specification");
                }
                ret = this.transform([this.spec.value])[0];
                if ((this.spec.transform != null) && do_spec_transform) {
                  ret = this.spec.transform.compute(ret);
                }
                return ret;
              };

On Tuesday, October 11, 2016 at 10:28:13 AM UTC-4, Reuben Jacobs wrote:
Hi,

As the title states, the update to bokeh 0.12.3 broke my webapp. Without changing any of my code (that was working fine in 0.12.2dev4) none of my bokeh plots render in 0.12.4. I am receiving the JS error `Uncaught Error: attempted to retrieve property value for property without value specification` from the built in BokehJS code.

Reuben

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0cd3f270-10e7-4a35-83d3-64d4e4f24143%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Hi Bryan,

I am RubyJ on github so yes, that is the same issue :slight_smile:

···

On Tuesday, October 11, 2016 at 11:43:59 AM UTC-4, Bryan Van de ven wrote:

Hi Reuben,

are you running into this by chance:

    [https://github.com/bokeh/bokeh/issues/5337](https://github.com/bokeh/bokeh/issues/5337)

If it is not the “font size in ‘em’” issue then we would need more code to be able to help and diagnose.

Thanks,

Bryan

On Oct 11, 2016, at 10:40 AM, Reuben Jacobs [email protected] wrote:

The specific issue I have tracked down to this block of bokeh JS code:

          Property.prototype.value = function(do_spec_transform) {
            var ret;
            if (do_spec_transform == null) {
              do_spec_transform = true;
            }
            if (_.isUndefined(this.spec.value)) {
              throw new Error("attempted to retrieve property value for property without value specification");
            }
            ret = this.transform([this.spec.value])[0];
            if ((this.spec.transform != null) && do_spec_transform) {
              ret = this.spec.transform.compute(ret);
            }
            return ret;
          };

On Tuesday, October 11, 2016 at 10:28:13 AM UTC-4, Reuben Jacobs wrote:

Hi,

As the title states, the update to bokeh 0.12.3 broke my webapp. Without changing any of my code (that was working fine in 0.12.2dev4) none of my bokeh plots render in 0.12.4. I am receiving the JS error Uncaught Error: attempted to retrieve property value for property without value specification from the built in BokehJS code.

Reuben


You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0cd3f270-10e7-4a35-83d3-64d4e4f24143%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Ah, OK. :slight_smile: We will have a dev build out soon with a fix.

Thanks,

Bryan

···

On Oct 11, 2016, at 11:50 AM, Reuben Jacobs <[email protected]> wrote:

Hi Bryan,

I am RubyJ on github so yes, that is the same issue :slight_smile:

On Tuesday, October 11, 2016 at 11:43:59 AM UTC-4, Bryan Van de ven wrote:
Hi Reuben,

are you running into this by chance:

        Charts and plots not rendering with user defined title text_font_size in em · Issue #5337 · bokeh/bokeh · GitHub

If it is not the "font size in 'em'" issue then we would need more code to be able to help and diagnose.

Thanks,

Bryan

> On Oct 11, 2016, at 10:40 AM, Reuben Jacobs <[email protected]> wrote:
>
> The specific issue I have tracked down to this block of bokeh JS code:
>
> Property.prototype.value = function(do_spec_transform) {
> var ret;
> if (do_spec_transform == null) {
> do_spec_transform = true;
> }
> if (_.isUndefined(this.spec.value)) {
> throw new Error("attempted to retrieve property value for property without value specification");
> }
> ret = this.transform([this.spec.value])[0];
> if ((this.spec.transform != null) && do_spec_transform) {
> ret = this.spec.transform.compute(ret);
> }
> return ret;
> };
>
>
>
> On Tuesday, October 11, 2016 at 10:28:13 AM UTC-4, Reuben Jacobs wrote:
> Hi,
>
> As the title states, the update to bokeh 0.12.3 broke my webapp. Without changing any of my code (that was working fine in 0.12.2dev4) none of my bokeh plots render in 0.12.4. I am receiving the JS error `Uncaught Error: attempted to retrieve property value for property without value specification` from the built in BokehJS code.
>
> Reuben
>
> --
> You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
> To post to this group, send email to bo...@continuum.io.
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0cd3f270-10e7-4a35-83d3-64d4e4f24143%40continuum.io\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/d181620a-6741-462d-9311-3d6502541ca9%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Just as a follow up there are dev builds out now with this fix.

Thanks,

Bryan

···

On Oct 11, 2016, at 10:52 AM, Bryan Van de Ven <[email protected]> wrote:

Ah, OK. :slight_smile: We will have a dev build out soon with a fix.

Thanks,

Bryan

On Oct 11, 2016, at 11:50 AM, Reuben Jacobs <[email protected]> wrote:

Hi Bryan,

I am RubyJ on github so yes, that is the same issue :slight_smile:

On Tuesday, October 11, 2016 at 11:43:59 AM UTC-4, Bryan Van de ven wrote:
Hi Reuben,

are you running into this by chance:

       Charts and plots not rendering with user defined title text_font_size in em · Issue #5337 · bokeh/bokeh · GitHub

If it is not the "font size in 'em'" issue then we would need more code to be able to help and diagnose.

Thanks,

Bryan

On Oct 11, 2016, at 10:40 AM, Reuben Jacobs <[email protected]> wrote:

The specific issue I have tracked down to this block of bokeh JS code:

             Property.prototype.value = function(do_spec_transform) {
               var ret;
               if (do_spec_transform == null) {
                 do_spec_transform = true;
               }
               if (_.isUndefined(this.spec.value)) {
                 throw new Error("attempted to retrieve property value for property without value specification");
               }
               ret = this.transform([this.spec.value])[0];
               if ((this.spec.transform != null) && do_spec_transform) {
                 ret = this.spec.transform.compute(ret);
               }
               return ret;
             };

On Tuesday, October 11, 2016 at 10:28:13 AM UTC-4, Reuben Jacobs wrote:
Hi,

As the title states, the update to bokeh 0.12.3 broke my webapp. Without changing any of my code (that was working fine in 0.12.2dev4) none of my bokeh plots render in 0.12.4. I am receiving the JS error `Uncaught Error: attempted to retrieve property value for property without value specification` from the built in BokehJS code.

Reuben

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
To post to this group, send email to bo...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0cd3f270-10e7-4a35-83d3-64d4e4f24143%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/d181620a-6741-462d-9311-3d6502541ca9%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Happy new year. In Python the Circle renderer works fine, whereas Line renderer raises the above JS exception.

bokeh 0.12.3

from bokeh.models import ColumnDataSource

from bokeh.plotting import figure, show

from bokeh.io import output_notebook, push_notebook

output_notebook(hide_banner=True)

source = ColumnDataSource(dict(x=[1.2, 3.4], y=[3.2, 4.5], sz=[20.5, 40.1], lw=[1.1, 2.2]))

plot = figure()

plot.circle(‘x’, ‘y’, source=source, size=‘sz’) # This line works fine

plot.line(‘x’, ‘y’, source=source, line_width=‘lw’) # This line raises

Uncaught Error: attempted to retrieve property value for property without value specification

show(plot)

···

On Friday, 21 October 2016 17:07:41 UTC+1, Bryan Van de ven wrote:

Just as a follow up there are dev builds out now with this fix.

Thanks,

Bryan

On Oct 11, 2016, at 10:52 AM, Bryan Van de Ven [email protected] wrote:

Ah, OK. :slight_smile: We will have a dev build out soon with a fix.

Thanks,

Bryan

On Oct 11, 2016, at 11:50 AM, Reuben Jacobs [email protected] wrote:

Hi Bryan,

I am RubyJ on github so yes, that is the same issue :slight_smile:

On Tuesday, October 11, 2016 at 11:43:59 AM UTC-4, Bryan Van de ven wrote:

Hi Reuben,

are you running into this by chance:

   [https://github.com/bokeh/bokeh/issues/5337](https://github.com/bokeh/bokeh/issues/5337)

If it is not the “font size in ‘em’” issue then we would need more code to be able to help and diagnose.

Thanks,

Bryan

On Oct 11, 2016, at 10:40 AM, Reuben Jacobs [email protected] wrote:

The specific issue I have tracked down to this block of bokeh JS code:

         Property.prototype.value = function(do_spec_transform) {
           var ret;
           if (do_spec_transform == null) {
             do_spec_transform = true;
           }
           if (_.isUndefined(this.spec.value)) {
             throw new Error("attempted to retrieve property value for property without value specification");
           }
           ret = this.transform([this.spec.value])[0];
           if ((this.spec.transform != null) && do_spec_transform) {
             ret = this.spec.transform.compute(ret);
           }
           return ret;
         };

On Tuesday, October 11, 2016 at 10:28:13 AM UTC-4, Reuben Jacobs wrote:
Hi,

As the title states, the update to bokeh 0.12.3 broke my webapp. Without changing any of my code (that was working fine in 0.12.2dev4) none of my bokeh plots render in 0.12.4. I am receiving the JS error Uncaught Error: attempted to retrieve property value for property without value specification from the built in BokehJS code.

Reuben


You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0cd3f270-10e7-4a35-83d3-64d4e4f24143%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.


You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/d181620a-6741-462d-9311-3d6502541ca9%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Hi,

The line glyph only draws one single line, it is not semantically meaningful for it to accept multiple/vectorized line properties. If it was accepted before, that was a mistake (and it certainly could not have "worked") Depending on what you are trying to do, you can:

* keep the column in the CDS but just pass a scalar for line width
* use multi_line to have multiple lines with different line widths

Thanks,

Bryan

···

On Jan 3, 2017, at 5:20 AM, [email protected] wrote:

Happy new year. In Python the Circle renderer works fine, whereas Line renderer raises the above JS exception.

# bokeh 0.12.3

from bokeh.models import ColumnDataSource
from bokeh.plotting import figure, show
from bokeh.io import output_notebook, push_notebook

output_notebook(hide_banner=True)

source = ColumnDataSource(dict(x=[1.2, 3.4], y=[3.2, 4.5], sz=[20.5, 40.1], lw=[1.1, 2.2]))

plot = figure()
plot.circle('x', 'y', source=source, size='sz') # This line works fine
plot.line('x', 'y', source=source, line_width='lw') # This line raises
# Uncaught Error: attempted to retrieve property value for property without value specification
show(plot)

On Friday, 21 October 2016 17:07:41 UTC+1, Bryan Van de ven wrote:
Just as a follow up there are dev builds out now with this fix.

Thanks,

Bryan

> On Oct 11, 2016, at 10:52 AM, Bryan Van de Ven <[email protected]> wrote:
>
> Ah, OK. :slight_smile: We will have a dev build out soon with a fix.
>
> Thanks,
>
> Bryan
>
>> On Oct 11, 2016, at 11:50 AM, Reuben Jacobs <[email protected]> wrote:
>>
>> Hi Bryan,
>>
>> I am RubyJ on github so yes, that is the same issue :slight_smile:
>>
>> On Tuesday, October 11, 2016 at 11:43:59 AM UTC-4, Bryan Van de ven wrote:
>> Hi Reuben,
>>
>> are you running into this by chance:
>>
>> Charts and plots not rendering with user defined title text_font_size in em · Issue #5337 · bokeh/bokeh · GitHub
>>
>> If it is not the "font size in 'em'" issue then we would need more code to be able to help and diagnose.
>>
>> Thanks,
>>
>> Bryan
>>
>>
>>> On Oct 11, 2016, at 10:40 AM, Reuben Jacobs <[email protected]> wrote:
>>>
>>> The specific issue I have tracked down to this block of bokeh JS code:
>>>
>>> Property.prototype.value = function(do_spec_transform) {
>>> var ret;
>>> if (do_spec_transform == null) {
>>> do_spec_transform = true;
>>> }
>>> if (_.isUndefined(this.spec.value)) {
>>> throw new Error("attempted to retrieve property value for property without value specification");
>>> }
>>> ret = this.transform([this.spec.value])[0];
>>> if ((this.spec.transform != null) && do_spec_transform) {
>>> ret = this.spec.transform.compute(ret);
>>> }
>>> return ret;
>>> };
>>>
>>>
>>>
>>> On Tuesday, October 11, 2016 at 10:28:13 AM UTC-4, Reuben Jacobs wrote:
>>> Hi,
>>>
>>> As the title states, the update to bokeh 0.12.3 broke my webapp. Without changing any of my code (that was working fine in 0.12.2dev4) none of my bokeh plots render in 0.12.4. I am receiving the JS error `Uncaught Error: attempted to retrieve property value for property without value specification` from the built in BokehJS code.
>>>
>>> Reuben
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
>>> To post to this group, send email to bo...@continuum.io.
>>> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0cd3f270-10e7-4a35-83d3-64d4e4f24143%40continuum.io\.
>>> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
>> To post to this group, send email to bo...@continuum.io.
>> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/d181620a-6741-462d-9311-3d6502541ca9%40continuum.io\.
>> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
>

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/86d00219-1673-48cb-a7f5-b8dc5f54adb8%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.