smile print on pdf does not work in my linux box

This topic has been viewed 9515 times and has 17 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
mariora
Posts: 4
Joined: Fri May 07, 2010 6:46 am
Country: Cagliari, Italia

print on pdf does not work in my linux box

Post by mariora »

Hallo! Great program, I have linked the url to all my friend!
I am working with it since yesterday with Ubuntu 10.04, and I have few problems that I am going to solve. Only one is important: I cannot save in pdf Format. The file that sweethome create is not readable, and has a 0 Bite length.
what can I do?
Thank you, mariohttp://www.sweethome3d.eu/support/mvnplugin/mv ... /smile.gif
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: print on pdf does not work in my linux box

Post by Puybaret »

If you have no error message dialog, then there must be an error printed in the console when you launch SweetHome3D command under the console.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: print on pdf does not work in my linux box

Post by hansmex »

Mariora:

Strange... on my Ubuntu 10.04 I get a perfect PDF...

Hans
Hans

new website - under constuction
hansdirkse.info
mariora
Posts: 4
Joined: Fri May 07, 2010 6:46 am
Country: Cagliari, Italia

Re: print on pdf does not work in my linux box

Post by mariora »

Yes, i have no error message dialogue, what I have to do for launching SweetHome3D commend under the console to see if there are errors printed?
thank you for the help
mario
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: print on pdf does not work in my linux box

Post by Puybaret »

Select Applications > Accessories > Terminal.
Drag and drop SweetHome3D icon in the Terminal window.
Type enter in the Terminal window to launch program.
Emmanuel Puybaret, Sweet Home 3D creator
mariora
Posts: 4
Joined: Fri May 07, 2010 6:46 am
Country: Cagliari, Italia

Re: print on pdf does not work in my linux box

Post by mariora »

I have launched SweetHome3D from the terminal, I have imported a house and then I have tried to print in PDF. Below I report the error message:
mariora@mariora-desktop:~$ sweethome3d
java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException
at com.eteks.sweethome3d.swing.HomePane.printToPDF(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController$30.call(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController$30.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.eteks.sweethome3d.viewcontroller.ThreadedTaskController$1.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: Class com.lowagie.text.DocumentException
at com.eteks.sweethome3d.tools.ExtensionsClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at com.eteks.sweethome3d.tools.ExtensionsClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 12 more
mariora@mariora-desktop:~$
can you understand where is my problem?
Thank you mario
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: print on pdf does not work in my linux box

Post by Puybaret »

I think the iText-2.1.7.jar file is missing in the subfolder lib in folder SweetHome3D-2.3. Can you check please?
Emmanuel Puybaret, Sweet Home 3D creator
mariora
Posts: 4
Joined: Fri May 07, 2010 6:46 am
Country: Cagliari, Italia

Re: print on pdf does not work in my linux box

Post by mariora »

I have found the file /usr/share/sweethome3d/SweetHome3D-2.3.jar using the "locate" command.
(mariora@mariora-desktop:~$ locate SweetHome
/usr/share/sweethome3d/SweetHome3D-2.3.jar)
Inside it (after double clicking on it) i have could seen various files, and among them the file iText-2.1.7.jar
I have no directories named SweetHome3D-2.3. I have to extract SweetHome3D-2.3.jar? and if yes, in which way?
I am sorry, I know I am clumsy
mario
ChrisOfBristol
Posts: 4
Joined: Sat Oct 08, 2011 4:14 pm

Re: print on pdf does not work in my linux box

Post by ChrisOfBristol »

I am running Ubuntu 11.04 and have exactly the same problem as mariora, - the PDF file is empty. I get no error message, and have checked for the presence of iText-2.1.7.jar.
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: print on pdf does not work in my linux box

Post by hansmex »

Chris,

I also use Ubuntu 11.04 and have no problems.

Which version of SH3D are you using? How did you install it?
You could try and use GetDeb for an easy install.

Hans
Hans

new website - under constuction
hansdirkse.info
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest