Search update

60548 results
1

votes
1

answer

MKMapView annotation position update problem

I need to track user current location with realtime refreshrate I have one function with two solutions for that. (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation { ifdef Variant_1 if(m_currentLocation) [m_Map remo...
Ricardo
1

votes
1

answer

Troubles with AVRO schema update

I have a simple case class: case class User(id: String, login: String, key: String) i am add field 'name' case class User(id: String, login: String, name: String, key: String) then add this field in avro schema (user.avsc) { 'namespace': 'test', 'type': 'record', 'name': 'User', 'fields': [ { 'name'...
HoTicE
1

votes
1

answer

ListsView Binding with auto update

I have a application im working on that uses the Jabber Libraries to connect to a jabber Server and receive contacts etc. I have buit all login system and interface for the chat but now im working on how to Bind the data for the contacts to the ListView I have a function that is called when a contac...
RobertPitt
1

votes
1

answer

Update else INSERT in mysql

I tested this code: UPDATE books SET price='20000' WHERE user_id='2' IF ROW_COUNT()=0 INSERT INTO store_books(name,user_id) VALUES ('test1','2') I encountered the following error. error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the r...
rahimi
1

votes
2

answer

Update UI from a Workmanager

How do I update the UI from Android WorkManager. Android Workmanager can receive Boolean, Integer, Long, Float, Double, String Documentation says: public Data.Builder putAll (Map values) 'Puts all input key-value pairs into the Builder. Valid types are: Boolean, Integer, Long, Float, Double, String...
D-D
1

votes
2

answer

update data in sqlite [closed]

I can't update my data with this code and my data in sqlite not change. var path = ApplicationData.Current.LocalFolder.Path + @'\users.sqlite'; var db = new SQLite.SQLiteConnection(path); var query = db.Table().Where(c => c.ID == ID_countact_save).SingleOrDefault(); query.Fname = Fname_TB.Text; quer...
m.h.bayan
1

votes
2

answer

update record in recordstore j2me

i want to know the method used to update record in recordstore in j2me. thanks....
user496789
1

votes
2

answer

Update and refresh wpf chart

I'm working with chart of wpf toolkit, and I can't view the inserted data of the chart... Here is the xaml part: And the cs: Declaration public partial class MainWindow : Window { ... List valueList = new List(); ... Module called when a user chose two dateTime and press a button private void re...
Michele Cappannari
1

votes
2

answer

DataGrid using SQLDataAdapter Update Problem

I have a nice litte DataGridView, which gets loaded/populated by a button and a SQLDataAdapter and the corresponding saveButton. private void loadButton_Click(object sender, EventArgs e) { String connString = conStringComboBox.Text; String query = queryStringComboBox.Text; dAdapter = new SqlDataAdap...
Hoax
1

votes
1

answer

Mysql Update performance suddenly abysmal

MySQL 5.1, Ubuntu 10.10 64bit, Linode virtual machine. All tables are InnoDB. One of our production machines uses a MySQL database containing 31 related tables. In one table, there is a field containing display values that may change several times per day, depending on conditions. These changes to t...
Carson C.
1

votes
2

answer

unable to update metasploit framework

i am new to backtrack 5 r3. when i try to exec the command msfupdate i get the following error. An error occured while installing pg (0.15.0), and Bundler cannot continue. Make sure that gem install pg -v '0.15.0' succeeds before bundling.
user2252714
1

votes
1

answer

Wpf update UI without ObservableCollection

I have a customer class which has a byte array property. The application uses the byte array as a source for an image. When I change this array, the UI doesn't update (since byte[] is not an ObservableCollection). When can I do to force the UI to refresh? EDIT : the image is saved as a byte array be...
user779444
1

votes
1

answer

Kafka : Update jaas config dynamically

I have setup the jaas config for kafka using sasl.jaas.config property. I want to update this config and add users dynamically. As per this doc - http://kafka.apache.org/11/documentation.html#dynamicbrokerconfigs, we can do that by using bin/kafka-configs.sh. The above doc has config column, which s...
Tushar H
1

votes
1

answer

Failed to update autoscale configuration

I'm struggling with this for days and I can't find any resources/solutions for my problem. I want to autoscale my website api to request count and I always get this error 'Failed to update autoscale configuration' when I try to save it. Mind you, I have 1 resource group and in this group they are 3...
h3ndr1ks
1

votes
1

answer

JPA's bulk update triggers TransactionalEventListener?

I have a project that uses Hibernate. All objects mapped (with annotations) in the persistence package are automatically updated at the end of transactional methods, if modified. I want to perform a bulk update with CriteraUpdate from JPA 2.1, but I need to change the objects to trigger Transactiona...
Marcelo Abiarraj
1

votes
1

answer

MySql update issue in Python

I am trying to update a mysql table with for loop. It updates only one row, when I run my script and gives me the following mysql error; Traceback (most recent call last): File 'index.py', line 190, in main() File 'index.py', line 167, in main pre_cursor.execute(query, (box_percentage, shelf_num...
pylearner
1

votes
1

answer

React state/props won't update

I have the code below, but my state won't update. I am using Angular http ajax-call to receive if the user is correct or not. When I pass the the new error-message as a prop nothing happens, but the component does receive it since I can access it through nextProps. I have also tried to skip the con...
Gjermund
1

votes
2

answer

Update ReactJS app using websocket

I am trying to do a supervision page for my customer, but I am struggling with updating a ReactJS app in real time. This supervision page can contains up to sixteen video flux, which can or cannot be in service at the same time. When I generate my page with Django, I build an initial list stored in...
Dr Mouse
1

votes
1

answer

Update json Object w/ json.net

I have the following class for my Json file: using System.Collections.Generic; namespace MITSonWald { public class ExtLine { public List LineList { get; set; } } public class LineList { public List DeviceList { get; set; } } public class Device { public string Volume { get; set; } public string Name...
PrimuS
1

votes
3

answer

MySQL UPDATE with needed subquery

For school I've got the following assignment to UPDATE data into a database: Give all the employees (located into the employee table) who work on a project where the employee '50' (employee code) works on as well a salary raise of 250 euro I know I had to get the SAL column in the employee and then...
Bas
1

votes
1

answer

Update columns in same table

I want to update BRCD_NEW column in table branches with the condition applied on another column BRCD in the same table, here is my code, but it returns error single-row subquery returns more than one row update branches set brcd_new=( select case when BRCD between '5000' and '5999' then CONCAT('P...
KeenLearner
1

votes
1

answer

Broken theme after WordPress update

I just updated to WordPress 4.8.3 to find that my custom parent theme is broken. It's been a while since I've worked on it, so I'm not completely fresh on everything, but the error in WordPress is as follows: Template is missing. Standalone themes need to have a index.php template file. Child themes...
Mario Parra
1

votes
1

answer

Mediawiki database error after update

I hope for some help on the problem I have trying to update my Wiki from 1.21 to 1.25. I,m don't have experience doing this but I followed the manual in Mediawiki doing this. Create a new folder and put in the new fileset. Add the Images folder with content, moved the Localsettings.php from old to...
Fred MrNoname
1

votes
1

answer

|DataDirectory| for EF Update-Database

How to define |DataDirectory| for WPF project that is in Connection String for EF command 'Update-Migration'? There are a lot solutions to add : AppDomain.CurrentDomain.SetData('DataDirectory', ***); but it works only if application runs. I do not run application - just want to create and migrate D...
Lagoda Denis
1

votes
1

answer

Update Sitecore and SIP together?

I currently have the task of updating a Sitecore Instance 6.6 with SIP 3.2. The target is reaching Sitecore 7.0, so we can use Item Buckets. The problem is when I update Sitecore to 7.0, it doesn't work with SIP 3.2, because assembly references doesn't match anymore and Sitecore 7.0 runs on .NET 4.5...
SpaceJump
1

votes
1

answer

Feedjira: Feed update returns duplicates

I am trying to print rss/atom feed updates using ruby. Feedjira seems to be the best bet for this. Unfortunately the update feature does not seem to work properly. I get duplicate entries. Here is a simple example that produces the problem: require 'feedjira' require 'pp' feed = Feedjira::Feed.fetch...
NaN
1

votes
1

answer

updating ehcache from database update

I would like to know if there's a way for ehcache to detect a database update/insert (spring/java, hibernate web application) and refresh its cache with the current(latest) data from the database if not, what would be the best way detect a database update so as to keep the data between and cache and...
Vuzi
1

votes
1

answer

fiware-orion NGSIv2 update context

I created a small stack using with orion and the populated mongodb from the tour guide app. I don't understand why the updates queries are not working :( if I query the context: curl -s -X GET -H 'Accept: text/plain' -H 'fiware-service: tourguide' 'http://localhost:1026/v2/entities/0115206c51f60b48b...
1

votes
1

answer

Unable to update FIWARE cygnus

I am trying to update cygnus to the last version. My curent version is 0.13. when I try to install cygnus-common and cygnus-ngsi I got the error no package is available: $ sudo yum install cygnus-common Loaded plugins: fastestmirror Fiware...
sabrina2020
1

votes
1

answer

Update all foreign key references

I have a table student (id, name, address), and student.id reference in few other tables. Lets assume the id is 120 and this id have several other entries in different tables. Now i want to update the id value to 130 along with all the foreign key references. One approach I am thinking of a PL/SQL w...
shakhawat
1

votes
3

answer

sql oracle update table data

I got two tables: table1 and table2 table1: HW_SN (varchar2) ID (number) 123ERZ123 (empty) 124NIJD11 4125ERT22 .... - table2: ID (number) Name (varchar) 85442 123ERZ123 85471 124NIJD11 12478 4125ERT22 ......
piguy
1

votes
1

answer

MVC 5 Identity Update UserRoles

I wrote this code: using(var _db = new ApplicationDbContext()) { string roleName = 'Admin'; var roleManager = new RoleManager(new RoleStore(new ApplicationDbContext())); if(!roleManager.RoleExists(roleName)) { var newRoleresult = roleManager.Create(new IdentityRole() { Name = roleName, });...
Alexander
1

votes
1

answer

Update packages policy on RHEL6

Do you know how frequently RHEL6 EPEL packages are updated ? Is there a way to track it in order to have timeline? I am mainly interested in docker-io package At the moment, EPEL package is set with docker-io-1.4.1-3.el6.x86_64. However, docker 1.5.0 has been released since 2015-02-03 EPEL package v...
1

votes
1

answer

Can't edit/update xml file

i'm developing an android application and I want to read and edit an xml file stored in the internal storage of the device (the file is transferred to the device via usb to a specific folder, not created by the application ) .I use the DOMxmlParser of Java for this purpose, but i encounter a problem...
tsiskoS
1

votes
3

answer

Update multiple column with activeAndroid

I want to update multiple cell of single row with active android. some thing like this, new Update(Question.class).set('UserAnswer ='+answerID, 'UserAnswerType = '+userAnswerType) .where('QID = ?', questionID).execute(); but that will gives me error. is there any other way to do this? or am i missi...
Nidhi
1

votes
1

answer

mysql trigger to update row

I am new to mysql and am trying to create a trigger. I want to take a newly inserted value from one table and want to update another table by subtracting this values from the value in that table. CREATE TRIGGER inventory_updated AFTER INSERT ON ORDERdetails for EACH ROW BEGIN UPDATE product_trial SE...
Rohan Girish Kinhikar
1

votes
2

answer

Update TextView via Async Task

I'm trying to dismiss dialog in AsyncTask's onPostExecute() and also set text in textview, but textview doesn't change and I get the 'Window already focused, ignoring focus gain of...'. Here's the code: protected void onPreExecute() { dialog = ProgressDialog.show(mContext, '','Loading...', true);...
newman555p
1

votes
1

answer

INSERT with several UPDATE statements

What is the best way to solve the following issue with Postgresql? For each row I INSERT into an article Table based on a SELECT from another table I want to UPDATE certain columns of the inserted articles. This is my current solution: -- temporarily alter table to avoid not null issues ALTER TABLE...
taranaki
1

votes
1

answer

Trigger SQL insert and update

I have two table INVENTORY and INPUT create table INPUT( PRODUCTID nvarchar(10), QUANTUMINPUT int ) create table INVENTORY( PRODUCTID nvarchar(10), QUANTUM int, QUANTUMINPUT int, LASTQUANTUM int ) How to create SQL trigger on SQL when insert column QUANTUMINPUT, table INVENTORY change over?
Huan Nguyen
1

votes
1

answer

Update dict with extra values

I have the following that converts data (show) from 1 format to another, this used to work until trakt.tv updated their api. What i need now is all episodes numbers for each season inside one season number like so 'seasons': [{'number': 1, 'episodes': [{'number': 1}, {'number': 2}]}]}] The converted...
jhmiller