[Gambas-user] Issue 377 in gambas: Error while opening project without subversion installed.

gambas at ...2524... gambas at ...2524...
Mon Jan 7 13:31:51 CET 2013


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 377 by r... at ...1740...: Error while opening project without  
subversion installed.
http://code.google.com/p/gambas/issues/detail?id=377

1) Describe the problem.

Error while opening project without subversion installed.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: Gambas3 from ppa:sebikul/gambas-daily
Revision: N/A
Operating system: Linux
Distribution: Ubuntu
Architecture: x86_64
GUI component:
Desktop used: Gnome

5) Explain clearly how to reproduce the bug or the crash.

Open a project without having subversion installed (no svn executable)
You get an error 'Cannot open project file:' etc see also attachment.

Problem is caused by Exec command without error checking or try.

File: app/src/gambas3/.src/Subversion/VersionControl.module
Line: 30

If Not $sSvnVersion Then
     Exec ["svn", "--version", "--quiet"] To $sSvnVersion
     $sSvnVersion = Trim($sSvnVersion)
     $bSvn17 = $sSvnVersion Begins "1.7."
   Endif

Regards,
Ron.


Attachments:
	Version control.png  26.1 KB





More information about the User mailing list