Compilation error with new Scratch APIs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Euclide |
Fix Released
|
Medium
|
Unassigned | ||
Scratch |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Since the Scratch APIs were updated and Euclide was ported to them, it doesn't compile with this error:
scratchplugins.
public class Interface : GLib.Object {
^^^^^
scratchcore.
public class Interface : GLib.Object {
^^^^^
scratchplugins.
public class Manager : GLib.Object {
^^^^^
scratchcore.
public class Manager : GLib.Object {
^^^^^
Compilation failed: 2 error(s), 0 warning(s)
I am not sure if the problem is in the vapis generation from the editor or if the problem is of the plugin.
Changed in euclide: | |
status: | Confirmed → Fix Committed |
Changed in scratch: | |
status: | Confirmed → Fix Committed |
Changed in scratch: | |
status: | Fix Committed → Fix Released |
milestone: | none → 1.1 |
Changed in euclide: | |
milestone: | none → 0.1 |
status: | Fix Committed → Fix Released |
importance: | Undecided → Medium |
status invalid
It is a problem on your computer, just delete all scratchplugins.vapi file share/vala/ vapi and /usr/share/ vala/vapi if needed).
(in both /usr/local/
2012/1/27 Mario Guerriero <email address hidden>
> Public bug reported: vapi:6. 3-6.38: error: `Scratch.Plugins' already contains a ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^ vapi:38. 3-38.38: note: previous definition of `Interface' was ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^ vapi:32. 3-32.36: error: `Scratch.Plugins' already contains ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^ vapi:65. 3-65.36: note: previous definition of `Manager' was ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^ /bugs.launchpad .net/bugs/ 922658 vapi:6. 3-6.38: error: `Scratch.Plugins' already contains a ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^ vapi:38. 3-38.38: note: previous definition of `Interface' was ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^ vapi:32. 3-32.36: error: `Scratch.Plugins' already contains ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^ vapi:65. 3-65.36: note: previous definition of `Manager' was ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^ /bugs.launchpad .net/euclide/ +bug/922658/ +subscriptions
>
> Since the Scratch APIs were updated and Euclide was ported to them, it
> doesn't compile with this error:
>
> scratchplugins.
> definition for `Interface'
> public class Interface : GLib.Object {
> ^^^^^^^
> scratchcore.
> here
> public class Interface : GLib.Object {
> ^^^^^^^
> scratchplugins.
> a definition for `Manager'
> public class Manager : GLib.Object {
> ^^^^^^^
> scratchcore.
> here
> public class Manager : GLib.Object {
> ^^^^^^^
> Compilation failed: 2 error(s), 0 warning(s)
>
>
> I am not sure if the problem is in the vapis generation from the editor or
> if the problem is of the plugin.
>
> ** Affects: euclide
> Importance: Undecided
> Status: New
>
> ** Affects: scratch
> Importance: Undecided
> Status: New
>
> ** Also affects: scratch
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Euclide
> Developers, which is the registrant for Euclide.
> https:/
>
> Title:
> Compilation error with new Scratch APIs
>
> Status in Euclide:
> New
> Status in Scratch:
> New
>
> Bug description:
> Since the Scratch APIs were updated and Euclide was ported to them, it
> doesn't compile with this error:
>
> scratchplugins.
> definition for `Interface'
> public class Interface : GLib.Object {
> ^^^^^^^
> scratchcore.
> here
> public class Interface : GLib.Object {
> ^^^^^^^
> scratchplugins.
> a definition for `Manager'
> public class Manager : GLib.Object {
> ^^^^^^^
> scratchcore.
> here
> public class Manager : GLib.Object {
> ^^^^^^^
> Compilation failed: 2 error(s), 0 warning(s)
>
>
> I am not sure if the problem is in the vapis generation from the editor
> or if the problem is of the plugin.
>
> To manage notifications about this bug go to:
> https:/
>