Import 3D image

Is there a way of importing 3D images to Mathematica that will not be unicoloured? I would like to use a colourful 3D image in a discrete mapping so that one can visually see the transformation and relocation of the pixels.
Thanks in advance!

Import bitcoin address only with public key

I want to import a none spendable paper wallet. This was possible in the past. But now I am only allowed to import an adress with the private key. So this address won´t be none spendable. Was there an update which changed this?

how to revert to using global site lists to import into project

i have imported into projects by importing from clipboard into projects, how do i delete the urls it is set to post to & change it to import from global site lists.
the second part i guess is
right click on project >import target urls>from site lists
or just do the first part (whatever that is ) & let it run ?

How to export import content from inside a table using mysql commands

I’m transferring a WordPress site to a new server, but I’m trying to do the process as clean as possible. However, since I have to transfer a lot of posts to the new database, and the export feature on WP doesn’t work well, I exported only the essentials tables, and then I’m configuring everything again from scratch.

The only problems is that I’m using the TablePress plugin which stores its data in the wp_posts and wp_postmeta tables, and the settings in the wp_options table.

Since I already the restored the posts using the wp_posts and wp_postmeta, the entries from TablePress plugins are already in the database, but the content doesn’t show up in the plugin, because the index and option are located in the wp_options, which I’m configuring again from scratch.

The plugin developers has suggested that I can export the tablepress_tables and tablepress_options entries from the wp_options, but neither him or I knows the syntax to export and import the entries from a tablet, in this case from the wp_options table in mysql without using phpmyadmin, since it’s not available in the server.

So I wanted to ask if anyone could help figuring out the how to export tablepress_tables and tablepress_options entries from inside the wp_options table inside a database called wordpress using command line on mysql 5.7?

Thanks,

import – Difficultly importing GeoTiff format

I downloaded Earth data from here. It is a GeoTiff file, which is a map of solar radiation falling on earth.

enter image description here

Mathematica claims to import GeoTiff files. However, when I import,

SetDirectory[NotebookDirectory[]]
files = FileNames["*", "./diffuse/"][[1]]
diffuse = Import[files, {"GeoTIFF", "Image"}]

The output is an error:

LinkObject::linkd: Unable to communicate with closed link LinkObject['/Applications/Mathematica.app/Contents/SystemFiles/Converters/Binaries/MacOSX-x86-64/GDAL.exe',6300,8].
Import::fmterr: Cannot import data as GeoTIFF format.

I can get the file to open using other GeoTiff programs such as QCIS. So it does seem to be a Mathematica issue. Any ideas? It is an error which I have not encountered before.

java – Why does vscode not recognize the import org.junit?

I am using maven to develop a java project within visual studio code, and am currently trying to write a test class.
I have added junit as a dependency to my pom.xml file:

<dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.12</version>
        <scope>test</scope>
</dependency>

Currently, my class looks like this: (there are no problems with the Board class, and getOne() returns 1)

import org.junit.Test;

public class BoardTest {
    private Board board = new Board();

    @Test
    public void testOne() {
        assert(board.getOne() == 1);
    }
}

Initially, when I open the file, everything is fine, but as soon as I save, vscode generates 2 error messages, both of which go away when I close and reopen the file, but appear again after a save:

  1. “The import org.junit cannot be resolved”

  2. “Test cannot be resolved to a type”

Interestingly, even with these errors present, vscode gives me mouseover information for both the import and the @Test flag, as if it has actually resolved them correctly.
I have run mvn install from the command line, and vscode even lists junit-4.12.jar in the project’s java dependencies section.

Running mvn test yields the expected result (the test passes), and after mvn package, running the project’s .jar file from the command line runs the project with no problems. Whenever I try to run the project from vscode, it gives me a notice that the build has failed, even if the error messages are not currently present (i.e. after I have opened the test class but before I have saved). If I tell vscode to proceed anyway, the project again runs fine. Trying to run the test from vscode works the same way (I get an error message, but the test passes as normal after I tell vscode to proceed anyway).

Any ideas as to what could cause this? Here are the current versions of everything that I am using:

JDK: openjdk v11.0.7

vscode: v1.45.1

maven: Apache Maven v3.6.3

ubuntu – Python import error on startup of Autodocktools

I am trying to start Autodocktools from the command line on Ubuntu 18.04.4 which gives the following error:

Run ADT from  /usr/lib/python2.7/dist-packages/AutoDockTools
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/AutoDockTools/__init__.py", line 429, in runADT
    from Pmv.moleculeViewer import MoleculeViewer
  File "/usr/lib/python2.7/dist-packages/Pmv/moleculeViewer.py", line 19, in <module>
    from DejaVu.Geom import Geom
  File "/usr/lib/python2.7/dist-packages/DejaVu/__init__.py", line 201, in <module>
    from Viewer import Viewer
  File "/usr/lib/python2.7/dist-packages/DejaVu/Viewer.py", line 50, in <module>
    from DejaVu.Camera import Camera
  File "/usr/lib/python2.7/dist-packages/DejaVu/Camera.py", line 39, in <module>
    import Image
ImportError: No module named Image
hit enter to continue

I installed the module (pip install Image) which was successful. Since by default packages already present are ignored, I do not know if it was already installed. In any case the installation did not solve the error.

I did some research and found relevant information on what I suppose are similar problems. These did pertain to code written by the user, though (https://stackoverflow.com/questions/12024397/no-module-named-image/32166371). None of the software involved in my problem is written by me and I do not know if I can or should modify the code of the relevant python file.
Otherwise, I found a bug report for another software which seems to indicate that the problem is not specific to autodocktools (https://bugs.launchpad.net/ubuntu/+source/python-imaging/+bug/1112496) and also appears for other software. Unfortunately, the information is rather old, so I do not know, if it applies.

Does somebody know a fix / workaround for this?

ssms – Data-tier .bacpac import keeps failing

Within a container, I have SqlServer running in a docker container. It was created like so:

docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=$1" -p 1433:1433 --name sql1 -v sql1-sqlvolume:/var/opt/mssql -d mcr.microsoft.com/mssql/server:2017-latest

I then use SSMS to import a data-tier application. Then in the wizard I import from disk and verify all the data until it then runs the import.

With Sql Server Settings:

Data file path: /var/opt/mssql/data
Log file path: /var/opt/mssql/data

But every time, it fails with this:

Creating database on target - Success
Importing database - Error
Creating deployment plan - Error
Initializing deployment - Error
Refreshing Object Exporer - Success

The Error is:

===================================

Object reference not set to an instance of an object. (Microsoft.Data.Tools.Schema.Sql)

------------------------------
Program Location:

at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeploymentPlanGenerator.DeploymentScriptDomGenerator.GenerateFragment(Int32 operation, IModelElement element)
at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeploymentPlanGenerator.DeploymentScriptDomGenerator.GenerateSteps(Int32 operation, IModelElement element)
at Microsoft.Data.Tools.Schema.Sql.Deployment.OrderedStepGenerator.Add(DeploymentScriptDomGenerator scriptDom, IModelElement element, Int32 operation)
at Microsoft.Data.Tools.Schema.Sql.Deployment.Analyzers.PlanMediator.BuildDependencyOrderedSteps(Int32 operation, List`1 classOrder, List`1 operationOrder, Dictionary`2 changes, Boolean preserveGraphs, Dictionary`2& relating, Dictionary`2& related)
at Microsoft.Data.Tools.Schema.Sql.Deployment.Analyzers.PlanMediator.BuildOperations()
at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeploymentPlanGenerator.OnGeneratePlan()
at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeploymentPlanGenerator.GeneratePlan(List`1 drops)
at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeployment.BuildPlan()
at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeployment.Controller.CreatePlan()
at Microsoft.SqlServer.Dac.DeployOperation.<>c__DisplayClass3.<>c__DisplayClass5.<CreatePlanInitializationOperation>b__1()
at Microsoft.Data.Tools.Schema.Sql.Dac.OperationLogger.Capture(Action action)
at Microsoft.SqlServer.Dac.DeployOperation.<>c__DisplayClass3.<CreatePlanInitializationOperation>b__0(Object operation, CancellationToken token)
at Microsoft.SqlServer.Dac.Operation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)
at Microsoft.SqlServer.Dac.ReportMessageOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)
at Microsoft.SqlServer.Dac.OperationExtension.CompositeOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)
at Microsoft.SqlServer.Dac.OperationExtension.CompositeOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)
at Microsoft.SqlServer.Dac.DeployOperation.Microsoft.SqlServer.Dac.IOperation.Run(OperationContext context)
at Microsoft.SqlServer.Dac.OperationExtension.Execute(IOperation operation, DacLoggingContext loggingContext, CancellationToken cancellationToken)
at Microsoft.SqlServer.Dac.DacServices.InternalDeploy(IPackageSource packageSource, Boolean isDacpac, String targetDatabaseName, DacDeployOptions options, CancellationToken cancellationToken, DacLoggingContext loggingContext, Action`3 reportPlanOperation, Boolean executePlan)
at Microsoft.SqlServer.Dac.DacServices.ImportBacpac(BacPackage package, String targetDatabaseName, DacImportOptions importOptions, Nullable`1 cancellationToken)
at Microsoft.SqlServer.Dac.DacServices.ImportBacpac(BacPackage package, String targetDatabaseName, DacAzureDatabaseSpecification creationDefaults, Nullable`1 cancellationToken)
at Microsoft.SqlServer.Management.Dac.DacWizard.ImportDatabase.DoWork()
at Microsoft.SqlServer.Management.TaskForms.SimpleWorkItem.Run()

Can anybody see what I am doing wrong here?

Thanks
Eric

interface – Legacy system content import tool

welcome to Stack Exchange. I’m also fairly new around here.

Your question is a bit broad one. It heavily depends on three factors
– Technology Details
– Userbase
– Company’s time and investment on this process.

In a most Google-y way, whole process can be done with a single button click and it could be done on the background for your users but I get that there’s no such technology involved with the project.

Letting your users handle the migration is a one way to approach but there goes the technical factors. Are users previous users or are you trying to get leads from competitors? Are the data been stored on JSON files or are they some special format specific to the regional educational technology standards.

So as you can see there’s lots of stuff that you need to clarify so we can also give you specific answers.

Oh, forgot to answer your question. As a user (and I believe most of the users are the same) I love one click import tools where I don’t do anything at all. Doing work for the tools are boring and not user-friendly at all -unless they’re paying to that task. For example, I recently imported my 1Password registries to Bitwarden. There was a very simple guide on Bitwarden explaining how to export my registries from 1Password. After exporting I just selected the exported file from Bitwarden and my whole process was done within 4 clicks. That’s how an import function work. Export file, select import, select file, click start import. Hope this would answer your question.

Love to hear more about the project if you’d like to talk more in detail.

export – How to import magento products’ data to Akeneo Pim?

I’ve installed the magento side connector, and found it’s expensive to buy a PIM side connector to import magento data into pim, does it exist some instructions for importing products from magento to akeneo PIM?
I’ve more then 3000 products and their attributes set in magento.
Thanks