You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Nicola Ken Barozzi <ni...@apache.org> on 2003/04/15 16:17:03 UTC

- better - Re: Problems running gump.py

Nicola Ken Barozzi wrote, On 15/04/2003 16.03:
...

Ok, solved the main problem, I had it in Cygwin too and it was messing 
up with the individually installed version.

Unfortunately, the following still happens:

> Fine, let's try the IDLE Python shell:
> 
> IDLE 0.8 -- press F1 for help
>  >>>
>   File "C:\jbprojects\jakarta-gump\gump.py", line 345
>     dump('project',gump)
>                        ^
> SyntaxError: invalid syntax
>   File "C:\jbprojects\jakarta-gump\gump.py", line 345
>     dump('project',gump)
>                        ^
> SyntaxError: invalid syntax


-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: - better - Re: Problems running gump.py

Posted by Sam Ruby <ru...@apache.org>.
Nicola Ken Barozzi wrote:
> 
> Ok, now it works. But if I run it in IDLE I have problems with the rubix 
> file path. If I give the full path via c:\... etc it chokes, what should 
> I give it... doh.

The following works for me with ActivePython [1] on Windows XP:

   'c:\\gump\\rubix.xml'
   'c:/gump/rubix.xml'
   r'c:\gump\rubix.xml'

The following does *not* work for me:

   'c:\gump\rubix.xml'

- Sam Ruby

[1] http://aspn.activestate.com/ASPN/Python



Re: - better - Re: Problems running gump.py

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Steven Noels wrote, On 15/04/2003 16.29:
> On 15/04/2003 16:17 Nicola Ken Barozzi wrote:
> 
>>
>> Nicola Ken Barozzi wrote, On 15/04/2003 16.03:
>> ...
>>
>> Ok, solved the main problem, I had it in Cygwin too and it was messing 
>> up with the individually installed version.
>>
>> Unfortunately, the following still happens:
> 
> strange - I'm doing 'gump' and 'python gump.py' and they are running fine.

Yes, I got to that, the problem was the cygwin dups.

> Is your Python install OK? Can you 'import sys' after starting 'python'?

Ok, now it works. But if I run it in IDLE I have problems with the rubix 
file path. If I give the full path via c:\... etc it chokes, what should 
I give it... doh.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: - better - Re: Problems running gump.py

Posted by Steven Noels <st...@outerthought.org>.
On 15/04/2003 16:17 Nicola Ken Barozzi wrote:
> 
> Nicola Ken Barozzi wrote, On 15/04/2003 16.03:
> ...
> 
> Ok, solved the main problem, I had it in Cygwin too and it was messing 
> up with the individually installed version.
> 
> Unfortunately, the following still happens:

strange - I'm doing 'gump' and 'python gump.py' and they are running fine.

Is your Python install OK? Can you 'import sys' after starting 'python'?

</Steven>
-- 
Steven Noels                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at            http://blogs.cocoondev.org/stevenn/
stevenn at outerthought.org                stevenn at apache.org