Forum General MonoDevelop not working

Any issues or discussions relating to Flash development are welcome here.

MonoDevelop not working

Postby abe1001 » February 12th, 2013, 12:41 am

Every time I try to debug serversidecode it gives me this error:
Code: Select all
Loaded assembly: /Users/AbrahamHamidi/Documents/EPICNOTEPAD/Serverside Code/Player.IO Test Server Project/bin/Debug/Test Server.exe
Loaded assembly: /Users/AbrahamHamidi/Documents/EPICNOTEPAD/Serverside Code/Player.IO Test Server Project/bin/Debug/Player.IO Development Server.exe [External]
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/3.0.3/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll [External]
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/3.0.3/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll [External]
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/3.0.3/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll [External]
Loaded assembly: /Users/AbrahamHamidi/Documents/EPICNOTEPAD/Serverside Code/Player.IO Test Server Project/bin/Debug/Player.IO GameLibrary.dll [External]
Thread started:
Thread started:
[17:41:05] Starting Development Server (v2.3.6.0)
ARG!: + System.UnauthorizedAccessException: Access to the path "/usr/share/GameServerCache" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in <filename unknown>:0
  at PlayerIO.ServerCore.identifier31.getCached[String] (System.String name, System.Func`1 create) [0x00000] in <filename unknown>:0
ARG!: + System.UnauthorizedAccessException: Access to the path "/usr/share/GameServerCache" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in <filename unknown>:0
  at PlayerIO.ServerCore.identifier31.getCached[identifier32] (System.String name, System.Func`1 create) [0x00000] in <filename unknown>:0
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/3.0.3/lib/mono/gac/System.Management/4.0.0.0__b03f5f7f11d50a3a/System.Management.dll [External]
ARG!: + System.UnauthorizedAccessException: Access to the path "/usr/share/GameServerCache" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Directory.CreateDirectory (System.String path) [0x00000] in <filename unknown>:0
  at PlayerIO.ServerCore.identifier31.getCached[identifier33] (System.String name, System.Func`1 create) [0x00000] in <filename unknown>:0
Thread started:
Thread started:
Thread started:
Thread started:
Thread started:
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/3.0.3/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll [External]
[17:41:05] PolicyServer Error: Unable to start Flash policy server on port 843. Details: Access denied (Local Endpoint: 0.0.0.0:843)
[17:41:05] PolicyServer Error: Unable to start Silverlight policy server on port 943. Details: Access denied (Local Endpoint: 0.0.0.0:943)
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/3.0.3/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll [External]
[17:41:05] Server started. Logged in with account: abe1001
Thread started:
Thread started:
Loaded assembly: /private/var/folders/8n/r1dhypw9047b3cxrhc903rxc0000gn/T/tempgame-5e84fb0b75b242fe81a046cfc43e3c69.dll
[17:41:05]
[17:41:05] Trying last loaded dll
[17:41:05]
[17:41:05] Using Game Dll: newGame.dll
[17:41:05] ========================
[17:41:05] (dll: /Users/AbrahamHamidi/Documents/EPICNOTEPAD/Serverside Code/Player.IO Test Server Project/bin/Debug/newGame.dll)


I tried re-downloading monodevelop, I tried restarting, and all that. No luck.
abe1001
 
Posts: 5
Joined: August 23rd, 2012, 2:31 pm

Re: MonoDevelop not working

Postby Henrik » February 12th, 2013, 11:45 am

abe1001 wrote:Access to the path "/usr/share/GameServerCache" is denied.

Here's your problem that you need to fix.
Henrik
.IO
 
Posts: 1822
Joined: January 4th, 2010, 1:53 pm

Re: MonoDevelop not working

Postby abe1001 » February 12th, 2013, 11:34 pm

Do you know how I can fix it?
abe1001
 
Posts: 5
Joined: August 23rd, 2012, 2:31 pm

Re: MonoDevelop not working

Postby JimLion » June 17th, 2014, 3:38 am

Ohh no. I am getting the exact same error! I am trying to use Xamarin on mac, but I am getting this stack trace :(

Code: Select all
[quote][22:34:19] Starting Development Server (v2.3.6.0)
ARG!: + System.UnauthorizedAccessException: Access to the path "/usr/share/GameServerCache" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0006c] in /Volumes/build-root-ramdisk/mono-3.4.0/mcs/class/corlib/System.IO/Directory.cs:116
  at System.IO.Directory.CreateDirectory (System.String path) [0x000a4] in /Volumes/build-root-ramdisk/mono-3.4.0/mcs/class/corlib/System.IO/Directory.cs:80
  at PlayerIO.ServerCore.identifier31.getCached[String] (System.String name, System.Func`1 create) [0x00000] in <filename unknown>:0
ARG!: + System.UnauthorizedAccessException: Access to the path "/usr/share/GameServerCache" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0006c] in /Volumes/build-root-ramdisk/mono-3.4.0/mcs/class/corlib/System.IO/Directory.cs:116
  at System.IO.Directory.CreateDirectory (System.String path) [0x000a4] in /Volumes/build-root-ramdisk/mono-3.4.0/mcs/class/corlib/System.IO/Directory.cs:80
  at PlayerIO.ServerCore.identifier31.getCached[identifier32] (System.String name, System.Func`1 create) [0x00000] in <filename unknown>:0
ARG!: + System.UnauthorizedAccessException: Access to the path "/usr/share/GameServerCache" is denied.
  at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0006c] in /Volumes/build-root-ramdisk/mono-3.4.0/mcs/class/corlib/System.IO/Directory.cs:116
  at System.IO.Directory.CreateDirectory (System.String path) [0x000a4] in /Volumes/build-root-ramdisk/mono-3.4.0/mcs/class/corlib/System.IO/Directory.cs:80
  at PlayerIO.ServerCore.identifier31.getCached[identifier33] (System.String name, System.Func`1 create) [0x00000] in <filename unknown>:0
[22:34:19] PolicyServer Error: Unable to start Flash policy server on port 843. Details: Access denied (Local Endpoint: 0.0.0.0:843)
[22:34:19] PolicyServer Error: Unable to start Silverlight policy server on port 943. Details: Access denied (Local Endpoint: 0.0.0.0:943)
[22:34:20] Server started. Logged in with account: JimLion
[22:34:20]
[22:34:20] Trying last loaded dll
[22:34:20]
[22:34:20] Using Game Dll: newGame.dll
[22:34:20] ========================
[22:34:20] (dll: /Users/bobolicious3000/Downloads/Player.IO DevPack.AmYhCRpI62gU7zmbfAwxPg/Flash/NewGame/Serverside Code/Player.IO Test Server Project/bin/Debug/newGame.dll)[/quote]


hmm. let's see. "Unable to start Flash policy server on port 843. Details: Access denied (Local Endpoint: 0.0.0.0:843)"

Could it be a firewall problem?
JimLion
 
Posts: 73
Joined: June 17th, 2014, 3:35 am

Re: MonoDevelop not working

Postby JimLion » June 18th, 2014, 5:38 am

Hi all, I just wanted to let everybody know I figured out the problem! Woohoo! The thing is that if you just download the sdk and unzip it right away it is still in your Downloads folder (unless you changed the system default). The permissions on your downloads folder is causing that error.

So what I did to fix it is take the whole Yahoo Gaming SDK folder and drag it out onto my deesktop (or anywhere else with these permissions). Then after you do that open up Player.IO Client Example.VS2010.sln in Xamarin and "Run Item" it. Should work.

Instead of doing that you could probably just change the permissions but that involves going into command line and doing chmod or something.
JimLion
 
Posts: 73
Joined: June 17th, 2014, 3:35 am

Re: MonoDevelop not working

Postby JimLion » June 30th, 2014, 5:28 pm

update: Development server does not work in Xamarin. I am able to compile dll files and upload them to the server. Then testing in flash everything works fine. However, when running the development server locally from Xamarin, there is absolutely no communication between Xamarin and Flash Pro. :( why?
JimLion
 
Posts: 73
Joined: June 17th, 2014, 3:35 am


Return to General



cron