From: Kevin C. <ke...@co...> - 2008-03-20 22:09:25
|
Hiya, I built wxWidgets and Jazz++. I didn't install wxWidgets, but in stead I configured jazz to use ../../blah/blah/blah/wxblah to build. When I start ./jazz in the src dir I get this error message (jazz:2261): Gtk-CRITICAL **: gtk_file_system_unix_get_parent: assertion `g_path_is_absolute (filename)' failed and then a window pops open to ask me where the jazz.cfg file is. After clicking on that file I get a "Floating exception" as jazz crashes. I had these defined in my environment from my historic use of Jazz++ JAZZ=/usr/local/jazz WXHELPFILES=/usr/local/jazz Undefining them does alter the behavior. Any thoughts? Thanks.... -- Kevin |
From: Pete S. <pst...@ve...> - 2008-03-20 23:00:14
|
KC = Kevin Cosgrove KC> I built wxWidgets and Jazz++. I didn't install KC> wxWidgets, but instead I configured jazz to KC> use ../../blah/blah/blah/wxblah to build. How did you do that? KC> When I start ./jazz in the src dir I get this KC> error message KC> KC> (jazz:2261): Gtk-CRITICAL **: gtk_file_system_unix_get_parent: assertion `g_path_is_absolute (filename)' failed What version of GTK did you use? This looks similar, but not identical to, messages posted by Robert Vogel in his screen dumps. I can't get at my Linux box to try, but I don't think I've seen these. I could be mistaken. KC> and then a window pops open to ask me where the KC> jazz.cfg file is. After clicking on that file I KC> get a "Floating exception" as jazz crashes. KC> I had these defined in my environment from my KC> historic use of Jazz++ KC> KC> JAZZ=/usr/local/jazz KC> WXHELPFILES=/usr/local/jazz KC> KC> Undefining them does alter the behavior. KC> KC> Any thoughts? Do you have a file called .Jazz under your home directory? If yes, what's in it? If not, could you create on and put the following in it... [Paths] Conf=LOCATION_OF_CONFIGURATION_FILES Where LOCATION_OF_CONFIGURATION_FILES is an absolute path to your configuration file directory. I have the following... [Paths] Conf=/home/pstieber/Jazz++/jazzplusplus/trunk/jazz/conf/ Let me know is any of this help. I might commit a version with some debug code to help us figure out what is going on. Pete |
From: Robert V. <vo...@ct...> - 2008-03-21 02:51:32
Attachments:
config.png
|
I created the file 'jazz' in my home directory, but when I started it the dialog box appeared asking me to identify the location of the jazz.conf file. At this point I navigated the dialog box to (home)/jazzplusplus/trunk/jazz/conf at which point it does find a jazz.conf file. On open, it says it can't find the config file and it locks up looking like the attached screen shot. It looks like the path error occurs before the dialog box appears When I navigate to the cfg file it produces a dialog box warning, and then locks up for a number of seconds. After a while it says the box is not responding and I force quit. Again, here is a screen shot. ...so I rebooted. It must be that it now finds the files I added (jazz is in my home directory now) because it comes up with the player screen. Only thing is alsa doesn't see it anymore. :( Bob ----- Original Message ----- From: "Pete Stieber" <pst...@ve...> To: <jaz...@li...> Sent: Thursday, March 20, 2008 7:01 PM Subject: Re: [jazzplusplus-devel] "Floating exception" > KC = Kevin Cosgrove > KC> I built wxWidgets and Jazz++. I didn't install > KC> wxWidgets, but instead I configured jazz to > KC> use ../../blah/blah/blah/wxblah to build. > > How did you do that? > > KC> When I start ./jazz in the src dir I get this > KC> error message > KC> > KC> (jazz:2261): Gtk-CRITICAL **: gtk_file_system_unix_get_parent: > assertion `g_path_is_absolute (filename)' failed > > What version of GTK did you use? > > This looks similar, but not identical to, messages posted by Robert > Vogel in his screen dumps. I can't get at my Linux box to try, but I > don't think I've seen these. I could be mistaken. > > KC> and then a window pops open to ask me where the > KC> jazz.cfg file is. After clicking on that file I > KC> get a "Floating exception" as jazz crashes. > > KC> I had these defined in my environment from my > KC> historic use of Jazz++ > KC> > KC> JAZZ=/usr/local/jazz > KC> WXHELPFILES=/usr/local/jazz > KC> > KC> Undefining them does alter the behavior. > KC> > KC> Any thoughts? > > Do you have a file called .Jazz under your home directory? > > If yes, what's in it? > > If not, could you create on and put the following in it... > > [Paths] > Conf=LOCATION_OF_CONFIGURATION_FILES > > Where LOCATION_OF_CONFIGURATION_FILES is an absolute path to your > configuration file directory. I have the following... > > [Paths] > Conf=/home/pstieber/Jazz++/jazzplusplus/trunk/jazz/conf/ > > Let me know is any of this help. I might commit a version with some > debug code to help us figure out what is going on. > > Pete > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > |
From: Pete S. <pst...@ve...> - 2008-03-29 22:40:37
|
Sorry for taking so long to reply. I just got back from a week long vacation. RV = Robert Vogel RV> I created the file 'jazz' in my home directory, I take it you mean the Jazz++ binary? RV> but when I started it the dialog box appeared RV> asking me to identify the location of the RV> jazz.conf file. Jazz++ will do this if it cannot find the configuration file when it starts. This may occur when you first run the executable or if you move or erase the configuration file. The code is prompting you to indicate the location of the configuration file. It will record this location once you specify it, and you should not be prompted for it on successive Jazz++ session (if you don't erase or move it, of course). RV> At this point I navigated the dialog box to RV> (home)/jazzplusplus/trunk/jazz/conf at which point RV> it does find a jazz.conf file. Was it jazz.conf or jazz.cnf? RV> On open, it says it can't find the config RV> file and it locks up looking like the RV> attached screen shot. RV> RV> It looks like the path error occurs before the RV> dialog box appears. When I navigate to the cfg RV> file it produces a dialog box warning, and then RV> locks up for a number of seconds. RV> RV> After a while it says the box is not responding RV> and I force quit. Again, here is a screen shot. Looking at you screen shot, it looks like the configuration file was found, and it successfully read most of it. See the line that indicates the reading of "gs.jzi". This file name is specified in the Jazz++ configuration file. The configuration file is ASCII. You can use $ cat jazz.cnf to view the contents. The "gs.jzi" file is also ASCII, so you can use "cat" to view the contents. It includes the other configuration files ("gsdrmset.jzi", "gmdrmnam.jzi", "gsvoices.jzi", and "ctrlnam.jzi") listed in your screen shot. It looks like all of these were successfully read. My current guess is the information at the bottom of the jazz.cnf file. It has ALSA input and output devices and a default MIDI file to load. The path for the default MIDI file has a path that includes on of the prior Jazz++ developer names in it and is incorrect for your machine. Try removing the following lines from jazz.cnf using your favorite editor. .alsa_input_device 1 .alsa_output_device 2 .startup_song /home/joakim/music/moogtest.mid Did that help? RV> ...so I rebooted. You could just kill the jazz process... You had to reboot the machine :-( I'm sorry about that. Maybe when the code attached to an ALSA device (indicated by the line that says "created client:port 136:0") and it froze, not gracefully disconecting from the ALSA driver was the problem. RV> It must be that it now finds the files I added RV> (jazz is in my home directory now) because it RV> comes up with the player screen. On the next invocation it should automatically find the configuration file. RV> Only thing is alsa doesn't see it anymore. :( Are you sure you rebooted the system? BTW I'm downloading the Debian DVD iso's. Are you using 4.0 r3? Pete |
From: Pete S. <pst...@ve...> - 2008-04-02 14:55:19
|
Kevin, Last night I loaded Mandriva 2008.0 and all of the required development tools on an extra 80 GB HD I had lying around. I have been making changes to the configuration startup code. I'm going to modify my wxWidgets build instructions on the web site to make sure the Jazz++ custom build and install of wxWidgets doesn't conflict with any "standard" version already loaded by the OS. I'm also going to add Jazz++ build and install instructions so developers do not use the jazz.cfg file under the development directories. This causes problems because the code frequently rewrites the jazz.cfg file and if you update using svn there will be conflicts that cause problems in Jazz++ on successive startups. I'm happy to report I successfully built and installed wxWidgets 2.8.7 and built, installed, and ran the current trunk version of Jazz++ on the Mandriva box. No floating-point exception :-) There is a problem when I play a midi file and exit Jazz++. It leaves the jazz process running and the only way I can kill it is to reboot :-( I'll have to look into that. Let me Know how it's going, Pete |