anjuta crashes when opening .vala file without having valac installed

Bug #807670 reported by Linus Seelinger
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
anjuta (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

System: Ubuntu Oneiric Ocelot 11.10 Alpha 2 64bit

Anjuta Version: 3.1.3

Compiling and running an existing project without opening its source files works perfectly. However, if the package valac is not installed, trying to open a .vala file results in anjuta to crash.

Instead of crashing, anjuta should require this package to be installed (either by dependency or by informing the user via dialog).

(In fact, this simple problem can be really confusing... I spend a while trying to configure anjuta and my project and searching for dependencies of my project before I found the simple cause ;) )

Related branches

Revision history for this message
Johannes Schmid (jhs.schmid) wrote :

It's more like: "Ubuntu should take care to have the required dependencies of anjuta are installed!". If you build anjuta from source the vala plugin won't be build if vala isn't installed as it requires libvala-0.12.

Revision history for this message
Linus Seelinger (s-linus) wrote :

Okay, so is this the right place for this bug, or should I report it somewhere else?

Revision history for this message
Johannes Schmid (jhs.schmid) wrote :

It's the right place, I just wanted to make clear that this isn't an upstream problem.

Revision history for this message
Linus Seelinger (s-linus) wrote :

Well, so we need someone to valac as a dependency to the anjuta package. Valac appears not to be too big, so that should not be a big memory issue.

Changed in anjuta (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package anjuta - 2:3.1.4-0ubuntu1

---------------
anjuta (2:3.1.4-0ubuntu1) oneiric; urgency=low

  * New upstream version
  * debian/control.in:
    - Recommends valac, without it opening vala files taked anjuta down
      (lp: #807670)
 -- Sebastien Bacher <email address hidden> Mon, 25 Jul 2011 16:17:57 +0200

Changed in anjuta (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.