Print at Dec 16, 2025, 2:28:43 PM
Posts: 18   Pages: 2   [ 1 2 | Next Page ]
View all posts in this thread on one page
Posted by mariora at May 10, 2010, 8:58:14 PM
smile   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

Posted by Puybaret at May 10, 2010, 9:12:53 PM
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

Posted by hansmex at May 10, 2010, 10:19:31 PM
Re: print on pdf does not work in my linux box
Mariora:

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

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by mariora at May 11, 2010, 6:46:51 AM
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

Posted by Puybaret at May 11, 2010, 7:17:44 AM
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

Posted by mariora at May 12, 2010, 8:42:14 AM
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

Posted by Puybaret at May 12, 2010, 11:13:56 AM
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

Posted by mariora at May 12, 2010, 3:00:32 PM
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

Posted by ChrisOfBristol at Oct 8, 2011, 4:18:40 PM
Re: print on pdf does not work in my linux box
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.

Posted by hansmex at Oct 8, 2011, 4:55:37 PM
Re: print on pdf does not work in my linux box
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

Posts: 18   Pages: 2   [ 1 2 | Next Page ]