bugGrammatica - Bugs: bug #9820, Problem using Grammatica + VS.NET

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9820: Problem using Grammatica + VS.NET

Submitted by:  None
Submitted on:  Fri 30 Jul 2004 09:46:11 AM UTC  
 
Severity: 5 - MajorItem Group: Software
Status: Works For MeAssigned to: Per Cederberg <cederberg>
Open/Closed: Closed

Sat 14 Mar 2009 09:37:36 AM UTC, comment #2:

This problem hasn't been possible to reproduce by user VS.NET users (using more recent versions of Grammatica perhaps).

Closing this issue.

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Fri 30 Jul 2004 11:17:46 PM UTC, comment #1:

Thanks Gilles for your bug report. Grammatica (.NET) has been built with Mono on Linux until now and I haven't even had access to a Windows machine for testing until very recently... :-(

So I guess that explains why things might not be so smooth with the .NET version yet. I'm planning big improvements in this area for version 1.5 but unfortunately it's been on hold while I've been stuck with other projects for the last 6 months... I'll try to have a look at this issue in the upcoming weeks, however.

If you want to try the "bleeding edge" you'd might try extracting the latest sources from CVS (should be better than version 1.4, but less tested). I also happen to know that Adrian Moore have been hacking on a .NET version of Grammatica that might be more integrated with VS.NET. You'll find his contact information here: http://savannah.nongnu.org/users/AgentSmith/

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Fri 30 Jul 2004 09:46:11 AM UTC, original submission:

When I add a reference to grammatica-1.4.dll (and other versions) and I try to run the solution, an error occured at runtime loading the assembly. Exception repported is:

System.IO.FileNotFoundException: Le fichier ou l'assembly nommé grammatica.dll, ou l'une de ses dépendances, est introuvable.
Nom du fichier : "grammatica.dll"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at WindowsApplication1.Form1.Form1_Load(Object sender, EventArgs e) in e:\csa fr parser\grammatica\windowsapplication1\windowsapplication1\form1.cs:line 93

Fusion log follows:

Pre-bind state information

LOG: Where-ref bind. Location = E:\grammatica-1.4\lib\grammatica.dll
LOG: Appbase = E:\CSA FR Parser\Grammatica\WindowsApplication1\WindowsApplication1\bin\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///E:/grammatica-1.4/lib/grammatica.dll.

I successed recompiling Grammatica's C# source code by myself. Maybe the compiled dll does not contain assembly info (dll's version is not accessible in the file's Windows properties).

For your information, when I compiled the DLL, some warnings occured (in french, sorry):

E:\Grammatica\Recompile\grammatica-1.4\grammatica-1.4\PerCederberg.Grammatica.Parser\ProductionPatternElement.cs(49,18): warning CS0659: 'PerCederberg.Grammatica.Parser.ProductionPatternElement' se substitue à Object.Equals(object o) mais pas à Object.GetHashCode()
E:\Grammatica\Recompile\grammatica-1.4\grammatica-1.4\PerCederberg.Grammatica.Parser\ProductionPatternAlternative.cs(51,18): warning CS0659: 'PerCederberg.Grammatica.Parser.ProductionPatternAlternative' se substitue à Object.Equals(object o) mais pas à Object.GetHashCode()
E:\Grammatica\Recompile\grammatica-1.4\grammatica-1.4\PerCederberg.Grammatica.Parser\LookAheadSet.cs(592,23): warning CS0659: 'PerCederberg.Grammatica.Parser.LookAheadSet.Sequence' se substitue à Object.Equals(object o) mais pas à Object.GetHashCode()
E:\Grammatica\Recompile\grammatica-1.4\grammatica-1.4\PerCederberg.Grammatica.Parser\Node.cs(66,31): warning CS0679: D'autres langages peuvent autoriser la substitution du membre virtuel interne 'PerCederberg.Grammatica.Parser.Node.IsHidden()'
E:\Grammatica\Recompile\grammatica-1.4\grammatica-1.4\PerCederberg.Grammatica.Parser\Production.cs(76,32): warning CS0679: D'autres langages peuvent autoriser la substitution du membre virtuel interne 'PerCederberg.Grammatica.Parser.Production.IsHidden()'
E:\Grammatica\Recompile\grammatica-1.4\grammatica-1.4\PerCederberg.Grammatica.Parser\ProductionPatternAlternative.cs(284,43): warning CS0168: La variable 'alt' est déclarée, mais jamais utilisée


Gilles Harand
-unavailable-

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cederberg (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 14 Mar 2009 09:37:36 AM UTCcederbergStatusNone=>Works For Me
      Open/ClosedOpen=>Closed
      Discussion LockUnlocked=>Locked
    Fri 30 Jul 2004 11:17:46 PM UTCcederbergAssigned toNone=>cederberg
      Carbon-Copy-=>Added gumma --AT-- wanadoo --DOT-- fr

    Back to the top


    Powered by Savane 3.1-cleanup1