vb2py-users Mailing List for VB to Python Converter
Status: Pre-Alpha
Brought to you by:
paulpaterson
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(2) |
2007 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Isaac F. <in...@or...> - 2008-01-05 13:32:04
|
Christmas Surprise for you For details go to: http://pollsdontwork.info |
From: Juan M. <jua...@ya...> - 2007-01-12 21:34:43
|
Paul Paterson wrote: >There seems to be something odd in your installation. Yes, this it has been the problem :-) Now I can convert code with vb2py 0.2.1, and I can convert forms with vb2py 0.1.1. Thanks to your aid, you have avoided the suicide of many VB programmers. ;-) Many thanks and congratulation again for your great work. Juan.- ----- Original Message ----- From: Paul Paterson To: Juan M. Sent: Thursday, January 11, 2007 8:17 AM Subject: Re: [vb2py-users] Code conversion works :-) Problem with frm Juan, There seems to be something odd in your installation. There is no file vb2py.py in the distribution - this file should be called converter.py. It appears that somehow your converter.py is called vb2py.py and consequently when another module tries to import converter.py it cannot find it. You should just be able to rename your vb2py.py to converter.py. Regards, Paul ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com |
From: Juan M. <jua...@ya...> - 2007-01-06 03:12:15
|
Hello Paul: The code conversion works now. Thank you very much. : -) After this success, I have tried to convert a VB6 form, even with the old version of Pythoncard and old versions of Vb2Py and SimpleParse, I obtain always the next error message: -------------------------------------------------------------------------- C:\Python24\Lib\site-packages\vb2py>python vb2py.py xolar/xolar.vbp xolar Traceback (most recent call last): File "vb2py.py", line 764, in ? main() File "vb2py.py", line 721, in main resource = imp.load_module('resource', f, 'resource module', ('*.py', 'r', 1 )) File "resource module", line 11, in ? ImportError: No module named converter -------------------------------------------------------------------------- Thank you very much by the aid to the users who want to leave VB6 and to change to Python. You are making a great work. :-) Happy new year!! Juan.- ----- Original Message ----- From: "Paul Paterson" To: "Juan M." Sent: Wednesday, January 03, 2007 5:46 AM Subject: Re: [vb2py-users] Unable to parse: 'Tag Table entry 1' > Juan, > > Thanks for the note - unfortunately I didn't spot it for a while as my > spam filter has been putting all emails from sourceforge in the spam bin > recently as I am getting a lot of spam through there! > > Someone else reported this issue recently also and I think it is a version > incompatibility between the current vb2py release and the other software. > The only versions I have used myself are, > > PythonCard Prototype Release 0.7.3.1 2004-04-09 > SimpleParse 2.0.0 > mxTextTools Version 2.1.0 > > I know that there are incompatibilities with later PythonCard releases but > the error you report sounds like it may be a mxTextTools problem. > > Regards, > > Paul > ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com |
From: Juan M. <jua...@ya...> - 2006-12-20 21:19:37
|
Hello Brian: A think that the only you need is to install PythonCard Prototype file: http://sourceforge.net/project/showfiles.php?group_id=19015 There are 7 files: PythonCardPrototype-0.7.3.1-1mdk.noarch.rpm PythonCardPrototype-0.7.3.1-1mdk.src.rpm PythonCardPrototype-0.7.3.1-2mdk.noarch.rpm PythonCardPrototype-0.7.3.1-2mdk.src.rpm PythonCardPrototype-0.7.3.1.tar.gz PythonCardPrototype-0.7.3.1.win32.exe PythonCardPrototype-0.7.3.1.zip Good Luck :-) From: Brian Facey <facey_brian@ba...> - 2005-05-30 09:27 Dear Vb2py Users, I recently installed Python 2.4.1, PythonCard-0.8.1, simpleParse 2.0.1a3, wxPython 2.6.0.0 (ANSI) for Python 2.4 and vb2py 0.2.1 and vb2pygui-0.2.1. When tried to launch vb2pygui (under Win 2000 Pro) , saw the following : python ./lib/site-packages/vb2pygui/vb2puyGUI.pyw Traceback(most recent call last): File ./lib/site-packages/vb2pygui/vb2puyGUI.pyw, line 6, in ? got ImportError: No Module named PythonCard Prototype. Understand that I need old version of PythonCard (0.7.3). Please advise on whether vb2py will support the new PythonCard version and if not (at this time), what I will I need to make vb2pygui launch properly (until you do support the latest version of PythonCard). Thanks, Brian ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com |
From: Juan M. <jua...@ya...> - 2006-12-20 21:09:15
|
Hello vb2py friends :-) I installed Vb2Py and all the dependences in W$ XP When I try to convert the Vb code, even with only one line of code, something like "a = 2", i get the next message: << Unable to parse: 'Tag Table entry 1: unknown command' >> I can convert code in vb2py on-line, but not Vb forms, and the Vb program that I want to convert in Python, has many forms with many controls. Thanks for the help and best regards from Spain :-) ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com |
From: Tim U. <tim...@gm...> - 2006-11-30 22:42:56
|
I have a rather large class I want to convet to python just to see if it's feasable. The GUI does not even come up so I tried the command line version and I get the error posted below. Is there any way to tell which command it's having a problem with so I can comment that out and try it with the rest? Traceback (most recent call last): File "converter.py", line 707, in ? main() File "converter.py", line 656, in main conv.doConversion(project_file) File "converter.py", line 116, in doConversion class_mod.doParse(self.project_structure) File "converter.py", line 490, in doParse self.parseCode(project) File "converter.py", line 174, in parseCode self.code_structure = vbparser.parseVB(self.code_block, container=container) File "D:\Python24\Lib\site-packages\vb2py\vbparser.py", line 108, in parseVB nodes = buildParseTree(vbtext, starttoken, verbose, returnpartial) File "D:\Python24\Lib\site-packages\vb2py\vbparser.py", line 80, in buildParseTree success, tree, next = TextTools.tag(txt, parser) TypeError: Tag Table entry 2: unknown command |
From: Brian F. <fac...@ba...> - 2005-05-30 16:27:27
|
Dear Vb2py Users, I recently installed Python 2.4.1, PythonCard-0.8.1, simpleParse 2.0.1a3, wxPython 2.6.0.0 (ANSI) for Python 2.4 and vb2py 0.2.1 and vb2pygui-0.2.1. When tried to launch vb2pygui (under Win 2000 Pro) , saw the following : python ./lib/site-packages/vb2pygui/vb2puyGUI.pyw Traceback(most recent call last): File ./lib/site-packages/vb2pygui/vb2puyGUI.pyw, line 6, in ? got ImportError: No Module named PythonCard Prototype. Understand that I need old version of PythonCard (0.7.3). Please advise on whether vb2py will support the new PythonCard version and if not (at this time), what I will I need to make vb2pygui launch properly (until you do support the latest version of PythonCard). Thanks, Brian |
From: <ben...@id...> - 2004-05-22 12:24:38
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
From: Nils R G. <ni...@pa...> - 2003-07-29 20:12:27
|
In line 416 in vb2py.py: pattern = re.compile("\&H00([A-F0-9]{6})\&", re.MULTILINE) assumes that all colors starts with "&H00". They don't. System color constants start with "&H80" as far as I can see, so no replacement is done in such cases. The following exec then fails, of course. pattern = re.compile("\&H([A-F0-9]{8})\&", re.MULTILINE) def sub_hex(match): txt = match.groups()[0] return "(%d, %d, %d)" % (int(txt[2:4], 16), int(txt[4:6], 16), int(txt[6:8], 16)) would "fix" it, but most likely give very silly colors for system color cases. Nils |
From: Paul P. <pau...@ho...> - 2003-07-15 00:44:33
|
The vp2py mailing list for users of the software is now up and running. Since there is not much else to say right now, here is the announcement of the version 0.1 release ... Version 0.1 of vb2py has been released. What is vb2py? ============== vb2py is a toolkit to aid in the conversion of Visual Basic projects to Python (using PythonCard). The conversion will eventually include both forms and code (modules and classes). Version 0.1 is mainly a form layout converter to PythonCard with a very simplistic code translation. The project roadmap ( <http://vb2py.sourceforge.net/roadmap.htm> http://vb2py.sourceforge.net/roadmap.htm) shows the project's development timeline. Converting VB to Python turns your VB projects into cross platform developments and allows full access to all Python's extensive library of modules. Getting the Software ==================== * The main website: <http://vb2py.sourceforge.net> http://vb2py.sourceforge.net * Download this version: <http://vb2py.sourceforge.net/downloads.htm> http://vb2py.sourceforge.net/downloads.htm * Documentation: <http://vb2py.sourceforge.net/documentation.htm> http://vb2py.sourceforge.net/documentation.htm Requirements ============ * Python 2.1 or greater * PythonCard * simpleparse (not used in the 0.1 code but required to use the experimental VB parser) * Visual Basic is *not* required (although it would help if you had some VB code ...) Licence ======= vb2py is released under the BSD licence. Release History =============== This is the first public release from the project. Contributors Welcome ==================== In a project like this one there are many ways people can contribute. Coding, testing, advice, etc are all valuable and much appreciated. ---- Paul Paterson ( <mailto:pau...@us...> pau...@us...) vb2py :: A Visual Basic to Python Conversion Toolkit <http://vb2py.sourceforge.net> http://vb2py.sourceforge.net |