CSV Export Issues

I get the following error message when I try to export to CSV, any info as to what it means or how I can fix it?

Thank you!

{“msg”:“Failed to export items.”,“stack”:“TypeError: Cannot read property ‘app’ of undefined\n at CSVPlugin.getWriteStream (/Users/aimeehisey/Library/Application Support/Tropy/plugins/tropy-plugin-csv/index.js:74:29)\n at CSVPlugin.export (/Users/aimeehisey/Library/Application Support/Tropy/plugins/tropy-plugin-csv/index.js:93:25)\n at Plugins.exec (/Applications/Tropy.app/Contents/Resources/app.asar/lib/bootstrap-bd6205d0.js:6005:38)\n at export (/Applications/Tropy.app/Contents/Resources/app.asar/lib/bootstrap-bd6205d0.js:6008:17)\n at runCallEffect (/Applications/Tropy.app/Contents/Resources/app.asar/lib/project-69c088db.js:3488:21)\n at runEffect (/Applications/Tropy.app/Contents/Resources/app.asar/lib/project-69c088db.js:3954:7)\n at digestEffect (/Applications/Tropy.app/Contents/Resources/app.asar/lib/project-69c088db.js:3999:5)\n at next (/Applications/Tropy.app/Contents/Resources/app.asar/lib/project-69c088db.js:3931:9)\n at currCb (/Applications/Tropy.app/Contents/Resources/app.asar/lib/project-69c088db.js:3987:7)\n at runSelectEffect (/Applications/Tropy.app/Contents/Resources/app.asar/lib/project-69c088db.js:3658:5)\n at runEffect (/Applications/Tropy.app/Contents/Resources/app.asar/lib/project-69c088db.js:3954:7)\n at digestEffect (/Applications/Tropy.app/Contents/Resources/app.asar/lib/project-69c088db.js:3999:5)\n at next (/Applications/Tropy.app/Contents/Resources/app.asar/lib/project-69c088db.js:3931:9)\n at proc (/Applications/Tropy.app/Contents/Resources/app.asar/lib/project-69c088db.js:3908:3)\n at runEffect (/Applications/Tropy.app/Contents/Resources/app.asar/lib/project-69c088db.js:3950:7)\n at digestEffect (/Applications/Tropy.app/Contents/Resources/app.asar/lib/project-69c088db.js:3999:5)”,“system”:“Darwin 21.1.0 (x64)”,“time”:1637540442944,“version”:“1.10.0”}

I think you need to update the CSV plugin to the latest version – you can do this by downloading the zip file above and then installing it again in the plugin’s pane.

Hi, the Developer!
I want to ask You: How can I export the item metadata with Cyrillic using the CSV plugin?
Thank You for You comment!

Thanks, the problem is solved.

Hi, I’m having a very similar issue when trying to export my data to a csv file, even with the updated CSV plugin

{“msg”:“Failed to export items.”,“stack”:“TypeError: Cannot read properties of undefined (reading ‘export’)\n at Plugins.exec (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\bootstrap-a4d58a43.js:7035:30)\n at export (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\bootstrap-a4d58a43.js:7038:17)\n at runCallEffect (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:3586:21)\n at runEffect (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:4052:7)\n at digestEffect (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:4097:5)\n at next (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:4029:9)\n at currCb (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:4085:7)\n at runSelectEffect (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:3756:5)\n at runEffect (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:4052:7)\n at digestEffect (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:4097:5)\n at next (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:4029:9)\n at proc (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:4006:3)\n at runEffect (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:4048:7)\n at digestEffect (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:4097:5)\n at next (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:4029:9)\n at proc (C:\Users\perezroig.camila\AppData\Local\tropy\app-1.12.0\resources\app.asar\lib\project-47faaeb2.js:4006:3)”,“system”:“Windows_NT 10.0.19043 (x64)”,“time”:1674653499437,“version”:“1.12.0”}

It started when I switched computers. I was able to export it in one computer but then I switched back to my work computer and I started having this issue. I’m working with all my photos and Tropy file in an external drive, and I have already consolidated all photos in this computer.

Can you help me please? I don’t want to lose all the work I’ve done in Tropy. Thanks!

Are you sure you downloaded and installed the latest release? On the download page there is also a link to the source code which is also a ZIP file – because it contains the right metadata you can install the ZIP file into Tropy but it would fail to execute (similar to the error you posted) so maybe that’s what happened in your case. To be sure, here is the direct link to the current release file.

Thanks for your reply! I downloaded the plugin from the direct link but still have the same issue. I’ve tried different settings and using Default templates but the problem seems to be elsewhere.

Could you post a screenshot of your plugins folder and also of the installed CSV plugin’s folder?

You can open the plugins folder via the menu Help -> Show plugins folder. For example like this:

And then the contents of the installed plugin: