Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export As... does not work (at all!) #24

Closed
wbrenna opened this issue Sep 9, 2013 · 3 comments
Closed

Export As... does not work (at all!) #24

wbrenna opened this issue Sep 9, 2013 · 3 comments

Comments

@wbrenna
Copy link
Contributor

wbrenna commented Sep 9, 2013

To PDF it produces a file but it is empty and gives

Error: PDF file is damaged - attempting to reconstruct xref table...

To PNG it crashes catastrophically

xournalpp: cairo-surface.c:637: cairo_surface_destroy: Assertion `((*&(&surface->ref_count)->ref_count) > 0)' failed.
Crash Handler::Crashed with signal 6
[bt] #9 /home/wilson/documents/Dropbox/misc/xournalpp/xournalpp_fedora/src/xournalpp(_ZN9ExportJob11freeSurfaceEi+0xb7) [0x80b91f7]
/home/wilson/xournalpp/src/control/jobs/ExportJob.cpp:110
[bt] #10 /home/wilson/documents/Dropbox/misc/xournalpp/xournalpp_fedora/src/xournalpp(_ZN9ExportJob3runEv+0x443) [0x80b9733]
/home/wilson/xournalpp/src/control/jobs/ExportJob.cpp:195
[bt] #11 /home/wilson/documents/Dropbox/misc/xournalpp/xournalpp_fedora/src/xournalpp(_ZN11BlockingJob7executeEv+0x9d) [0x80b88dd]
/home/wilson/xournalpp/src/control/jobs/BlockingJob.cpp:25
[bt] #12 /home/wilson/documents/Dropbox/misc/xournalpp/xournalpp_fedora/src/xournalpp(_ZN9Scheduler17jobThreadCallbackEPS_+0x135) [0x80be3d5]
/home/wilson/xournalpp/src/control/jobs/Scheduler.cpp:275
@wbrenna
Copy link
Contributor Author

wbrenna commented Oct 13, 2013

Update: the paths are pretty wonky and I have a partial fix right now, and it should be complete shortly. The PDF, SVG, and EPS work perfectly minus the path problems. The PNG creates OK but crashes with:
xournalpp: cairo-surface.c:930: cairo_surface_destroy: Assertion ((*&(&surface->ref_count)->ref_count) > 0)' failed.`

[bt] #8 /lib/libcairo.so.2(cairo_surface_destroy+0x11f) [0x4db5d36f] 
??:0
[bt] #9 ./xournalpp(_ZN9ExportJob11freeSurfaceEi+0xb3) [0x80c1f73]
/home/wilson/etc/xournalpp_run/src/control/jobs/ExportJob.cpp:112
[bt] #10 ./xournalpp(_ZN9ExportJob3runEv+0x446) [0x80c27a6]
/home/wilson/etc/xournalpp_run/src/control/jobs/ExportJob.cpp:184
[bt] #11 ./xournalpp(_ZN11BlockingJob7executeEv+0x9d) [0x80c1abd]

@wbrenna
Copy link
Contributor Author

wbrenna commented Oct 19, 2013

The reason the path problem exists, I think, is actually because Glade and GtkFileChooser don't play well together. The documentation is pretty poor on this.

@wbrenna
Copy link
Contributor Author

wbrenna commented Oct 19, 2013

I've fixed the PNG bug and the PDF bug. The GtkFileChooser bug is upstream - that's a known (though poorly documented) problem with bookmarks. I included a window that shows the current folder so that the user knows that it's being buggy.

wbrenna added a commit that referenced this issue Oct 19, 2013
@wbrenna wbrenna closed this as completed Oct 19, 2013
@wbrenna wbrenna removed this from the Xournalpp 1.0 milestone May 17, 2014
@yasmah74 yasmah74 mentioned this issue May 18, 2023
@Samanbaia Samanbaia mentioned this issue Jul 22, 2023
@opaluja opaluja mentioned this issue Aug 3, 2023
@bmany bmany mentioned this issue Aug 4, 2023
@thdngan thdngan mentioned this issue Aug 6, 2023
@rostur rostur mentioned this issue Aug 16, 2023
@rschram rschram mentioned this issue Oct 26, 2023
@majorace majorace mentioned this issue Apr 9, 2024
@01-1 01-1 mentioned this issue Apr 20, 2024
@IlyaSulli IlyaSulli mentioned this issue May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant