All Questions

1
answer

Error importing a model Unhandled exception - can not import name

I have the following structure of my application in relation to the following apps project userprofile models.py rbsessions models.py In userprofile / models.py I have the following from __future__ import unicode_l...
asked on 20.01.2016 / 14:58
2
answers

Is it possible to save what is drawn in the "Panel" control using the Paint event?

Next I use the following code to save and draw. But when saving does not save what is drawn. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System....
asked on 27.01.2016 / 19:21
1
answer

Query if inside a trigger

If I update a person with a vacuum that does not insert anything in Audit, but if I update a person with a data, name, etc., that does a INSERT . I have a reservation table with schedules, when someone booking updated the person field asso...
asked on 29.01.2016 / 19:18
2
answers

Get the value of a dropdown with Bootstrap optgroup in ASP.NET

Does anyone know how to get the values of a dropdown of Bootstrap with optgroup in ASP.NET ? I attach a reference image If I put the dropdown attribute: runat="server" , to have it in the backend, I get the error...
asked on 22.01.2016 / 22:52
2
answers

Empty rows with OpenXml Excel

I'm going through an excel with the library DocumentFormat.OpenXml , and when I get the rows, I get rows in which the cells are empty; that is, I have an excel where you only have information in the first 10 rows, but you are extracting in...
asked on 05.02.2016 / 19:28
1
answer

Specify Bundler versions in the Gemfile

A build of my project in TravisCI failed because Travis decided to use a version of Bundler (1.6.9, I think) that does not support blocks in source , like this: source 'https://rails-assets.org' do gem 'rails-assets-urijs' end Witho...
asked on 22.01.2016 / 20:21
2
answers

SET statement prepared mysqli

What is the correct way to perform the following query? I have a function to which I want to assign a series, if I execute it directly in the engine it generates the div concatenated, but in the PHP it throws an error. If I decl...
asked on 09.02.2016 / 13:14
2
answers

Show Selected text Select an option

Very good and tried to put in a selected control the option "Select an option" but it does not work for me, the combo is loading data from the database, I'm using the codeigniter framework, I would like someone to guide me in it to be able to lo...
asked on 18.08.2016 / 15:39
1
answer

Heredoc in PHP returns Error: Undefined variable: using sprintf

I define the content of a variable in PHP using HEREDOC $ptrn = <<<EOF En %2$s se ha bebido %1$d cervezas! EOF; When I try to format with sprinf $ptrn = sprintf($ptrn,7,"Paco"); returns the following error...
asked on 17.08.2016 / 10:34
1
answer

Swift - Nodes pass from one side to another with touchesMoved if the physicsBody body is very thin

I have two SKSpriteNode the cat and the black wall, each of them have the class physicsBody associated so the cat is on top of the black wall. The cat moves it with the finger with the function touchesMoved of the followi...
asked on 02.02.2016 / 16:27