kcozens / OpenSimProfile

OpenSimProfile is an add-on profile module for use with the Open Simulator project
3 stars 0 forks source link

Little report about PDO Profile #10

Open djphil opened 7 years ago

djphil commented 7 years ago

1) 2nd Life Work 99% I can add, remove, modify Photo and About I can not check the "show in search", when i go back it remain unchecked (know bug)

2) Web work 100% I can add, remove, modify the url and it persist

3) Interests work 100% I can add, remove, modify all values

4) Picks work 75% I can add, save and delete Picks But, when a add a new picture or when i try to save, i get this warrning:

14:31:52 - [PROFILE]: Unable to connect to Profile Server http://192.168.1.2/sta ndalone/index.php. Method picks_update, params System.Collections.Hashtable. Exc eption System.Xml.XmlException: Il existe plusieurs éléments racine. Ligne 2, po sition 2. à System.Xml.XmlTextReaderImpl.Throw(Exception e) à System.Xml.XmlTextReaderImpl.Throw(String res, String arg) à System.Xml.XmlTextReaderImpl.ParseDocumentContent() à System.Xml.XmlTextReaderImpl.Read() à System.Xml.XmlTextReader.Read() à Nwc.XmlRpc.XmlRpcResponseDeserializer.Deserialize(TextReader xmlData) à Nwc.XmlRpc.XmlRpcRequest.Send(String url, Int32 timeout) à OpenSimProfile.Modules.OpenProfile.OpenProfileModule.GenericXMLRPCRequest(H ashtable ReqParams, String method, String server)

When i go back to to Picks i see the new Picks but the picture is missing

5) Classfield work 75% I can add, save and delete Classifield. But, when i go back to Classifield, the picture is missing No warning on console

6) 1st Life work 100% I can add, remove, modify Photo and Info (250 chars)

7) Notes work 0% When a try to save a note i get this message:

14:41:17 - [LLCLIENTVIEW]: Caught exception while processing OpenMetaverse.Packe ts.AvatarNotesUpdatePacket for dj phil System.MissingMethodException: Méthode i ntrouvable : 'Boolean OpenSim.Region.Framework.Scenes.ScenePresence.get_isNPC()' . à OpenSimProfile.Modules.OpenProfile.OpenProfileModule.AvatarNotesUpdate(ICli entAPI remoteClient, UUID queryTargetID, String queryNotes) à OpenSim.Region.ClientStack.LindenUDP.LLClientView.HandleAvatarNotesUpdate(I ClientAPI sender, Packet Pack) dans d:\opensim\standalone\OpenSim\Region\ClientS tack\Linden\UDP\LLClientView.cs:ligne 12401 à OpenSim.Region.ClientStack.LindenUDP.LLClientView.ProcessSpecificPacketAsyn c(Object state) dans d:\opensim\standalone\OpenSim\Region\ClientStack\Linden\UDP \LLClientView.cs:ligne 826

djphil commented 7 years ago

Tested with opensim-0.9.0-1246-gb52f7b9.zip 2017-04-15 09:56 http://opensimulator.org/viewgit/?a=commit&p=opensim&h=b52f7b920342b7ea3e0294eae054e7520801e339 Standaline without Hypergrid Windows Seven 32Bits .NET Framework 4.6.2 Php 5.6.28

djphil commented 7 years ago

About 7) Notes work 0% The problem seems to come from your dll If I replace your dll by the osgrid dll then the notes work 100%

djphil commented 7 years ago

About 7) Notes work 0% The problem is fixed with your commit 1fcb618dd2ee9d743b790e5ca81dd96b7478a951 Now Notes work 100%

kcozens commented 7 years ago

commit da1f89eec40eaed2530ced8ec3701424075ce534 Author: Kevin Cozens kevin@ve3syb.ca Date: Mon Apr 17 12:47:35 2017 -0400

Fixed a variable name and a bad SQL statement in picks_update()

Also removed debug statement left in by mistake.
kcozens commented 7 years ago

I see no problem with pictures in classified ads. I am able to add a picture when the ad is created and I can update the picture of an existing ad.

djphil commented 7 years ago

About 4) Picks work 75% The problem isn't fixed with your commit da1f89eec40eaed2530ced8ec3701424075ce534 When i go to Picks tab and i click on "New..." i get this warrning :

19:16:36 - [LLCLIENTVIEW]: Exeception when handling generic message La référence d'objet n'est pas définie à une instance d'un objet. à OpenSimProfile.Modules .OpenProfile.OpenProfileModule.HandlePickInfoRequest(Object sender, String metho d, List`1 args) à OpenSim.Region.ClientStack.LindenUDP.LLClientView.HandleGenericMessage(ICli entAPI sender, Packet pack) dans d:\opensim\standalone\OpenSim\Region\ClientStac k\Linden\UDP\LLClientView.cs:ligne 6532

And when i go to Picks tab and try to add or change a picture, i get this warrning:

19:18:05 - [LLCLIENTVIEW]: Caught exception while processing OpenMetaverse.Packe ts.PickInfoUpdatePacket for dj phil System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet. à OpenSimProfile.Modules.OpenProfile.OpenProfileModule.PickInfoUpdate(IClient API remoteClient, UUID pickID, UUID creatorID, Boolean topPick, String name, Str ing desc, UUID snapshotID, Int32 sortOrder, Boolean enabled) à OpenSim.Region.ClientStack.LindenUDP.LLClientView.HandlePickInfoUpdate(ICli entAPI sender, Packet Pack) dans d:\opensim\standalone\OpenSim\Region\ClientStac k\Linden\UDP\LLClientView.cs:ligne 12374 à OpenSim.Region.ClientStack.LindenUDP.LLClientView.ProcessSpecificPacketAsyn c(Object state) dans d:\opensim\standalone\OpenSim\Region\ClientStack\Linden\UDP \LLClientView.cs:ligne 826

djphil commented 7 years ago

About 5) Classfield work 75% The problem isn't fixed with your commit da1f89eec40eaed2530ced8ec3701424075ce534 Here is a screenshot: http://img15.hostingpics.net/pics/98687720170417193019.jpg No warrning on console

djphil commented 7 years ago

About 5) Classfield work 75% I have a new interesting information for you. I just tested your dll again and your pdo With Opensim-0.9.0-1199-g07c3962.zip

This time with the OpenSim configuartion in Grid Mode without Hypergrid. With this OpenSim configuration everything works fine, good news at last !

So the problem seems to concern OpenSim in Standalone Mode This is a new search path for you.

kcozens commented 6 years ago
  1. The viewer would need to pass a change to the "Show in search" setting before it can be supported by OpenSimProfile module. If the setting is supported by the core profile module I can look at how it handles the setting.

  2. The PHP code has been updated to return an error message if a failure occurred.

  3. Please test setting/updating a picture for a classified ad. I do not see any problem with setting and updating pictures for a classified ad.

  4. I can not see any errors when updating the notes about an avatar. Possibly fixed as part of the fix for issue 4.

kcozens commented 6 years ago

The following commit was made to address some of the issues above.

commit bad6d1386e8f85b5e5b49bdd0184744e71fd05bf Author: Kevin Cozens kevin@ve3syb.ca Date: Sun Dec 3 15:24:36 2017 -0500

Return proper success status and error message for operations that might fail.