migration: problem with source CSV migration importing body content with HTML

I am using migrate_source_csv to import node body fields. The header of my CSV file is: "nid, title, body". Body fields contain HTML. My problem is that, when importing, HTML is encoded in entity references. See the screenshot below. Here is my migration YML file:

id: news_article_nodes
label: News article data we want.
migration_group: gdg_group
source: 
  plugin: csv
  path: 'modules/custom/gdg_migration/import/news_article/news_articles.csv' 
  ids: [nid]
  header_row_count: 1
process:
  nid: nid
  title: title
  'body/0/value': body
  'body/0/format':
    plugin: default_value
    default_value: full_html
destination: 
   plugin: entity:node
   overwrite_properties:
     - body
   default_bundle: news_article

I must be missing something. Is there a complement that imports data as plain text?

screenshot of the node body with encoded HTML

Updates – How to install opkg from the source on a noArt Android device?

Below are data for information on the distribution and architecture of the Android device noArt

output of cat & # 39; / proc / version & # 39 ;:

Linux version 4.4.22+ (user@domain.com) (gcc version 4.8 (GCC)) #xx SMP PREEMPT day date date and time

Departure from & # 39; / join -a & # 39 ;:

Linux localhost 4.4.22+ #xx SMP PREEMPT day date date and time armv7l

This is what I have already tried:

  1. I tried to build dpkg (first I tried with dpkg, since opkg is based on it) from the source on my Ubuntu amd64 system and pushed the executable dpkg to the device. As I assumed, it will not work, because the device is 32 bits and, indeed, it did not.
  2. I tried to configure dpkg with the options –build = amd64 and –target = armv7l, but it failed with the error message:

configure: WARNING: x86_64 not found in cputable

checking the name of the dpkg architecture … configure: error: the host dpkg architecture cannot be determined

  1. I gave up on dpkg and tried to build opkg from the source. Get under the error:

opkg_archive.c: 758: indefinite reference to `archive_write_set_format_raw & # 39;

python – How to include OpenCV in pyinstaller when opencv is installed from the source?

I have installed OpenCV 4.1 on Jetson Nano from the source. It works perfect when I run my python3 code. After compiling the Python code using pyinstaller, launch ImportError.

ImportError: OpenCV loader: missing configuration file: ['config.py']. Check OpenCV installation.

How do I compile Python code using PyInstaller to include OpenCV? Is there any other method to install OpenCV? I have tried pip3 install opencv-python but can't find the corresponding distribution and if I install using sudo apt-get install python3-opencv Install an earlier version.
Any help would be helpful.

I have also followed this thread but it does not work when OpenCV is compiled from the source …

What source is this?

Please help me find what source this is, it also suggests the website where I can upload the image and get the type of source.enter the description of the image here

macos: the astrological mark of the source results in the file & # 39; X11 / Xlib.h & # 39; not found

YOU: High saw 10.13.6
Software: astrologer

ast65src$ make
c++  -O -Wno-write-strings -Wno-narrowing -Wno-comment  -c -o astrolog.o astrolog.cpp
In file included from astrolog.cpp:50:
./astrolog.h:304:10: fatal error: 'X11/Xlib.h' file not found
#include 
         ^~~~~~~~~~~~
1 error generated.
make: *** [astrolog.o] Error 1

The xcode command line tools are already installed:

ast65src$ sudo xcode-select --install

xcode-select: error: command line tools are already installed, use "Software Update" to install updates

I tried the following solution, but it was the same error:

sudo ln -s /opt/X11/include/X11 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/

make ARCH=macosx -I/opt/X11/include

open source: rewrite and publish an old library: nomenclature, versions and compatibility with previous versions

I have rewritten a package that has been abandoned for a while now. The previous package is in active use, but has problems. It is a client of another API and does not provide all the functions that the underlying API supports. And its documentation, the repository and the version of GitHub are not synchronized with each other, which is very confusing for new users, including me when I tried it for the first time.

I have acquired rights to manage the launch and also for the Read The Docs project site soon. Now I am struggling with what to do with the publication of the new package and the care of the previous package. This is what I and some helpful contributors have considered:

The original package must be synchronized

It is currently out of sync, which means that the repository contains code that has not been published. But it has been incorporated into the online documentation! Therefore, package users have essentially incorrect code and the only way to update is by cloning the repository. Synchronization would mean releasing the final contents of the repository as new minor versions of the package and documentation.

The rewritten package must be the next major version

This is subject to debate. It is based on the previous one, although it is almost completely incompatible with previous versions due to name changes and refactorings in the client. It could be said that it could be launched with a different name, which would avoid confusion when updating and providing a clean start for our package. Some applications may also break if they are updated recklessly.

On the other hand, the users of the previous package would be hung up. Without an update, the library will slowly become obsolete. Our rewriting is complete with respect to the underlying API and, in my humble opinion, is written in better style. For the new package, this could be advantageous in the sense that an established user base already exists, so discovery should not be a problem.

The plan

So far I have been convinced that we should launch the package with the same name as the next major version. Based on that, I have devised a plan to update the package. The current released version is 2.4.4.

  • Synchronize the previous package and documentation as 2.4.5
  • Disapprove the previous package as a last minor version 2.5 with warning messages, publish documentation that has information about the update
  • Publish the rewritten version as 3.0 and continue the development

For me, updating the version and breaking the incompatibility with previous versions doesn't sound too bad. The original package must be updated. After all, we are issuing warnings and the version requirement can be specified. After reading about the semantic versions, the fact that incompatible backward changes can be made, which are not the most evil thing in the world, was reinforced.

Still, I turn to you for advice. Is this a sensible plan? If not, What would be the correct way to proceed? I want to respect the previous package and its users, whether they want to update or not. But I think letting the old package rot is not the way to go.


Here is my original question on the subject of starting to maintain the old repository. If you are interested in details, here is our problem about the update plan.


I originally asked this question in Open Source SE, but I thought it might be a more appropriate forum, since it is not limited to open source projects. Let me know if it is also off topic here, and if I could be elsewhere, although I think it falls into the category of software launch.

not retained in wysiwyg block source code

Every time I put a marked in a block using the wysiwig source code button, for example:

and return to it the code becomes

  •  
  •  
  •  
  •  
  •  

What's happening here?

computer networks: fragmentation in ipv4 is done at the source or on the routers or both

Is fragmentation in ipv4 done at the source or routers? According to what I read, fragmentation can be avoided at the source, by segmentation in the transport layer intelligently to match the MTU of the source network … we can also avoid fragmentation in routers using PMTUD (MTU route discovery), where we use ICMP packets with a dummy port to determine the smallest MTU size required on the route from origin to destination. Then, the segmentation is done at the source to match the smallest MTU on the route … therefore, fragmentation is done at both the source and routers according to the requirements if we do not use the above methods. . it is right?

Is there an open source program that can open Quicken files?

I have received some Quicken files and would rather avoid paying to subscribe to a Quicken license. Is there an open source program that can open or import Quicken files?

Open source: what game genre is most suitable for a small project for a portfolio?

I am in the last year of an M.Sc. in computer science, and I would like to apply for an internship in a video game company. It is a large company, so I want to distinguish myself from the recruitment phase. To show my skills and my interest in video game development, I would like to develop a small game with Unity. I am very good with mathematics, in the development of software and algorithms and I have a great attention on quality. The aspect of game development that interests me most is the gameplay. I would like to work on a small project to insert it in my portfolio (for a workload of approximately 40/80 hours). What kind of game is the most suitable for such a project? Is there any suggestion on how to address it (for example, what aspects should I focus on)?