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.

Rerender Attribute Error

See original GitHub issue

When I try to rerender the openmc-feedstock locally I see,

scopatz@artemis ~/feedstocks/openmc v0.10.0 $ conda smithy rerender -c auto
WARNING: attribute CONDA_NPY is deprecated and will be removed in conda-build 4.0.  Please update your code - file issues on the conda-build issue tracker if you need help.
WARNING conda_build.config:func_wrapper(170): WARNING: attribute CONDA_NPY is deprecated and will be removed in conda-build 4.0.  Please update your code - file issues on the conda-build issue tracker if you need help.
WARNING: attribute CONDA_PY is deprecated and will be removed in conda-build 4.0.  Please update your code - file issues on the conda-build issue tracker if you need help.
WARNING conda_build.config:func_wrapper(170): WARNING: attribute CONDA_PY is deprecated and will be removed in conda-build 4.0.  Please update your code - file issues on the conda-build issue tracker if you need help.
Traceback (most recent call last):
  File "/home/scopatz/miniconda/bin/conda-smithy", line 6, in <module>
    exit(main())
  File "/home/scopatz/miniconda/lib/python3.6/site-packages/conda_smithy/cli.py", line 290, in main
    args.subcommand_func(args)
  File "/home/scopatz/miniconda/lib/python3.6/site-packages/conda_smithy/cli.py", line 194, in __call__
    configure_feedstock.main(args.feedstock_directory)
  File "/home/scopatz/miniconda/lib/python3.6/site-packages/conda_smithy/configure_feedstock.py", line 722, in main
    render_circle(env, config, forge_dir)
  File "/home/scopatz/miniconda/lib/python3.6/site-packages/conda_smithy/configure_feedstock.py", line 72, in render_circle
    with fudge_subdir('linux-64', build_config=meta_config(meta)):
  File "/home/scopatz/miniconda/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/scopatz/miniconda/lib/python3.6/site-packages/conda_smithy/configure_feedstock.py", line 221, in fudge_subdir
    build_config.subdir = subdir
AttributeError: can't set attribute

I believe that I am on the most recent version of these packages:

scopatz@artemis ~/feedstocks/openmc v0.10.0 $ conda list conda-
# packages in environment at /home/scopatz/miniconda:
#
anaconda-client           1.6.5                      py_0    conda-forge
conda-build               3.4.2                    py36_0    conda-forge
conda-build-all           1.1.3                      py_0    conda-forge
conda-env                 2.6.0                         0    conda-forge
conda-smithy              2.4.5                      py_1    conda-forge
conda-verify              2.0.0                    py36_0    conda-forge

I have also notices the “please rerender” hasn’t worked, perhaps because of this. Any ideas?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
isurufcommented, Feb 28, 2018

conda issue tracker, since this seems to be a conda solver issue

0reactions
jakirkhamcommented, Feb 28, 2018

Honestly have thought about just shipping a Docker image with a working conda-smithy install. Kind of heavy weight, but reliability in these matters is nice.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Message not being displayed after defining the rerender ...
Hi,. I have discovered a problem when trying to display a error using <apex:pageMessages />. I have the following commandButton.
Read more >
Uncaught rerender threw an error in 'markup://aura:expression ...
i'm trying to set a list of string to an aura:attribute and i get this error:.
Read more >
Rails on save error and re-rendered page, show UNSAVED ...
the object's attribute that was NOT saved as the default value in the input field, so the user doesn't have to retype things....
Read more >
Visualforce Re-rendering Woes - Bob Buzzard Blog
Maybe there was an error that we being hidden due to the re-rendering, so out came the rerender attribute on the command button....
Read more >
Refreshing Visualforce Page Partially using Rerender Attribute
If we use Rerender attribute in Visualforce pages ir refreshes the subsets of visualforce pages like table of data and many more rather...
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