forums.tropy.org

Uploading PDFs to Tropy

Hi,

Is it possible to upload PDFs to Tropy? I have the latest version but it won’t let me upload PDFs (every time I try it crashes).

Thanks!

Hi,

yes Tropy supports PDFs and should definitely not crash. To help us debug the issue, could you post your log file here? You can find the tropy.log file by opening Tropy and selecting Help > Show Log Files. Import a PDF that lets Tropy crash and then post the log file here (without restarting Tropy in the meanwhile).

Thanks!

Hi,

Thanks for looking into this! Here is the log that came up after it crashed:

{“level”:30,“time”:1594648072976,“type”:“browser”,“name”:“main”,“opts”:{"_":[],“environment”:“production”,“env”:“production”,“auto-updates”:true,“ignore-gpu-blacklist”:false,“debug”:false,“trace”:false,“port”:null,“p”:null,"$0":“Applications/Tropy.app/Contents/MacOS/Tropy”,“data”:"/Users/epwells11/Library/Application Support/Tropy",“cache”:"/Users/epwells11/Library/Caches/Tropy",“logs”:"/Users/epwells11/Library/Logs/Tropy"},“version”:“1.7.0”,“msg”:“main.init 1.7.0 Darwin 18.7.0 (x64)”,“v”:1}
{“level”:30,“time”:1594648073569,“type”:“browser”,“name”:“main”,“msg”:“plugins scanned: 0”,“v”:1}
{“level”:30,“time”:1594648073574,“type”:“browser”,“name”:“main”,“msg”:“app state restored”,“v”:1}
{“level”:30,“time”:1594648073577,“type”:“browser”,“name”:“main”,“file”:"/Users/epwells11/Downloads/Dissertation Images (Tropy)/Keep Within Compass.tpy",“msg”:“open new project window”,“v”:1}
{“level”:30,“time”:1594648073908,“type”:“browser”,“name”:“main”,“msg”:“ready after 716ms [req:110ms]”,“v”:1}
{“level”:30,“time”:1594648073979,“type”:“browser”,“name”:“main”,“msg”:“switch to “system” theme”,“v”:1}
{“level”:30,“time”:1594648074005,“type”:“browser”,“name”:“main”,“msg”:“checking for updates…”,“v”:1}
{“level”:30,“time”:1594648074328,“type”:“browser”,“name”:“main”,“msg”:“no updates available”,“v”:1}
{“level”:30,“time”:1594648074479,“type”:“renderer”,“name”:“project”,“dpx”:2,“opts”:{“contrast”:false,“dark”:false,“environment”:“production”,“documents”:"/Users/epwells11/Documents",“maximizable”:true,“minimizable”:true,“pictures”:"/Users/epwells11/Pictures",“scrollbars”:true,“theme”:“system”,“file”:"/Users/epwells11/Downloads/Dissertation Images (Tropy)/Keep Within Compass.tpy",“recent”:["/Users/epwells11/Downloads/Dissertation Images (Tropy)/Keep Within Compass.tpy","/Users/epwells11/Downloads/Dissertation Images (Tropy)/Keep Within Compass (Images).tpy","/Users/epwells11/Downloads/Dissertation Images (Tropy)/Cultivating Texts.tpy","/Users/epwells11/Desktop/Keep Within Compass.tpy","/Users/epwells11/Documents/Cultivating Texts.tpy","/Users/epwells11/Downloads/Dissertation Images (Tropy)/A Lecture on Heads.tpy","/Users/epwells11/Documents/A Lecture on Heads.tpy","/Users/epwells11/Downloads/Dissertation Images (Tropy)/A Gothic Education.tpy","/Users/epwells11/Documents/A Gothic Education.tpy","/Users/epwells11/Documents/Keep Within Compass.tpy"],“data”:"/Users/epwells11/Library/Application Support/Tropy",“debug”:false,“dev”:false,“cache”:"/Users/epwells11/Library/Caches/Tropy",“plugins”:"/Users/epwells11/Library/Application Support/Tropy/plugins",“fontSize”:“13px”,“frameless”:true,“level”:“info”,“locale”:“en”,“log”:"/Users/epwells11/Library/Logs/Tropy/tropy.log",“uuid”:“7484da20-1d9f-11e9-bd4d-7b5bc1482d3c”,“update”:{},“version”:“1.7.0”,“webgl”:true,“zoom”:1},“msg”:“project.init”,“v”:1}
{“level”:30,“time”:1594648074684,“type”:“renderer”,“name”:“project”,“msg”:“plugins scanned: 0”,“v”:1}
{“level”:30,“time”:1594648074685,“type”:“renderer”,“name”:“project”,“msg”:“plugins loaded: 0”,“v”:1}
{“level”:30,“time”:1594648076892,“type”:“renderer”,“name”:“project”,“msg”:“open db /Users/epwells11/Library/Application Support/Tropy/ontology.db”,“v”:1}
{“level”:30,“time”:1594648076898,“type”:“renderer”,“name”:“project”,“msg”:“restoring recent@tropy”,“v”:1}
{“level”:30,“time”:1594648076909,“type”:“renderer”,“name”:“project”,“msg”:“restoring settings@tropy”,“v”:1}
{“level”:30,“time”:1594648076909,“type”:“renderer”,“name”:“project”,“msg”:“restoring ui@tropy”,“v”:1}
{“level”:30,“time”:1594648077152,“type”:“renderer”,“name”:“project”,“msg”:“open db /Users/epwells11/Downloads/Dissertation Images (Tropy)/Keep Within Compass.tpy”,“v”:1}
{“level”:30,“time”:1594648077432,“type”:“renderer”,“name”:“project”,“msg”:“esper using webgl renderer”,“v”:1}
{“level”:30,“time”:1594648077576,“type”:“renderer”,“name”:“project”,“msg”:“db query took 125ms”,“query”:“PRAGMA user_version”,“ms”:125,“v”:1}
{“level”:30,“time”:1594648077634,“type”:“renderer”,“name”:“project”,“msg”:“open db /Users/epwells11/Downloads/Dissertation Images (Tropy)/Keep Within Compass.tpy”,“v”:1}
{“level”:30,“time”:1594648077695,“type”:“renderer”,“name”:“project”,“msg”:“project ready 3283ms [dom:133ms win:170ms req:2196ms]”,“v”:1}
{“level”:40,“time”:1594648078197,“type”:“renderer”,“name”:“project”,“query”:“PRAGMA integrity_check(10)”,“ms”:487,“msg”:“SLOW: db query took 487ms”,“v”:1}
{“level”:30,“time”:1594648078307,“type”:“renderer”,“name”:“project”,“msg”:“restoring nav@8453d69d-9e00-49af-ab8b-26c910e11304”,“v”:1}
{“level”:30,“time”:1594648078307,“type”:“renderer”,“name”:“project”,“msg”:“restoring notepad@8453d69d-9e00-49af-ab8b-26c910e11304”,“v”:1}
{“level”:30,“time”:1594648078307,“type”:“renderer”,“name”:“project”,“msg”:“restoring esper@8453d69d-9e00-49af-ab8b-26c910e11304”,“v”:1}
{“level”:30,“time”:1594648078310,“type”:“renderer”,“name”:“project”,“msg”:“restoring imports@8453d69d-9e00-49af-ab8b-26c910e11304”,“v”:1}
{“level”:30,“time”:1594648078310,“type”:“renderer”,“name”:“project”,“msg”:“restoring sidebar@8453d69d-9e00-49af-ab8b-26c910e11304”,“v”:1}
{“level”:30,“time”:1594648078310,“type”:“renderer”,“name”:“project”,“msg”:“restoring panel@8453d69d-9e00-49af-ab8b-26c910e11304”,“v”:1}
{“level”:30,“time”:1594648078424,“type”:“renderer”,“name”:“project”,“msg”:“open db /Users/epwells11/Downloads/Dissertation Images (Tropy)/Keep Within Compass.tpy”,“v”:1}
{“level”:40,“time”:1594648079327,“type”:“renderer”,“name”:“project”,“query”:"\n SELECT\n id,\n item_id AS item,\n template,\n datetime(created, “localtime”) AS created,\n datetime(modified, “localtime”) AS modified,\n angle,\n color,\n density,\n mirror,\n negative,\n brightness,\n contrast,\n hue,\n saturation,\n sharpen,\n width,\n height,\n path,\n page,\n size,\n protocol,\n mimetype,\n checksum,\n orientation\n FROM subjects\n JOIN images USING (id)\n JOIN photos USING (id)",“ms”:209,“msg”:“SLOW: db query took 209ms”,“v”:1}
{“level”:40,“time”:1594648079470,“type”:“renderer”,“name”:“project”,“ms”:1033,“list”:false,“query”:"",“tags”:false,“trash”:null,“msg”:“SLOW: *search query “” took 1033ms”,“v”:1}
{“level”:40,“time”:1594648134867,“type”:“browser”,“name”:“main”,“msg”:“project[1] contents crashed”,“v”:1}

Update: I was able to import the PDF! I didn’t realize that it was open on my computer when I was trying to import it but once I closed the PDF it imported just fine.

Thanks for the update — good to hear that you already figured it out yourself.