Sandy Patterson
2007-08-13 20:56:51 UTC
Hi,
I'm interesting in helping to add support for my samsung m500 phone.
I'm having a little trouble getting started however.
I followed the directions in dev-doc/phonespec.html, but got confused
and changed the model names in the files), generated the third for the
phone, then I couldn't figure out what to do about the above line, so
I went into __init__.py and created an entry for the phone there. This
added the phone to the list in the settings dialog, but I get an
exception when it tries load the module.
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\home\aiv\phonestuff\bitpim\src\phones\com_samsungsphm500.py",
line 30, in <module>
class Phone(com_samsungsphm500.Phone):
NameError: name 'com_samsungsphm500' is not defined
Is there someplace I need to define this? am I missing something? is
the how-to file out of date? I feel like I'm doing something stupid.
I'm afraid I'm new to python :( but know other languages.
Thanks,
Sandy
I'm interesting in helping to add support for my samsung m500 phone.
I'm having a little trouble getting started however.
I followed the directions in dev-doc/phonespec.html, but got confused
To make your phone appear in the list of supported phones edit guiwidgets.py. Find the
ConfigDialog class (~ln 340) and add your new phone to the list, the second field in the list
is the filename of the new file you just created without the extension.
I added the two files (com_samsungsphm500.py and p_samsungsphm500.pConfigDialog class (~ln 340) and add your new phone to the list, the second field in the list
is the filename of the new file you just created without the extension.
and changed the model names in the files), generated the third for the
phone, then I couldn't figure out what to do about the above line, so
I went into __init__.py and created an entry for the phone there. This
added the phone to the list in the settings dialog, but I get an
exception when it tries load the module.
import phones.com_samsungsphm500
File "<input>", line 1, in <module>
File "C:\home\aiv\phonestuff\bitpim\src\phones\com_samsungsphm500.py",
line 30, in <module>
class Phone(com_samsungsphm500.Phone):
NameError: name 'com_samsungsphm500' is not defined
Is there someplace I need to define this? am I missing something? is
the how-to file out of date? I feel like I'm doing something stupid.
I'm afraid I'm new to python :( but know other languages.
Thanks,
Sandy