Re: [Fx2lib-devel] Error running load.py
Status: Beta
Brought to you by:
mulicheng
|
From: Dennis M. <de...@ub...> - 2009-12-01 13:24:16
|
The latest git version is close to a 0.2 release. I have a few website updates and documentation things I'm going to change before a final 0.2 release but it is definitely worth upgrading. We're using 0.2 in a number of released firmwares in our products and it is working quite well for us. -Dennis On Dec 1, 2009, at 2:36 AM, S S wrote: > Hi Dennis, > > No I am still using the 0.1 version. Is the version in git ready? > I have installed Python 2.5 but still get the same error. > My device doesn't have a matching Vid/Pid so I'll try that too. > > Thanks, > > Sébastien > > > From: de...@ub... > > To: fx2...@li... > > Date: Mon, 30 Nov 2009 17:49:48 -0700 > > Subject: Re: [Fx2lib-devel] Error running load.py > > > > I'll have to debug on python 2.6 and see if there is an issue. Are > > you using the latest version from git? There are a lot of changes > > since the release 0.1. > > > > -Dennis > > > > On Nov 30, 2009, at 11:52 AM, S S wrote: > > > > > Hi Dennis & Al, > > > > > > When I try to run load.py on linux I get the following error: > > > > > > sebastien@sebastien-laptop:~/workspace/OpenSourceFx2/fx2lib/ > examples/ > > > i2c$ python load.py > > > Traceback (most recent call last): > > > File "load.py", line 17, in <module> > > > from fx2load import * > > > File "/usr/local/lib/python2.6/dist-packages/fx2load/__init__.py", > > > line 21, in <module> > > > f=fx2.fx2() > > > AttributeError: type object 'fx2' has no attribute 'fx2' > > > > > > I have no idea if I am doing something stupid or if my setup is > > > wrong somehow. > > > I am using python 2.6 rather than 2.5 but I assume the setup > script > > > has detected that as the path for the __init__.py file seems to > > > imply (I didn't get any complaint about it). > > > I get the same error if I try to import fx2load from the python > > > terminal window: > > > > > > >> from fx2load import * > > > Traceback (most recent call last): > > > File "<stdin>", line 1, in <module> > > > File "/usr/local/lib/python2.6/dist-packages/fx2load/__init__.py", > > > line 21, in <module> > > > f=fx2.fx2() > > > AttributeError: type object 'fx2' has no attribute 'fx2' > > > > > > > > > Any clue would be much appreciated. > > > > > > Thanks, > > > > > > Sébastien > > > > > > View your other email accounts from your Hotmail inbox. Add them > > > now. > > > > ------------------------------------------------------------------------------ > > > Let Crystal Reports handle the reporting - Free Crystal Reports > 2008 > > > 30-Day > > > trial. Simplify your report design, integration and deployment - > and > > > focus on > > > what you do best, core application coding. Discover what's new > with > > > Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ > > > Fx2lib-devel mailing list > > > Fx2...@li... > > > https://lists.sourceforge.net/lists/listinfo/fx2lib-devel > > > > > > > ------------------------------------------------------------------------------ > > Join us December 9, 2009 for the Red Hat Virtual Experience, > > a free event focused on virtualization and cloud computing. > > Attend in-depth sessions from your desk. Your couch. Anywhere. > > http://p.sf.net/sfu/redhat-sfdev2dev > > _______________________________________________ > > Fx2lib-devel mailing list > > Fx2...@li... > > https://lists.sourceforge.net/lists/listinfo/fx2lib-devel > > Use Hotmail to send and receive mail from your different email > accounts. Find out how. > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev_______________________________________________ > Fx2lib-devel mailing list > Fx2...@li... > https://lists.sourceforge.net/lists/listinfo/fx2lib-devel |