PostGIS error while adding feature: no result buffer Can anyone explain to me the following error and possible fixes?  I am using QGIS 2.12.3 to connect to a PostgreSQL 9.5 database.    What confuses me is that I was able to add a feature and save, but then the second feature I tried to add threw this error.  I've had this happen on previous days, only with QGIS 2.12.  When I use 2.8 I do not get this problem (but some other issues with default values arise with 2.8 so I would prefer to use 2.12)  Any clues as to what's going on?  Update for more detail: I have a postgis table of streets, and another table of signs (mostly freeway navigation signs) which are used for a navigation app.  The signs table does not have any geometry and is in the format (from_link, to_link, navigation instructions, sign_ID).  The from/to links are both ID numbers from the streets layer.  I never have any issue with adding features to the streets layer, only on the signs layer.  This is consistent for more than one layer (I have a separate table for each city) which leads me to believe there may be something weird going on with the lack of geometry?  Only constraint on the sign table is a primary key on the sign_ID  And here is the SQL used for creating the table.  You can ignore most of the fields, they are just various instructions for our navigation code:  CREATE TABLE public.austin_signs (   "Source_LinkID" bigint,   "Destination_LinkID" bigint,   "Sign_ID" bigint DEFAULT 0,   "Seq_Number" character varying(255),   "Exit_Number" character varying(255),   "Exit_LangCd" character varying(255),   "ExitNum_Tr" character varying(255),   "Alt_Ex_Num" character varying(255),   "Branch_RouteID" character varying(255),   "BrRte_Tr" character varying(255),   "Branch_RouteDir" character varying(255),   "Sign_TextType" character varying(255),   "Sign_Text" character varying(255),   "Lang_Code" character varying(255),   "SignTxt_Tr" character varying(255),   "Trans_Type" character varying(255),   "Toward_RouteID" character varying(255),   "TowRte_Tr" character varying(255),   "Straight_On" character varying(255),   id integer NOT NULL DEFAULT nextval('austin_signs_id_seq'::regclass),   CONSTRAINT austin_signs_pkey PRIMARY KEY (id) ) WITH (   OIDS=FALSE );   I am the owner of the database so I don't think it is a permissions issue
QGIS save postgis table error : no result buffer I've a polygon layer on PostGIS, and when I try to add featureS using QGIS it gets error when I save the edit.   Here is the error notification "no result buffer".     I found a similar case here : . But it doesn't give me the answer to solve it. Any ideas ?
Characterizing Dense Subgroups of the Reals I accidentally closed the window for the verfication code I wanted to create an account for Ubuntu One, but I got impatient when the email with the verification code didn't arrive... I thought I might have typed the wrong address, closed the window and tried again. it told me the address already existed and I just got the code. But since I closed the window I missed it. Is there any way to recover the code? Why is Facebook PHP SDK getUser always returning 0? How to sort a Google Sheets Query by a custom ordering I have a table of choir members with a “name” and a “voice type” column. How can I write a query that orders them by decreasing pitch level of the voice type (i.e. soprano > contralto > tenor > bass)?  Is there in the  something similar to ?  I also tried the , but it does not seem to have an option for custom ordering, either. Difference between Hashing a Password and Encrypting it The current top-voted to  states:     Another one that's not so much a security issue, although it is security-related, is complete and abject failure to grok the difference between hashing a password and encrypting it. Most commonly found in code where the programmer is trying to provide unsafe "Remind me of my password" functionality.   What exactly is this difference? I was always under the impression that hashing was a form of encryption. What is the unsafe functionality the poster is referring to? In C the following horror is valid:  myFunc() {   return 42;  // return type defaults to int. }   But, what about in C++? I can't find a reference to it either way...  My compiler (Codegear C++Builder 2007) currently accepts it without warning, but I've had comments that this is an error in C++. Is this arthropod non-intrusive and recommended to be left alive? I am in Portugal (Lisbon) at the moment, and when leaving my room late at night (12 pm ~ 04 am) I usually face about 4 of these arthropods in the corridors:    (For reference, the "line" in the image is a standard separation on the floor. This particular example of the animal is a little smaller than a nail.) They seem to have quite variable sizes and walk primarily on ground. Also, as implicit above, they seem to be active primarily during the late night. (I don't see them much often, if at all, during the morning/afternoon.) They can be quite fast, but if left unharmed do not move much. They also appear to take shelter inside the walls.  From what I searched, it seems possible that they are centipedes. I've seen sites saying that they are useful to keep other less pleasant animals at bay. My questions are: What are those animals, and should I leave them be or not? I have an armature set up, but the bones aren't moving the mesh properly  The mesh and armature:    The vertex group of the bone I am going to move:    As you can see, the circled region doesn't belong to the vertex group. But, when I move the bone look what happens:    That part of the mesh has moved with the bone.. Why? Where can I find Vagrant packages? is a tool to build and manage virtual machines for developers.  It has a  guide that contains iffy-looking suggestions like  $ sudo ln -s /usr/bin/ruby1.8 /usr/bin/ruby  # wtf???   or installing RubyGems from source rather than from Ubuntu packages, and then using gem install to install vagrant itself.  I'm not feeling comfortable just following those instructions.  Is there perhaps a PPA?  Are there, perhaps, alternative tools that are packaged for Ubuntu? I have a WordPress install on a dedicated server with decent memory (upwards of 8GB).  The WordPress install includes many plugins - 50 active plugins. Most important to note is the  plugin to make WordPress multilingual. The theme is .  The stack is LAMP - CentOS 6.3, Apache 2.4.4, Percona MySQL, PHP-FPM.  I have been quite stupid, and didn't set up a test or staging server.  Everything was running fine till I updated to WordPress 3.8, and also updated several plugins at the same time.  I didn't pay attention at the time, but all my widgets got messed up, and so did any sort of navigation etc.  I enabled error_log for a bit, i.e.  ini_set('log_errors',TRUE); ini_set('error_reporting', E_ALL); ini_set('error_log', dirname(__FILE__) . '/error_log.txt');   This resulted in an immense file - basically the error_log grows by about a GB every 4 minutes or so.  The primary error I found in the error log was database server disconnect, better known as      MySQL server has gone away   The first priority was to patch the problem. So I installed  plugin. This mostly, though not completely solved the issue. Many of the widgets came back.  However, the special (non-English) characters are all messed up (converted to question marks). I tried to fix this by opening wp-mysql-ping.php and commenting out   if ( !DB_CHARSET &amp;&amp; version_compare(mysql_get_server_info($this-&gt;dbh), '4.1.0', '&gt;='))                                     {                                         $this-&gt;query("SET NAMES '" . DB_CHARSET . "'");                                     }   Didn't help.  Besides, the plugin is not a permanent or complete solution. So leaving the site in this messed up state, I started working on other possibilities:  As suggested at , I edited my.cnf to add  wait_timeout = 60   Didn't help.  Also added caching to my.cnf  query_cache_type = 1 query_cache_limit = 8M query_cache_size = 512M   Didn't help.  (and yes, I restarted mysql every time I edited my.cnf)  Also tried the method : In wp-db.php before  $this-&gt;select( $this-&gt;dbname, $this-&gt;dbh );   I added  $this-&gt;query("set session wait_timeout=600" );   Didn't help.  I'm at my wit's end. Please help! From injective map to continuous map I want to assign the result of an expression (i.e., the output from a command) to a variable and then manipulate it – for example, concatenate it with a string, then echo it.  Here's what I've got: #!/bin/bash cd ~/Desktop; thefile= ls -t -U | grep -m 1 &quot;Screen Shot&quot;; echo &quot;Most recent screenshot is: &quot;$thefile;  But that outputs: Screen Shot 2011-07-03 at 1.55.43 PM.png Most recent screenshot is:   So, it looks like that isn't getting assigned to $thefile, and is being printed as it's executed. What am I missing? Which Ubuntu repositories are totally safe and free from malware? Testing a UPS by unplugging it from the wall How to correctly specify coordinate system? Using QGIS v. 1.9 (1.7 does not seem to be available for Ubuntu Linux 12.04), do the following:   Create new project, specify coordinate system by clicking on button in bottom right hand corner, enable on the fly CRS transformation, set projection to WGS 84 / UTM Zone 18S. Pass mouse over project window and UTM coordinates appear in coordinates window in status bar at the bottom. Add delimited text layer in decimal degrees. When asked for projection, specify same projection as in (1). Points in the layer are plotted but, mousing over the map, the coordinates in the coordinates window are now in decimal degrees (even though the projection is set to UTM).   Is there something I am missing here? I have tried doing this in so many ways, so many times, but the result is always the same. I seem to be setting the projection correctly but only decimal degrees show in the coordinates window.  With thanks, Martin I have the following title page in LaTeX: \documentclass{article}  \title{Appendix A: User Manual}  \author{ John Smith\\University XYZ\\Albert Square\\Walford\\NC1 8AE }  \begin{document} \maketitle \end{document}  What is the proper way to add a new page, say, for the contents page and start editing that new page? Why is this regex allowing a caret? How to partition my hard drive for Ubuntu use? Till now I was windows user. From now on I want to use only Linux.   I have 500Gb HDD. How do I partition it properly? I read that there is no right or wrong way, but still, I am confused. I did something and I have primary partition mounted on / (160Gb) which I believe is a OS and 350Gb extended partition of which I have 4Gb of swap and 346Gb mounted on /home.  I got used to C:\ and D:\ partitioning, but I don't see file system in that way. I am lost. Where is what? How can I make C:\ partition for OS and D:\ for apps, movies, music, photos. Or what I want is Windows way and I have to get used to Linux way? How to solve the equation $\phi(n) = k$? Python Ctypes - loading dll throws OSError: [WinError 193] %1 is not a valid Win32 application