bardsoftware / ganttproject

Official GanttProject repository.
http://ganttproject.biz
GNU General Public License v3.0
856 stars 301 forks source link

Praha888 crashing on start on Ubuntu 10.04LTS #411

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Starting Praha888
2.
3.

What is the expected output? What do you see instead?
-Expect Ganttproject working.
-Ganttproject shows error window stating "Premature End of File." All buttons, 
links etc then inactive (including "Show log" and quit. Have to kill process 
from OS

What version of the product are you using? On what operating system?
Praha888 on Ubuntu 10.04 LTS (complete info in log file attached)

Please provide any additional information below.
Log file attached

Original issue reported on code.google.com by philip.w...@googlemail.com on 29 Jan 2012 at 10:15

Attachments:

GoogleCodeExporter commented 9 years ago
It seems like you have soo much fonts, the amount of memory assigned the 
VirtualMachine is not sufficient

Original comment by maarten....@gmail.com on 29 Jan 2012 at 12:07

GoogleCodeExporter commented 9 years ago
Interesting catch about out of memory. However, first try removing your 
.ganttproject file (it should be in your home directory and it seems to be 
broken). It should remove "premature end of file" problem; and if it doesn't 
help then try adding more memory to Java VM or configuring where to search for 
fonts (ping us for help should you need it)

Original comment by dbarashev on 29 Jan 2012 at 7:15

GoogleCodeExporter commented 9 years ago
@philip.whateley
Could you give an update whether the problem got fixed (and how) or the problem 
is still there? Also trying the newest version would be appreciated, so we know 
whether that changes things or not. Thanks.

Original comment by maarten....@gmail.com on 24 Feb 2012 at 9:21

GoogleCodeExporter commented 9 years ago
many apologies. I did try to let you have an update a week or so ago by 
replying to the email I received. It isn't showing as a comment in the report 
so it looks like it didn't work - my fault I'm sure. I will definitely try the 
latest version and report back also. Text of my original response of 7th 
February follows:
=====================================================================
Sorry, took some time to get round to this but owe you some feedback.

Removed .ganttproject file. "Premature end of file" problem no longer
present.

Increased memory allocated to JVM in /usr/bin/gantproject from Xmx256m
to Xmx512m. Ganttproject Praha888 now runs ok. 

Didn't look at font search configuration as most of my fonts are
installed systemwide (mainly used in Scribus etc).

Many thanks (excellent software by the way) 
=====================================================================

Philip

Original comment by philip.w...@googlemail.com on 24 Feb 2012 at 9:45

GoogleCodeExporter commented 9 years ago
Philip, we made some changes after build 888 so if you could check if latest 
release candidate builds work fine without any additional memory, it would be 
great.

Original comment by dbarashev on 24 Feb 2012 at 10:55

GoogleCodeExporter commented 9 years ago
Tried to install rc5-r1008 all.deb.

This failed to install, with errors.

I then manually removed the remains of Praha888 and tried again. This also 
failed.

Errors before and after manual removal of 888 are in attached text file. It 
appears that when 888 is replaced some files are not being removed. Is it safe 
to remove the symlink /usr/bin/ganttproject manually, and then try again?

Let me know if there is any other info you would like me to submit.

Kind regards

Original comment by philip.w...@googlemail.com on 25 Feb 2012 at 10:08

Attachments:

GoogleCodeExporter commented 9 years ago
Hm... due to package name change are overwritten as you were installing GP 
twice (not your fault) and messed up both installations...

Please remove all installed GP packages you can find and check 
/usr/bin/ganttproject* /usr/share/ganttproject*, 
/usr/lib/mime/packages/ganttproject/* and remove those files/directories 
manually (if present). You could open the deb files in an 'archiver' (like ark 
if you use KDE) and check what other files are created (and remove them if they 
still are present).

After all this, you could try to re-install the latest RC version and report 
whether the actual problem is (still) fixed.

Sorry for all this inconvenience... I'll post a fix soon to prevent this in the 
future.

Original comment by maarten....@gmail.com on 25 Feb 2012 at 10:39

GoogleCodeExporter commented 9 years ago
The installation problem should be fixed by r6bd56ae65dca.
When a ganttproject-praha package is detected, it will be removed in favor of 
the newer gantproject package, see attached installation.log file

@dmitry, maybe rebuild the newest RC to prevent problems like this in the 
future?

Original comment by maarten....@gmail.com on 25 Feb 2012 at 11:15

Attachments:

GoogleCodeExporter commented 9 years ago
Have completely removed Praha 888 using Synaptic.
Then removed the symlink in /usr/bin/ganttproject. No other files were left at 
the other locations you mentioned.
Re-installed build 1008.
Tried it twice with JVM allocated 256. Hung both times and had to kill it using 
the PID
Increased memory for JVM back to 512. Now works fine.
Please let me know if you need log files etc.

(No need to apologise for inconvenience. I don't have the skills to develop 
this stuff so the least I can do is support bug finding.)

Original comment by philip.w...@googlemail.com on 25 Feb 2012 at 3:20

GoogleCodeExporter commented 9 years ago
@maarten: I don't think that it is a severe issue because those who install 
.deb the first time will not experience any problems. We'll rebuild the release 
package of course.

@philip: thanks for the test! Can you post the contents of the log file after 
running RC5 with 256m ?

Original comment by dbarashev on 25 Feb 2012 at 6:46

GoogleCodeExporter commented 9 years ago
Here are three log files. The earliest is the first try with 256Mb which hung 
at the splash screen. The next is with 256Mb which opened the application then 
hung. The third one (which you might not need) is with 512Mb.

Kind regards

Philip

Original comment by philip.w...@googlemail.com on 25 Feb 2012 at 7:12

Attachments:

GoogleCodeExporter commented 9 years ago
Same problem, same solution as Philip.

ganttproject version: GanttProject 2.6.1 Brno (build 1499) on Kubuntu 13.10
The same with version 2.6, but it was working with the 2.5 downloaded from the 
web (with file ganttproject.jnlp).

If it can help I have both openjdk-7-jre and openjdk-6-jre installed.

I couldn't either start the application it immediately stucked. Then I set the 
memory to 512 and it worked.

Thank you,

Giorgio

Original comment by gimbo...@gmail.com on 18 Nov 2013 at 5:14