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 working bad #36

Open
nico202 opened this issue Feb 16, 2015 · 10 comments
Open

Export working bad #36

nico202 opened this issue Feb 16, 2015 · 10 comments
Labels

Comments

@nico202
Copy link

nico202 commented Feb 16, 2015

Hi, I am not able to export my text to pdf (a 0 byte file get created), nor to print it.
Another thing that happen, is the wrong html encoding (apostophed letters like òàèù are shown like: è)
Thanks, Nicolò
Edit: I'm on elementary OS

@voldyman
Copy link
Owner

i am unable to reproduce it on my system, can you may be record a small screen cast of what steps you go through/text you enter so i may be able to reproduce it here and fix it.

@nico202
Copy link
Author

nico202 commented Feb 16, 2015

Pdf export: http://www.screencast.com/t/6PfloQsDu2 (0byte file)
Print to file: http://www.screencast.com/t/d1RduHZ26E (not even created. Evince, for exaple, do work)

voldyman added a commit that referenced this issue Feb 16, 2015
voldyman added a commit that referenced this issue Feb 16, 2015
@voldyman
Copy link
Owner

I found and fixed the export to file bug but couldn't reproduce the export to pdf bug, still changed the way pdf export worked, please try again.

if you are using it from the ppa, it might take a few hours to get to it otherwise build from source.

@nico202
Copy link
Author

nico202 commented Feb 16, 2015

I compiled it manually. Print is still now working. After trying to print, I don't get anymore the text preview, and I got a crash report: http://postimg.org/image/3o3nc9r0p/ http://postimg.org/image/lh88pwp05/
Edit: the preview is missing only until next text edit

@voldyman
Copy link
Owner

that is very weird,

  • are you using translations?
  • can you run mmw from terminal using the commands
$ gdb mark-my-words
$ run

then type some text, press the print button and when the program crashes, in the terminal type
bt and paste the output of the whole thing here.

@nico202
Copy link
Author

nico202 commented Feb 16, 2015

It is not the mmw itself to crash, as seen in the screenshot, I think it is
just the printing process. So, no backtrace
Edit: Yes, It's localized in italian
2015-02-16 17:53 GMT+01:00 Akshay Shekher [email protected]:

that is very weird,

  • are you using translations?
  • can you run mmw from terminal using the commands

$ gdb mark-my-words
$ run

then type some text, press the print button and when the program crashes,
in the terminal type
bt and paste the output of the whole thing here.


Reply to this email directly or view it on GitHub
#36 (comment).

@voldyman
Copy link
Owner

@emersion you are using a translated version too, right? i think the "Print Dialog" text is getting translated incorrectly or something because it works perfectly on my system

@emersion
Copy link
Collaborator

emersion commented Mar 8, 2015

@voldyman I was using a translation for my desktop, but now I've switched to English. I'll try on other computers I have in French and with elementary OS.

@emersion emersion added the bug label Mar 8, 2015
@voldyman
Copy link
Owner

voldyman commented Mar 8, 2015

I couldn't find a similar issue anywhere else, it is prolly due to dgettext("gtk30", ...

@ghost
Copy link

ghost commented Nov 23, 2016

I have the same error. Can't export to PDF, 0 byte file.
Have Version 0.7.
Debian Testing, no Error Msg and no Crash.
Try in terminal with gdb.

malte@LeppiDeb:~$ gdb mark-my-words 
GNU gdb (Debian 7.11.1-2+b1) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mark-my-words...done.
(gdb) run
Starting program: /usr/bin/mark-my-words 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe1a0d700 (LWP 21795)]
[New Thread 0x7fffe0dd5700 (LWP 21796)]
[New Thread 0x7fffe05d4700 (LWP 21797)]
[New Thread 0x7fffde498700 (LWP 21798)]
[New Thread 0x7fffdc9ff700 (LWP 21799)]
[New Thread 0x7fff8fffd700 (LWP 21800)]
[New Thread 0x7fff8f7fc700 (LWP 21801)]
[New Thread 0x7fff8effb700 (LWP 21804)]

** (mark-my-words:21791): WARNING **: FileHandler.vala:26: Cannot read "": Operation not supported

** (mark-my-words:21791): WARNING **: FileHandler.vala:45: Cannot read "": Operation not supported

** (mark-my-words:21791): WARNING **: FileHandler.vala:45: Cannot read "": Operation not supported

** (mark-my-words:21791): CRITICAL **: string_replace: assertion 'self != NULL' failed
[New Thread 0x7fff8e7fa700 (LWP 21813)]
[New Thread 0x7fff8dff9700 (LWP 21814)]
[New Thread 0x7fff8d7f8700 (LWP 21815)]
[New Thread 0x7fff8cff7700 (LWP 21816)]
[Thread 0x7fff8e7fa700 (LWP 21813) exited]
[New Thread 0x7fff8e7fa700 (LWP 21833)]
[New Thread 0x7fff6ffff700 (LWP 21834)]
[New Thread 0x7fff6f7fe700 (LWP 21835)]
[New Thread 0x7fff6effd700 (LWP 21836)]
[Thread 0x7fff8dff9700 (LWP 21814) exited]
[Thread 0x7fff6ffff700 (LWP 21834) exited]
[Thread 0x7fff8e7fa700 (LWP 21833) exited]
[Thread 0x7fff6effd700 (LWP 21836) exited]
[Thread 0x7fff8f7fc700 (LWP 21801) exited]
[Thread 0x7fff8fffd700 (LWP 21800) exited]
[Thread 0x7fffdc9ff700 (LWP 21799) exited]
[Thread 0x7fff6f7fe700 (LWP 21835) exited]
[Thread 0x7fff8cff7700 (LWP 21816) exited]
[Thread 0x7fff8d7f8700 (LWP 21815) exited]
[Thread 0x7fff8effb700 (LWP 21804) exited]
[Thread 0x7fffde498700 (LWP 21798) exited]
[Thread 0x7fffe05d4700 (LWP 21797) exited]
[Thread 0x7fffe0dd5700 (LWP 21796) exited]
[Thread 0x7fffe1a0d700 (LWP 21795) exited]
[Inferior 1 (process 21791) exited normally]
(gdb) bt
No stack.
(gdb) exit
Undefined command: "exit".  Try "help".
(gdb) quit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants