Questions tagged [deprecation-warning]

A deprecation warning indicates that a method is obsolete. Using a newer method (which has been provided in the meanwhile) is preferred.

A deprecation warning indicates that a method, property or other software feature is obsolete. Using a newer feature (which has been provided in the meanwhile) is preferred.

547 questions
0
votes
2 answers

Scikit-learn tutorial gives me a depreciation error, how to update?

I acquired a copy of Mastering Machine Learning with scikit-learn, and I began working through it. However, it seems that a good amount of the code is now outdated. The first code snippet in the book, import matplotlib.pyplot as plt X = [[6], [8],…
Rich
  • 1,103
  • 1
  • 15
  • 36
0
votes
1 answer

Recursive Feature Elimination & Grid Search using scikit-learn: DeprecationWarning

I'm building a grid search of multiple classifiers and want to use recursive feature elimination with cross validation. I started with the code as provided in Recursive feature elimination and grid search using scikit-learn. Below is my working…
0
votes
1 answer

How do I determine exactly what is causing this Ember deprecation?

Below is a screenshot of an Ember deprecation. It's from a brand new Ember 2.3.0 app with Ember Simple Auth installed. I believe the depreciation comes from either Ember Simple Auth, or one of its dependencies because it's not there before…
0
votes
1 answer

migrating elixir 1.0 app to 1.2 and having issues with derive Collectable for module struct

The 1.0 implementation looks like this. defmodule Chat do use GenServer @derive [Access, Collectable] defstruct [api: APIClient, chat_id: nil, clients: %{}] def start_link(params), do: GenServer.start_link(__MODULE__, params) def…
Macario
  • 2,214
  • 2
  • 22
  • 40
0
votes
0 answers

Option Model_manager for ModelAutocompleteType::class in SonataAdminBundle

i am trying to upgrade my application to symfony 3. But there a deprecation notice i can't fix: My Code with Symfony 2 : protected function configureFormFields(FormMapper $formMapper){ ->add('town', 'sonata_type_model_autocomplete', array( …
MatMouth
  • 858
  • 2
  • 7
  • 24
0
votes
2 answers

Ember deprecation: replacing a view with a component

Hey I'm facing a problem with removing a view. The view is used as navbar {{view "inner-form-navbar" navbarParams=innerNavObject}} Where params look like this innerNavObject: { ... routeToReturn: 'someroute.index', ... …
kristjan reinhold
  • 2,038
  • 1
  • 17
  • 34
0
votes
0 answers

Ember 1.13 - DS.attr deprecation

I've upgraded to Ember v1.13.0, and now I have a couple of deprecation warnings (as expected) but I can't find any clue as to how to get rid of them. Ember has provided some links to the guides but they are useless and disappointing. The most common…
Marco Prins
  • 7,189
  • 11
  • 41
  • 76
0
votes
1 answer

How can I remove the deprecated API warnings from my SSL properties

NSDictionary *sslProperties = [[NSDictionary alloc] initWithObjectsAndKeys: [NSNumber numberWithBool:YES], kCFStreamSSLAllowsExpiredCertificates, [NSNumber numberWithBool:YES],…
ootc
  • 13
  • 1
0
votes
1 answer

Decode a string not url in Javascript

I am trying to decode a string not URL. i tried escape function which is working fine. but Escape function is deprecated now var a = "mysap'fff'"; //it could be any string var usingEscape = escape(a); alert(usingEscape); Result is :…
Hitu Bansal
  • 2,917
  • 10
  • 52
  • 87
0
votes
1 answer

render_cell method from cells gem throwing deprecation warnings in rails 4.2.1

I ran my rspec test suite and everytime the render_cell method, from the cells gem, is called, the folowing deprecation warning shows: DEPRECATION WARNING: `named_routes.helpers` is deprecated, please use `route_defined?(route_name)` to see if a…
0
votes
2 answers

xarch=v9a is deprecated, use -m64 -xarch=sparcvis instead

I am compiling Openssl on Solaris 11.1, but it gives error cc: Warning: -xarch=v8plus is deprecated, use -m32 -xarch=sparc instead. So How to use -m32 -xarch=sparc instead -xarch=v8plus on Solaris?
alakamale
  • 25
  • 1
  • 5
0
votes
0 answers

Weird notice: The text_direction option is deprecated for the family of bloginfo()

After updating WordPress I am getting this notice (below). I have searched through all files on this install and bloginfo('text_direction') is not being used anywhere. Any ideas peeps? Thanks Notice: get_bloginfo was called with an argument that is…
richerimage
  • 125
  • 2
  • 10
0
votes
2 answers

Django 1.6 - DeprecationWarning: Use the LOCALE_PATHS

After migrating project from Django 1.4 to 1.6 I've started to see a problem in the console: /usr/lib/python2.6/dist-packages/django/utils/translation/__init__.py:63: DeprecationWarning: Translations in the project directory aren't supported…
0leg
  • 13,464
  • 16
  • 70
  • 94
0
votes
2 answers

Why do I get deprecation warnings about Rails 2.3-style plugins?

I had a vendor directory/ directgory with /javascript and /plugins but they were empty and so I also deleted them. I did git add --all and pushed the deletion but I still get the warning messages: DEPRECATION WARNING: You have Rails 2.3-style…
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
0
votes
1 answer

TestFirst.org Learn_ruby rake and depreciation warnings :should and :expect syntax

After many searches via Google I'm ready to get some input from the community. I'm trying to apply for App Academy in San Francisco and one of the required pre-work is TestFirst's Learn_ruby. I original had this configured on a Linux VM on my…