Italia
Joined: May 7, 2010
Post Count: 4
Status:
Offline
print on pdf does not work in my linux box
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/mvnforum/images/emotion/smile.gif
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: print on pdf does not work in my linux box
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
Italia
Joined: May 7, 2010
Post Count: 4
Status:
Offline
Re: print on pdf does not work in my linux box
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
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: print on pdf does not work in my linux box
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
Italia
Joined: May 7, 2010
Post Count: 4
Status:
Offline
Re: print on pdf does not work in my linux box
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
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: print on pdf does not work in my linux box
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
Italia
Joined: May 7, 2010
Post Count: 4
Status:
Offline
Re: print on pdf does not work in my linux box
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
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.