back soft

مطالب مرتبط با «error using == mpower» در back soft | نویسنده: استخدام کار

TypeError: unhashable type when publishing using rabbitmq

Vote count: 0 I am trying to pass a python dictionary to a rabbitmq queue via pika, this is probably a python problem and not rabbitmq itself. I am getting an error as stated above and here is my code: def PingAddScan(deviceID, ipAddress, deviceHistory, item, date, apiURL, browserConId): if PingDevice(deviceID, ipAddress): BasicScan(ipAddress, deviceID, item, apiURL) deviceHistory[deviceID] = date # After the basic scan we are going to need to push a message back to the user to say # that the pa...

ادامه مطلب

Unexpected Field Error Using Multer in NodeJS

Vote count: 0 The Error: Error: Unexpected field at makeError (c:UsersDevWebstormProjectsCrunchnode_modulesmulterlibmake-error.js:12:13) at wrappedFileFilter (c:UsersDevWebstormProjectsCrunchnode_modulesmulterindex.js:39:19) at Busboy. (c:UsersDevWebstormProjectsCrunchnode_modulesmulterlibmake-middleware.js:97:7) at Busboy.emit (events.js:118:17) at Busboy.emit (c:UsersDevWebstormProjectsCrunchnode_modulesmulteode_modulesbusboylibmain.js:31:35) at PartStream. (c:UsersDevWebstormProjectsCrunchnod...

ادامه مطلب

display error or success message when using c# foreach statement

Vote count: 0 I am using C#. How can I display a success message if all data were submitted, or an error message and break the loop in case there was an error during the foreach loop? This is my try, but I don't know the best way to display the messages: protected void btnUpdate_Click(object sender, EventArgs e) { DataDTO data = new DataDTO(); BaseDAO coexion = new BaseDAO(); foreach (GridViewRow row in this.GridView1.Rows) { data.lblId = ((Label)row.FindControl("lblId")).Text; try { coexion.upd...

ادامه مطلب

Confidence intervals (bootstraping using R) determination: error with the statistic argument

Vote count: 0 I know that some questions have already been asked about this subject but it's not the theory of the boot function that constitute my problem but rather the application Admitting I want to use the mean of my sample as a statistic, I have an error when computing : b...

ادامه مطلب

using virtual box with image error

Vote count: 0 i try to use linux ubuntu with a program installed on it , with virtual box on windows 10. 1. I installed Oracle VM 2.i downloaded ova file of the ubuntu(which is provided by my professor) 3. i opeed the ova file with VM. now i run the trusty fenics then i get this screen and i press enter then i get a black screen with - on it for ever. so what is the problem? asked 1 min agophysshyp Let's block ads!...

ادامه مطلب

Error while using @Lob in entity class

Vote count: 0 I have two columns that I have changed in the database from varchar2 to clob. I'm now addind @ Lob aotations before the columns in the Entity class: @Lob @Column(name = "COL1") private String col1; @Lob @Column(name = "COL2") private String col2; But while trying to deploy the code through maven, I get the below compilation error: caot find symbol [ERROR] symbol : class Lob asked 1 min agoDona Let's block ads!...

ادامه مطلب

Error while checking for headers using :selenium web driver in rspec/capybara test

Vote count: 0 I have a rspec/capybara test which fails with the following error because Selenium does not support headers, however this test works fine with :rack_test driver. Since a lot of my other tests heavily rely on Selenium I caot change the driver to :rack_test. How do I fix this? Is there a way to run this specific test with :rack_test driver while other tests still use the default :selenium driver? error-report.xml ']]> rails_helper.rb Capybara.ignore_hidden_elements = false Capybara.c...

ادامه مطلب

Get Soap Error Using Microsoft SOAP SDK

Vote count: 0 I try to invoke a webservice from my program (written in C++, VS6.0 and SoapSDK 3.0). From SOAPUI I invoke as shown in the image. I tried to write code based on examples from the inteet as follow. CoInitialize(NULL); ISoapSerializerPtr Serializer; ISoapReaderPtr Reader; ISoapCoectorPtr Coector; ISoapError Err; // Coect to the service Coector.CreateInstance(__uuidof(HttpCoector30)); Coector->Property["EndPointURL"] = "http://psaljane:8080/CIPSiteWeb/services/MassinissaWebService?wsd...

ادامه مطلب

How to Call PhantomJS from webpage using Python - error on initiation

Vote count: 0 I want to create a web based scraper using Python, Selenium and PhantomJS where you can input a url into a form and the results from the scrape will be retued to the webpage. I can run it on my PC and I can also get it to work through the terminal. It is located in a virtual environment on Dreamhost shared hosting with Python3.5 installed. I have tested that the parameters are being passed in fine, and it does work using just lxml and requests. However, when I try to run the script...

ادامه مطلب

'socket.io error on connect: Error: xhr poll error' while importing zone.js when using Karma/Jasmine in Angular 2 with NativeScript 2.0 [1.7.1]

Vote count: 0 I'm getting the below error while ruing my tests using Karma with Jasmine in my Angular2 with NativeScript project. The tests are being executed correctly, but, this error keeps repeating in the console. I observed the error is coming only after importing zone.js (imported it because it says zone is not defined while using inject, etc from Angular2/testing). Error: JS: NSUTR-socket.io: transport error JS: NSUTR-socket.io: 1 JS: NSUTR: socket.io error on coect: Error: xhr poll error...

ادامه مطلب

PyDev unresolved import errors on intra-package modules when using Grammar 3.x

Vote count: 0 I think there is a bug with respect to how PyDev (version 4.6) recognizes intra-package imports when selecting Grammar 3.x for the project preferences. I have a project like this: foobar mypack __init__.py mod1.py mod2.py mod2.py simply says from mod1 import fun1 mod1.py simply says def fun1(): print("Hey we are in fun1 in mod1") If the project Python project preferences are set to use Grammar 3.0-3.5, with a Python 3.4 interpreter, and I open up mod2.py the line from mod1 import f...

ادامه مطلب

Error on get data API call using Angular

Vote count: 0 I am trying to get medicine name from TrueMD using api. I am using this from my localhost. For that reason web service security I also include 'Access-Control-Allow-Origin' as a null still same error of security. Is there somthing that I am missing? $scope.medicines = []; var search = "crocin"; var api_key = "API_KEY"; $http.get("http://www.truemd.in/api/medicine_suggestions?id=" + search + "?key=" + api_key) .then(function(response){ response.header('Access-Control-Allow-Origin', ...

ادامه مطلب

Error using Java Native Interface

Vote count: 0 I'm trying to develop a java program that uses c++ code. For this purpose, I'm using a 32-bit mingw and a 32-bits jre (version 1.8.0_77). I have problems trying to load the *.dll. (I haven't tried to run any method yet) This is the class where I have declared the native method: public class JniImports { static{ System.loadLibrary("hello"); } public int test(int n){ retu testJava(n); } private native int testJava(int n); } And this is the Main method: public class Main { public stat...

ادامه مطلب

Adding new dependency to package.json in node causing error

Vote count: 0 I am having serever.js file which contains the below code. I am having another package.json file which have dependencies. I later added underscore dependency to the existing dependency. It's throwing error on require("socket.io")(http) as require(...) is not a function. When I run the file using command node server error is coming after adding dependency. var express = require('express'); var app = express(); var bodyParser = require('body-parser'); var http = require('http').Serve...

ادامه مطلب

Graph returned an error: This authorization code has been used error thrown when refreshing the page after login using facebook Id

Vote count: 0 This authorization code has been used error retued when refreshing the page after login using facebook id. I have read many blogs and I did not get any idea about this issue. Here is my code. fblogin.php...

ادامه مطلب

c++ output:i want to print printf("nAbc%d",a); using cout statement every time i try it shows error

Vote count: 0 I want to print th following statement on screen printf("nAbc%d",a); using cout statement suppose i m writing cout...

ادامه مطلب

Whats causing all these errors in my GUI?

Vote count: 0 I'm trying to work on my GUI coding so am taking it upon myself just to create several different interfaces for examples I had been given in class. Im trying to create a GUI here that at the top has Labels followed by their respective text fields for the user to input, with one on top of the other. I then want this to be followed by a series of two buttons and finally a results field that is uneditable (as will later introduce some fields for results) and opaque. I get a whole seri...

ادامه مطلب

Using "sapply" and "lapply" to return multiple values but got an error

Vote count: 0 My function works fine by itself but won't work with sapply... getFlights % select(origin, dest, flight) %>% summarise(incoming = length(unique(flight))) y% filter(dest == code) %>% select(origin, dest, flight) %>% summarise(outgoing = length(unique(flight))) z...

ادامه مطلب

I'm trying to upload image with Jquery and ajax function using codeigniter framework. i can see the error blow:

Vote count: 0 A PHP Error was encountered Severity: Notice Message: Undefined index: uploadimg Filename: models/upload_model.php Line Number: 26 /my code/ Controller public function do_upload(){ $this->upload->do_upload(); if($this->upload_model->Doupload()){ echo 1; }else{ echo 0; } } private function set_config_option(){ $config =array( 'allowed_type' => 'gif|jpg|png|jpeg|pdf|doc|xml|zip|rar', 'file_size' => '100', 'max_width' => '1024', 'overwrite' => TRUE, 'max_height' => '768', ); retu $con...

ادامه مطلب

Getting TypeError using Angular.js and Javascript

Vote count: 0 Hi i am getting the following error while selecting data using angular.js. Error: angularjs.js:107 TypeError: Caot set property '0' of undefined at n.$scope.removeBorder (adminCustomeewController.js:55) at fn (eval at (angularjs.js:212), :4:617) at n.$eval (angularjs.js:132) at angularjs.js:251 at angularjs.js:263 at m (angularjs.js:7) at $$writeModelToScope (angularjs.js:263) at angularjs.js:263 at g (angularjs.js:261) at f (angularjs.js:261) My code is given below. {{d.day_name}}...

ادامه مطلب