No installation possible?

mojoPortal is no longer supported on mono. This forum is here for archival purposes.

This thread is closed to new posts. You must sign in to post in the forums.
11/14/2007 11:20:05 AM
bob
Gravatar
Total Posts 126
YAF developer

No installation possible?

Hi, Joe.

I'm getting strange problems with mojoPortal installation. Frankly, I can't install it anymore. The problems are the same with 1.2.5.1 and svn versions.

Then I try and install mojoportal-2-2-3-6-pgsqlreleasefiles-for-mono,  I'm getting  this:

Probing system...
File system permissions problems found.
An Error Occurred:Directory not found
Source:mscorlib
Stack Trace at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] at System.IO.StreamWriter..ctor (System.String path, Boolean append) [0x00000] at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool) at System.IO.File.CreateText (System.String path) [0x00000] at mojoPortal.Web.mojoSetup.TouchTestFile (System.String pathToFile) [0x00000] at mojoPortal.Web.UI.Pages.SetupHome.GetFolderDetailsHtml () [0x00000] at mojoPortal.Web.UI.Pages.SetupHome.ProbeSystem () [0x00000] at mojoPortal.Web.UI.Pages.SetupHome.Page_Load (System.Object sender, System.EventArgs e) [0x00000] at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] at System.Web.UI.Control.LoadRecursive () [0x00000] at System.Web.UI.Page.InternalProcessRequest () [0x00000] at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]

 Then I trying to install svn version, that looks like this:

Could not load type 'System.Web.UI.Literal'.

Description: Error processing request.

Error Message: HTTP 500. System.TypeLoadException: Could not load type 'System.Web.UI.Literal'.

Stack Trace:

System.TypeLoadException: Could not load type 'System.Web.UI.Literal'.
at <0x00000> <unknown method>
at (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType (System.Reflection.Module,string,bool,bool)
at System.Reflection.Assembly.GetType (System.String name, Boolean throwOnError, Boolean ignoreCase) [0x00000]
at System.Web.Compilation.AspComponentFoundry+AssemblyFoundry.GetType (System.String componentName) [0x00000]
at System.Web.Compilation.AspComponentFoundry.GetComponentType (System.String foundryName, System.String tag) [0x00000]
at System.Web.UI.RootBuilder.GetChildControlType (System.String tagName, IDictionary attribs) [0x00000]
at System.Web.UI.ControlBuilder.CreateSubBuilder (System.String tagid, System.Collections.Hashtable atts, System.Type childType, System.Web.UI.TemplateParser parser, ILocation location) [0x00000]
at System.Web.Compilation.AspGenerator.ProcessTag (System.String tagid, System.Web.Compilation.TagAttributes atts, TagType tagtype) [0x00000]

Gentoo  (latest)

Mono 1.2.5.1|svn
mod_mono 1.2.5

Apache 2.2.6

Thanks,  bob.

 

 

 


 

11/14/2007 11:24:53 AM
Gravatar
Total Posts 18439

Re: No installation possible?

Hi Bob,

I'll look into the issues with the latest svn.

For the 2.3.3.6 issue make sure the folder exists:

webroot/Data/Sites/1/GalleryImages/

Hope it helps,

Joe

11/14/2007 11:43:44 AM
bob
Gravatar
Total Posts 126
YAF developer

Re: No installation possible?

No, that's can't help right now, as currently I run MySQL and .Data namespace changed, considering I've created the folder. But it tries to connect, which is good news. Thanks. I'll setup postgre later on.

With the last week svn version and before it  - I'm watching message#2 and the folder exists.

 

   

 

11/18/2007 10:58:42 AM
Gravatar
Total Posts 18439

Re: No installation possible?

Hi Bob,

Using Mono built from svn r89680 and mojoPortal from svn trunk, if I change the reference from mojoPortal.Business to use mojoPortal.Data.MySql instead of mojoPortal.Data.pgsql and then build with MonoDevelop it works fine for me with MySql.

Currently I'm having an error using pgsql but I'm not sure it might be something funky about my installation of pgsql

Npgsql.NpgsqlException:
could not load library "/usr/lib/postgresql/plpgsql.so":
/usr/lib/postgresql/plpgsql.so: undefined symbol: get_func_arg_info
Severity: ERROR
Code: 58P01
at Npgsql.NpgsqlConnector.CheckErrors () [0x00000]
at Npgsql.NpgsqlConnector.CheckErrorsAndNotifications () [0x00000]
at Npgsql.NpgsqlCommand.ExecuteCommand () [0x00000]
at Npgsql.NpgsqlCommand.ExecuteScalar () [0x00000]
at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlCommand:ExecuteScalar ()
at mojoPortal.Data.NpgsqlHelper.ExecuteScalar
(Npgsql.NpgsqlConnection connection, CommandType commandType,
System.String commandText, Npgsql.NpgsqlParameter[] commandParameters)
[0x00000]
at mojoPortal.Data.NpgsqlHelper.ExecuteScalar (System.String
connectionString, CommandType commandType, System.String commandText,
Npgsql.NpgsqlParameter[] commandParameters) [0x00000]
at mojoPortal.Data.DBSiteUser.UpdateLastActivityTime (Guid userGuid,
DateTime lastUpdate) [0x00000]
at mojoPortal.Business.SiteUser.UpdateLastActivityTime () [0x00000]
at mojoPortal.Web.Global.Application_EndRequest (System.Object
sender, System.EventArgs e) [0x00000]
at (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
at System.Web.HttpApplication.PipelineDone () [0x00000]

I posted the problem to he Mono mailing list but haven't any idea whats the real cause. Runninng the same web code on windows and accessing the very same db on the linux machine it works fine.

Joe

11/18/2007 4:10:33 PM
bob
Gravatar
Total Posts 126
YAF developer

Re: No installation possible?

Joe,  it's a  real nightmare.  I can't connect to pgsql 8.2 from 2.2.2.6. I suspect, that problem can be in mojoPortal.Data.pgsql or in the postrges package or it's dependencies.

I'm almost  sure, that could not load library "/usr/lib/postgresql/plpgsql.so is not mono error, as it's a usual linux error. Are you sure that the library exists in the path? If yes, then it's most likely a bug connected with a broken dependency in your distribution(.la)

I can't compile from svn in your way, as I'm getting the  error with the hardly spotted in nature System.Web.UI.Literal. That's persists some weeks without any connections with mono svn version. 

If there will be some success, I post here. My distribution is  untypical, and  I  can't  ask  anyone for advice. For some time  I couldn't  launch  xsp at all! And only after some new ebuild version it's running again. And I don't know why....

 

You must sign in to post in the forums. This thread is closed to new posts.