Problem exporting vector graphics (PDF) in Mathematica Notebook Front-End using remote kernel on linux

I’m not being able to export vector graphics images (especially PDF) in a Mathematica Notebook Front-End in Windows 8.1 using a remote kernel on a Linux server.

I can, however, export Raster Image Formats without a problem.

One interesting thing to point out is the fact that when accessing the server directly via ssh command line, launching Mathematica kernel and executing the same Export command, it works fine.

Mathematica 11.3 is the version being used on both computers.

Example of a Mathematica Notebook:

SetDirectory["/home/results"]  plt = Plot[x, {x, 0, 1}]  Export["test.gif", plt]  (*Works fine*)  Export["test.jpg", plt]  (*Works fine*)  Export["test.png", plt]  (*Works fine*)  Export["test.pdf", plt]  (*Does not work*)  Export["test.eps", plt]  (*Does not work*) 

How to stop Google Drawings from changing links when exporting as SVG

When I create a Google Drawing and add links to different elements, upon exporting the drawing as a SVG Google changes all of my links to point to a Google search redirector instead of using the links I entered.

For example, if I add a link to a shape in a drawing that points to: 

Upon exporting the drawing as a SVG, Google has changed that link to: 

The link still redirects to the correct location, however I don’t need (or want) the superfluous Google stuff in there.

I know I can edit the SVG and change the link to what I want, but this seems like a ridiculous amount of manual work, especially if there are a lot of links to change. Is there a setting or some other way to stop this from happening?

Exporting a Backup of All Orders

We are currently making a major overhaul to an old website of ours, and it is still using Magento Version I know it is very outdated.

We have a lot of orders here that we want to make a backup of, such as name, email address, telephone order, sale amount, date of order(s), items ordered, etc.

There are over 10k transactions.

How do I easily back it up in a reader friendly format, preferably on a spreadsheet?

I have seen plugins like but it only goes until version 1.5.

I have a little programming knowledge, but prefer an easy way to do it.

PowerShell – Empty csv file produced when reading 1 row of tab delimited data and exporting to ‘+’ delimited

The objective for a (PowerShell) script is to take a tab delimited text file, remove the header row, change the delimiter to ‘+’, add a custom header record and add a summary (footer) row at the bottom of the file with a count of the number of data records. Lastly, the file extension needs to be replaced with a sequential number

When the raw file contains more than 1 row the result is as required, but when only one row (Header plus 1 data row), the output file is empty.

$  dir = "C:\Temp\Data" $  file = "rand1"  $  sequencefile = "C:\temp\Sequential\DoNotDeleteSequence.txt"  $  sequencenumber = (Get-Content $  sequencefile) $  newsequencenumber = ($  sequencenumber/1) + 1  Clear-Content $  sequencefile Add-Content $  sequencefile $  newsequencenumber  $  backslash = "\" $  ext = ".txt" $  filename = $  dir + $  backslash + $  file + $  ext $  text = "TRAILER = " $  dateText = get-date -Format d $  Header1 = "HEADER=" $  Header2 = "+PSTG" $  HeaderText = $  Header1 + $  dateText + $  Header2  $  tempfile1 = "step1"  $  tempfile2 = "step2"  $  tempfile3 = "step3"  $  tempfile4 = "step4"   $  temppstg = "PSTG_NCDLPSTG."  $  stepfile1 = $  dir + $  backslash + $  tempfile1 + $  ext $  stepfile2 = $  dir + $  backslash + $  tempfile2 + $  ext $  stepfile3 = $  dir + $  backslash + $  tempfile3 + $  ext $  stepfile4 = $  dir + $  backslash + $  tempfile4 + $  ext  $  pstgfile = $  dir + $  backslash + $  temppstg + $  newsequencenumber   (Get-Content $  filename).replace("+", '') | Set-Content $  stepfile1  (Get-Content $  stepfile1) | select -skip 1 | Set-Content $  stepfile2  Import-Csv $  stepfile2 -Delimiter "`t" | Export-Csv $  stepfile3 -Delimiter "+" -NoTypeInformation  Set-Content $  stepfile4 $  HeaderText  (Get-Content $  stepfile3).replace("""", '') | Add-Content $  stepfile4  $  records = Import-Csv $  stepfile4 | Measure-Object | Select-Object -expand count  $  textToWrite = $  text + $  records  Add-Content $  stepfile4 $  textToWrite  Rename-Item $  stepfile4 $  pstgfile 

I’ve created 2 test raw files;

C:\Temp\Data\rand1.txt containing; Header Row Record1 Data1

(tab delimited)

C:\Temp\Data\rand2.txt containing; Header Row Record1 Data1 Record2 Data2

When rand2.txt is passed through the code the result is;

HEADER=25/03/2019+PSTG Record1+Data1 Record2+Data2 TRAILER = 2

When rand1.txt is processed, the result is; HEADER=25/03/2019+PSTG TRAILER = 0

Exporting lists and saving them as .CSV file

I found this code that has helped me out incredibly with my job. I would like to customize it a little bit more though and for the life of me I can’t get it to work. I have no coding knowledge at all so I thought I may be able to get some help from this community.

I would like to include something so that when the files are saved, it’s saved in .CSV file format. The code I have is shown below.

Sub Test()   Dim wb As Workbook   Dim ThisSheet As Worksheet   Dim NumOfColumns As Integer   Dim RangeToCopy As Range   Dim RangeOfHeader As Range        'data (range) of header row   Dim WorkbookCounter As Integer   Dim RowsInFile                    'how many rows (incl. header) in new files?    Application.ScreenUpdating = False    'Initialize data   Set ThisSheet = ThisWorkbook.ActiveSheet   NumOfColumns = ThisSheet.UsedRange.Columns.Count   WorkbookCounter = 1   RowsInFile = 101                   'as your example, just 1000 rows per file    'Copy the data of the first row (header)   Set RangeOfHeader = ThisSheet.Range(ThisSheet.Cells(1, 1), ThisSheet.Cells(1, NumOfColumns))    For p = 2 To ThisSheet.UsedRange.Rows.Count Step RowsInFile - 1     Set wb = Workbooks.Add    'Paste the header row in new file     RangeOfHeader.Copy wb.Sheets(1).Range("A1")    'Paste the chunk of rows for this file     Set RangeToCopy = ThisSheet.Range(ThisSheet.Cells(p, 1), ThisSheet.Cells(p + RowsInFile - 2, NumOfColumns))     RangeToCopy.Copy wb.Sheets(1).Range("A2")    'Save the new workbook, and close it     wb.SaveAs ThisWorkbook.Path & "\file " & WorkbookCounter     wb.Close    'Increment file counter     WorkbookCounter = WorkbookCounter + 1   Next p    Application.ScreenUpdating = True   Set wb = Nothing End Sub 

Huge file when exporting iPhoto slideshow

I am creating a slideshow in iPhoto, my slideshow contains about 70 images, each image is about 10MB. When selecting Export to 1080p, it says that it needs more than 20GB of disk space to export. This is insane. My slideshow is using Vintage Prints theme and a 7-minute music file.

Is there something wrong here? I searched on the internet for the solution but it just mentioned the issue, no solution for this at all. Or maybe this is normal? (which I don’t really think so)

Sharepoint 2010 – Exporting config settings for all lists, workflows, and libraries

Is there a way to export the design/setup of all my lists, libraries and workflows? I’m looking for something kind of like this:

List 1:

Permissions:   Columns: Associated Workflows: 

Workflow 1:

Starts when item is edited Associated List 

Anything remotely like this?


iMovie 10.1 Not Exporting File, How do I fix this?

I spent about 18 hours on this iMovie project total. When I tried to export it, iMovie would crash, displaying the message as follows:

Crashed Thread:        0  Dispatch queue:  Exception Type:        EXC_CRASH (SIGABRT) Exception Codes:       0x0000000000000000, 0x0000000000000000 Exception Note:        EXC_CORPSE_NOTIFY  Application Specific Information: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil abort() called 

Thread-0 Info:

Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000  rbx: 0x0000000116ac05c0  rcx: 0x00007ffee4dbb9f8  rdx: 0x0000000000000000 rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007ffee4dbba30  rsp: 0x00007ffee4dbb9f8  r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000206 r12: 0x0000000000000307  r13: 0x0000000000000001  r14: 0x0000000000000006  r15: 0x000000000000002d rip: 0x00007fff5e456b86  rfl: 0x0000000000000206  cr2: 0x00007fff903b4188  Logical CPU:     0 Error Code:      0x02000148 Trap Number:     133 

Also, threads 19-25 show this message:

0   libsystem_pthread.dylib         0x00007fff5e509408 start_wqthread + 0 1   ???                             0x0000000054485244 0 + 1414025796 

What does all of this mean and how can I fix this?