LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-27-2013, 05:20 PM   #1
mike5061
LQ Newbie
 
Registered: Feb 2013
Location: london
Distribution: precise puppy
Posts: 3

Rep: Reputation: Disabled
Thumbs up ganttproject not working on precise puppy


Hi

running precise puppy 5.4
ganttproject will not run from start menu or command line
java 1.7.0_15 is installed
i think it cannot find java but i cannot find any log files to help me?
some assistance would be great as this is the only item i have been unable to get working.

Thanks
 
Old 02-27-2013, 10:25 PM   #2
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,890
Blog Entries: 1

Rep: Reputation: Disabled
Hi:

Welcome to Linux Questions!

I read through these Precise Puppy Forum threads to get an idea of where your files might be that your looking for. The path's to log files I found are:
Code:
/usr/local/java
And
/tmp/xerrs.logfile
5 Ways To Search For Files Using The Terminal
http://www.linuxhaxor.net/5-ways-to-...inal-in-linux/

http://murga-linux.com/puppy/viewtop...82092&start=45
http://208.109.22.214/puppy/viewtopi...82de92c4cf25aa
http://bkhome.org/blog2/?viewDetailed=00070
http://distro.ibiblio.org/quirky/pre...cise-5.4.3.htm

Hope this helps
 
Old 02-28-2013, 06:10 AM   #3
mike5061
LQ Newbie
 
Registered: Feb 2013
Location: london
Distribution: precise puppy
Posts: 3

Original Poster
Rep: Reputation: Disabled
thanks Ztcoracat for the quick response and "how to find files link" will no doubt be useful

I know from ubuntu where I have migrated from that ganttproject should write a log file to /home/.ganttproject.d but there is nothing in this folder on puppy so the script exits at a very early stage?

no error file in java but xeers.log reports the following but alas it may as well be written latin.



X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-26-generic i686 Ubuntu
Current Operating System: Linux puppypc28394 3.2.29 #1 SMP Thu Sep 13 20:33:02 GMT-8 2012 i686
Kernel command line: video=640x480 initrd=initrd.gz pmedia=cd BOOT_IMAGE=vmlinuz
Build Date: 29 August 2012 12:10:05AM
xorg-server 2:1.11.4-0ubuntu10.8 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.24.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 28 10:18:04 2013
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/bin/jwm
/bin/mount: line 28: tr: command not found
/bin/mount: line 28: tr: command not found
/bin/mount: line 103: tail: command not found
[12636:12725:0228/102241:ERROR:bus.cc(307)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[12636:12725:0228/102241:ERROR:bus.cc(307)] Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[12636:12636:0228/102340:ERROR:layout.cc(160)] Not implemented reached in ui::ScaleFactor ui::GetScaleFactorForNativeView(GtkWidget*)
[12636:12855:0228/102356:ERROR:download_updates_command.cc(128)] PostClientToServerMessage() failed during GetUpdates
Merging /initrd/pup_rw onto /initrd/pup_ro1...
cp: cannot create special file `/initrd/pup_ro1/dev/snd/controlC0': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/pcmC0D0p': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/hwC0D0': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/pcmC0D0c': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/seq': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/timer': No such file or directory
Merging /initrd/pup_rw onto /initrd/pup_ro1...
cp: cannot create special file `/initrd/pup_ro1/dev/snd/controlC0': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/pcmC0D0p': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/hwC0D0': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/pcmC0D0c': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/seq': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/timer': No such file or directory
[12636:12636:0228/113702:ERROR:layout.cc(160)] Not implemented reached in ui::ScaleFactor ui::GetScaleFactorForNativeView(GtkWidget*)
[12636:12636:0228/113746:ERROR:layout.cc(160)] Not implemented reached in ui::ScaleFactor ui::GetScaleFactorForNativeView(GtkWidget*)
ALSA lib pcm_dmix.c:957snd_pcm_dmix_open) The dmix plugin supports only playback stream
Merging /initrd/pup_rw onto /initrd/pup_ro1...
cp: cannot create special file `/initrd/pup_ro1/dev/snd/controlC0': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/pcmC0D0p': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/hwC0D0': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/pcmC0D0c': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/seq': No such file or directory
cp: cannot create special file `/initrd/pup_ro1/dev/snd/timer': No such file or directory
[12636:12636:0228/115427:ERROR:layout.cc(160)] Not implemented reached in ui::ScaleFactor ui::GetScaleFactorForNativeView(GtkWidget*)
 
Old 02-28-2013, 06:58 PM   #4
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,890
Blog Entries: 1

Rep: Reputation: Disabled
Your Welcome-

I have never seen anything like this 'read out' that you posted. LOL might as well be written in latin- Looks like a file is not able to be created and I don't understand why.
In Linux you should be able to make any directory or file that you need to.

Maybe another member with that kind of experience looking at that those errors will come along and explain for you what is up.

Quote:
but there is nothing in this folder on puppy so the script exits at a very early stage?
The application ganttproject should of made a file like you said-(with a working logical script)

Maybe the Precise Puppy Forum has record of this. I'll re-search a tad more and see if there is a solution.

Last edited by Ztcoracat; 02-28-2013 at 07:22 PM.
 
Old 02-28-2013, 07:20 PM   #5
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,890
Blog Entries: 1

Rep: Reputation: Disabled
Sometimes looking up the error messages help.
This could be a bug-
Quote:
cp: cannot create special file `/initrd/pup_ro1/dev/snd/pcmC0D0p
https://bugs.launchpad.net/pld-linux/+bug/715918

A member running the same distro as you listed it as well.
http://murga-linux.com/puppy/viewtop...f7f1749c64d084

This error is a discussion in the Precise Puppy forum as well.
Quote:
cp: cannot create special file `/initrd/pup_ro1/dev/snd/pcmC0D0p': No such file or directory
The member tried this:
While the pupsave file is written to the SD card for the first time, there exists no directory ../snd.. in /initrd/pup_ro1/dev/ .
Therefore the copying fails. After I copied the directory ../snd into /initrd/pup_ro1/dev the 'save' to the SD card went well.
Now the xerrs.log reads like this:
http://murga-linux.com/puppy/viewtop...f7f1749c64d084

Hope this helps

Last edited by Ztcoracat; 02-28-2013 at 07:25 PM.
 
Old 03-01-2013, 03:19 AM   #6
mike5061
LQ Newbie
 
Registered: Feb 2013
Location: london
Distribution: precise puppy
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi Ztcoracat

Ganttproject is supposed to write a log file to /home/.ganttproject.d which it is not here is a ccopy of the script

echo statement is print to screen i think but none of these happen so i am assuming it exits early?


#!/bin/bash

SCRIPT_PATH=$0
RESOLVED_PATH=`readlink -f "$SCRIPT_PATH"`
while [ ! "$RESOLVED_PATH" = "$SCRIPT_PATH" ]; do
SCRIPT_PATH=$RESOLVED_PATH
RESOLVED_PATH=`readlink -f "$SCRIPT_PATH"`
done
GP_HOME=`dirname "$SCRIPT_PATH"`


GP_LOG_DIR="$HOME/.ganttproject.d"
# Check if log dir is present (or create it)
if [ ! -d $GP_LOG_DIR ]; then
if [ -e $GP_LOG_DIR ]; then
echo "file $GP_LOG_DIR exists and is not a directory" >&2
exit 1
fi
if ! mkdir $GP_LOG_DIR ; then
echo "Could not create $GP_LOG_DIR directory" >&2
exit 1
fi
fi

# Create unique name for log file
LOG_FILE="$GP_LOG_DIR/.ganttproject-"$(date +%Y%m%d%H%M%S)".log"
if [ -e "$LOG_FILE" ] && [ ! -w "$LOG_FILE" ]; then
echo "Log file $LOG_FILE is not writable" >2
exit 1
fi

# Find usable java executable
if [ -z "$JAVA_HOME" ]; then
JAVA_COMMAND=$(which java)
if [ "1" = "$?" ]; then
echo "No executable java found. Please set JAVA_HOME variable" >&2
exit 1
fi
else
JAVA_COMMAND=$JAVA_HOME/bin/java
fi
if [ ! -x "$JAVA_COMMAND" ]; then
echo "$JAVA_COMMAND is not executable. Please check the permissions." >&2
exit 1
fi

LOCAL_CLASSPATH=${GP_HOME}/eclipsito.jar:${GP_HOME}
CONFIGURATION_FILE=ganttproject-eclipsito-config.xml
BOOT_CLASS=org.bardsoftware.eclipsito.Boot

if [ -n "$(echo \"$*\" | sed -n '/\(^\|\s\)-/{p;}')" ]; then
$JAVA_COMMAND -Xmx256m -classpath $CLASSPATH:$LOCAL_CLASSPATH $BOOT_CLASS $CONFIGURATION_FILE -log -log_file $LOG_FILE "$@"
else
exec $JAVA_COMMAND -Xmx256m -classpath $CLASSPATH:$LOCAL_CLASSPATH $BOOT_CLASS $CONFIGURATION_FILE -log -log_file $LOG_FILE "$@" &
fi


Thanks again
 
Old 03-01-2013, 09:37 PM   #7
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,890
Blog Entries: 1

Rep: Reputation: Disabled
Your Welcome!

Have a good weekend!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Puppy 5.4 Precise Screenshot Tour LXer Syndicated Linux News 0 11-06-2012 06:20 AM
LXer: Precise Puppy - Linux Perfected LXer Syndicated Linux News 0 10-30-2012 06:42 AM
LXer: Puppy Linux 5.4 "Precise" based on Ubuntu 12.04 LTS LXer Syndicated Linux News 0 10-24-2012 03:50 PM
ganttproject error - please help me nsampath Linux - Software 3 03-12-2007 06:52 AM
Triggering ganttproject-2.0 from XFce4 d00bid00b Linux - Software 0 05-13-2006 04:44 AM


All times are GMT -5. The time now is 02:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration