AmberishSingh / abot

Automatically exported from code.google.com/p/abot
Apache License 2.0
0 stars 0 forks source link

Demo crashes in mono #86

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Output.....

http://robpaveza.net/
Missing method .ctor in assembly /home/steven/Desktop/Debug/Abot.dll, type 
System.Dynamic.ExpandoObject

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or 
assembly 'System.Core, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Core, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089'
  at Abot.Crawler.WebCrawler..ctor (Abot.Poco.CrawlConfiguration crawlConfiguration, ICrawlDecisionMaker crawlDecisionMaker, IThreadManager threadManager, IScheduler scheduler, IPageRequester httpRequester, IHyperLinkParser hyperLinkParser, IMemoryManager memoryManager) [0x00000] in <filename unknown>:0 
  at Abot.Crawler.PoliteWebCrawler..ctor (Abot.Poco.CrawlConfiguration crawlConfiguration, ICrawlDecisionMaker crawlDecisionMaker, IThreadManager threadManager, IScheduler scheduler, IPageRequester httpRequester, IHyperLinkParser hyperLinkParser, IMemoryManager memoryManager, IDomainRateLimiter domainRateLimiter, IRobotsDotTextFinder robotsDotTextFinder) [0x00000] in <filename unknown>:0 
  at Abot.Crawler.PoliteWebCrawler..ctor () [0x00000] in <filename unknown>:0 
  at Abot.Demo.Program.GetDefaultWebCrawler () [0x00000] in <filename unknown>:0 
  at Abot.Demo.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not 
load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Core, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089'
  at Abot.Crawler.WebCrawler..ctor (Abot.Poco.CrawlConfiguration crawlConfiguration, ICrawlDecisionMaker crawlDecisionMaker, IThreadManager threadManager, IScheduler scheduler, IPageRequester httpRequester, IHyperLinkParser hyperLinkParser, IMemoryManager memoryManager) [0x00000] in <filename unknown>:0 
  at Abot.Crawler.PoliteWebCrawler..ctor (Abot.Poco.CrawlConfiguration crawlConfiguration, ICrawlDecisionMaker crawlDecisionMaker, IThreadManager threadManager, IScheduler scheduler, IPageRequester httpRequester, IHyperLinkParser hyperLinkParser, IMemoryManager memoryManager, IDomainRateLimiter domainRateLimiter, IRobotsDotTextFinder robotsDotTextFinder) [0x00000] in <filename unknown>:0 
  at Abot.Crawler.PoliteWebCrawler..ctor () [0x00000] in <filename unknown>:0 
  at Abot.Demo.Program.GetDefaultWebCrawler () [0x00000] in <filename unknown>:0 
  at Abot.Demo.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Original issue reported on code.google.com by sjdir...@gmail.com on 28 Mar 2013 at 4:38

GoogleCodeExporter commented 8 years ago

Original comment by sjdir...@gmail.com on 29 Mar 2013 at 6:31

GoogleCodeExporter commented 8 years ago
By adding System.Core.dll to bin assembly the following exception is 
suppressed...

System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, 
Version=4.0.0.0

However there is still issues with the ExpandoObject. Will have to come back to 
this later since supporting mono is becoming more work than anticipated.

Original comment by sjdir...@gmail.com on 9 Apr 2013 at 5:26

GoogleCodeExporter commented 8 years ago
No issues with the w vm. Runs version 1.2 without issue. Will try again on vms 
that seemed to have problems to be sure it isn't an environment issue.

Original comment by sjdir...@gmail.com on 7 May 2013 at 10:59

GoogleCodeExporter commented 8 years ago

steven@UbuntuDev:~/Desktop/Debug$ mono --version
Mono JIT compiler version 2.10.8.1 (Debian 2.10.8.1-1ubuntu2.2)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. 
www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  x86
    Disabled:      none
    Misc:          softdebug 
    LLVM:          supported, not enabled.
    GC:            Included Boehm (with typed GC and Parallel Mark)

Original comment by sjdir...@gmail.com on 7 May 2013 at 11:00

GoogleCodeExporter commented 8 years ago
Running fine on mono on revision 523

Original comment by sjdir...@gmail.com on 7 May 2013 at 11:22

GoogleCodeExporter commented 8 years ago
Attached a zip file with the binaries that are working on the vm

Original comment by sjdir...@gmail.com on 7 May 2013 at 11:39

Attachments:

GoogleCodeExporter commented 8 years ago
Tested this again with v1.2 rev535 and it ran fine unmodified

Original comment by sjdir...@gmail.com on 29 Jun 2013 at 2:15

Attachments: