Category Archives: Bugs

Posts that describe bugs in GradeL.

Falling Behind

It has been a busy summer and the new school year is already underway.  I’ve acquired a few new responsibilities, which have taken up more of my free time, leaving less time for my side projects such as GradeL and yard work. :)

I thank you for your patience and  hope GradeL users will remain patient as I try to catch up on requests for fixes and features.  Right now my focus will be on maintenance and bugs.  Then, as time permits, I’ll try to tackle additions. The irony is that part of my time is being taken up learning a new grade book program at work :)  Go figure.

More bugs.

Over the past month I’ve had more bug reports come in and fortunately, I’ve been able to fix each issue.  (It would just be nice if I’d have caught them in the first place.)  So, I’m hoping to get a bug fix release out soon.

Two major issues that have been addressed are grade calculation with the weighted averages option and a printing crash when printing progress reports.

Stay tuned for the next release.  Thanks you to those who have reported these bugs…keep the feedback coming!

Another bug!

Well, as has become a tradition with GradeL releases, right after I get a new release out I discover another bug. This one will be obvious to anyone that uses GradeL to track student attendance. The column headers will appear two pixels higher than they should. Users who download the source package could patch the problem by editing line 919 of frmGradeL.class. The line should read:

temppb.Y = MAIN_Y + 1

instead of:

temppb.Y = 26

Of course, the fix will be included in the next release, which will now be sooner than expected.

Take care!

Problem with 0.11.0 packages

Apparently, there is an important file missing in both the .deb and source packages that I uploaded to SourceForge back in February. A user reported an error when trying to create a “Marking Period Student Progress” report from the report menu. A GUI form file named StudentReportForm.form was mistakenly left out of the packages and prevents the report from being generated. A fix is in the works and will be available soon.

Keep the bug reports coming!

Murphy’s Law and a new GradeL release.

With a name like Murphy, there was bound to be a problem. Version 0.10.0 had a huge bug that prevented users from changing the grading mode from points to weighted categories in the Class Setup form. It appears that this is a left over from 0.9.1, although it was never reported.

It is possible that issue is caused by a change in some Gambas event handling in versions 2.9 and later. Currently, I’m developing on the latest stable Gambas release, 2.10.2. Anyway, for more info on GradeL 0.10.1, please see the ChangeLog and feel free to download the app.

Take care!

Compiling and Installation Problems

Apparently, when I completed the conversion to Gambas2 from Gambas1 I neglected to pay close attention to the compile and installation scripts I provided with the source package. They contain bugs. The next release of GradeL will include the correct scripts, but in the meantime, I have included them here:

compile.sh:

#!/bin/sh

# This shell script compiles and archives GradeL using Gambas2.
# The result is the binary archive gradel, which can be run
# by typing ./gradel from the source directory or installed
# using sudo sh ./install.sh.

echo “”
echo “GradeL Compile Script”
echo “—————————————-“
echo “Checking for compiled components…”

if [ -d .gambas ]
then
echo “Removing old files…”
cd .gambas
rm *
cd ..
rmdir .gambas
fi

if [ -f gradel ]
then
rm gradel
fi

echo “”
echo “Compiling GradeL with gbc2 -p -a …”

# It is important to include the -p and -a flags
gbc2 -p -a

echo “Creating executable archive \”gradel\” with gba2 …”
gba2

# Rename executable archive
mv gradel-0.9.1.gambas gradel

echo “Done!”
echo “”
echo “To run gradel type: ./gradel”
echo “or”
echo “sudo \”sh ./install.sh\” to install on Ubuntu.”
echo “”

install.sh:

#!/bin/sh

# This shell script installs GradeL to the system.
# Be sure to run compile.sh first.
# Gradel can be removed from the system with uninstall.sh.

echo “”
echo “GradeL Install Script”
echo “————————————————“

# GradeL binary installs in the /usr/bin directory
echo ” Copying GradeL program to /usr/bin”
cp gradel /usr/bin

# Gradel icon installs in /usr/share/gradel directory
if [ -d /usr/share/gradel ]
then
echo ” Copying GradeL icon to /usr/share/gradel”
cp images/gradel.png /usr/share/gradel
else
mkdir /usr/share/gradel
echo ” Copying GradeL icon to /usr/share/gradel”
cp images/gradel.png /usr/share/gradel
fi

# INSTALL, README, ChangeLog and COPYING install in /usr/share/doc/gradel
if [ -d /usr/share/doc/gradel ]
then
echo ” Copying INSTALL, README, COPYING, and ChangeLog to /usr/share/doc/gradel”
cp COPYING /usr/share/doc/gradel
cp INSTALL /usr/share/doc/gradel
cp README /usr/share/doc/gradel
cp ChangeLog /usr/share/doc/gradel
else
mkdir /usr/share/doc/gradel
echo ” Copying INSTALL, README, COPYING, and ChangeLog to /usr/share/doc/gradel”
cp COPYING /usr/share/doc/gradel
cp INSTALL /usr/share/doc/gradel
cp README /usr/share/doc/gradel
cp ChangeLog /usr/share/doc/gradel
fi

# Done

echo “Done! To run type gradel. Enjoy the program.”
echo “”

uninstall.sh:

#!/bin/sh

# This shell script removes GradeL to the system.

echo “”
echo “GradeL Uninstall Script”
echo “————————————————“

# Remove binary
echo ” Removing binary.”
if [ -f /usr/bin/gradel ]
then
rm /usr/bin/gradel
fi

# Remove icon
echo ” Removing icon.”
if [ -s /usr/share/gradel ]
then
rm /usr/share/gradel/*.*
#rm /usr/share/gradel/*
rmdir /usr/share/gradel
fi

# Remove docs
echo ” Removing documents.”
if [ -s /usr/share/doc/gradel ]
then
#rm /usr/share/doc/gradel/*.*
rm /usr/share/doc/gradel/*
rmdir /usr/share/doc/gradel
fi

# Done
echo ” GradeL has been removed from your system.”
echo “”

Keep the bug reports and questions coming!

Mailing List and New Bugs

I have several people emailing me individually with bug reports, questions, and comments. This communication is vital to the development of GradeL. I think it would benefit all GradeL users to be able to read and/or participate in these discussions as well, so I have set up a mailing list through SourceForge for GradeL users. The list should be ready shortly. Please use the list or the forum for questions related to GradeL.

As for new bugs, it seems that the Category Weights are giving some users the business. I have found a work-around that solves the problem, although I’d like to eliminate it all together. The Seating Chart feature still needs tweaking as well. The changes I implemented seem to have created other problems. Both of these issues will be addressed in the upcoming 0.8.13 release.

I have already implemented the sorting of assignments by date and plan to address the saving of preferences between sessions too. Stay tuned…

Errors in compile.sh and install.sh

There are a couple of typos in the compile.sh and install.sh scripts that will produce error messages in the terminal when you execute them. They are not fatal, just typos. This will be fixed in the next release.

Keep the bug reports coming!

0.8.10 Issues

There is at least one glitch in the latest release. The Single Student (MP) report crashes. This is caused by a typo in the code. If you want to fix it yourself, change line 2432 of file frmGol.class to:

ELSE IF cl.mymps[CurrentMP].Assignments.Length < 1 THEN I forgot the “s” on Assignments.

This will be fixed in the next release. Keep the bug reports coming!