Peace <[email protected]> writes:
> ...
> The serial number field always remains empty even though I enter from the GUI
> and the receiveSerialNumber function is called and I explicitly initialize it
> to the variable in the model.
> I'm trying to save the state of the program so that next time I open the
> application it resumes from where it left off. The problem is when I restart
> the application, the serial number is empty. What am I doing wrong here?
> Whenever I get a change in state (the RC value), I pickle and save to a file
> (restoreinfo.p). When I restart the application, the serial number is no
> longer there even though I enter it. Could you please let me know what is
> going wrong? Thank you.
You may want to use debugging to determine what goes on in detail.
There are commercial debuggers with a graphical user interface
(maybe even free ones). Python comes with a simple command line
debugger ("pdb").
--
https://mail.python.org/mailman/listinfo/python-list