OS2 World Community Forum
Public Discussions => General Discussion => Topic started by: Martin Iturbide on July 17, 2024, 05:06:22 pm
-
Hello
FYI: There is an issue with the EDM/2 wiki servers according to Adrian (Netlabs), it seems to be a memory issue with the server.
I'm chatting with Adrian via X (Twitter)
- https://x.com/linkedktk/status/1812103136477053168
Let's hope he can fix it soon.
Regards
-
The EDM/2 Wiki is back:
- http://www.edm2.com/index.php/Main_Page
-
The EDM/2 Wiki is back:
- http://www.edm2.com/index.php/Main_Page
And unfortunately offline again (cannnot contact the database server).
-
And yet again EDM/2 is offline, as is netlabs.org :(
-
Hello
EDM/2 is still down, but I noticed that now it is blank instead of showing the database error.
I hope Adrian (netlabs) gets this soon.
Regards
-
Hello
1) Netlabs TRAC: I noticed that Netlabs TRAC script was updated to 1.6 (latest) and looks very good and works fine for the quick testing I made.
Check it out at: http://trac.netlabs.org/
2) EDM/2 is still broken. It is loading some pages without the style and main page does not work, but I hope it get fixed soon.
- http://www.edm2.com/index.php/GpiCloseFigure
3) The Netlabs wiki is also partially broken. I'm not sure if the script is getting updated too.
- http://wiki.netlabs.org/index.php/Main_Page
4) Old Project Pages Web Script The project pages (xxxx.netlabs.org/en/site/index.xml) are broken. But I don't mind if those got archived/removed/sunset, because a long time ago I copied that pages information to the Netlabs wiki or to the project TRAC pages. I have no problem here, let me know any comments.
- ex: http://warpin.netlabs.org/en/site/index.xml
I wish good luck to Adrian who is migrating the server, and I guess also updating the scripts.
- http://blog.netlabs.org/?p=2203
Just in case I have this page with the Netlab's Services - http://wiki.netlabs.org/index.php/List_of_Netlabs_Services
Regards
-
Hello
1) Netlabs TRAC: I noticed that Netlabs TRAC script was updated to 1.6 (latest) and looks very good and works fine for the quick testing I made.
Check it out at: http://trac.netlabs.org/
2) EDM/2 is still broken. It is loading some pages without the style and main page does not work, but I hope it get fixed soon.
- http://www.edm2.com/index.php/GpiCloseFigure
3) The Netlabs wiki is also partially broken. I'm not sure if the script is getting updated too.
- http://wiki.netlabs.org/index.php/Main_Page
4) Old Project Pages Web Script The project pages (xxxx.netlabs.org/en/site/index.xml) are broken. But I don't mind if those got archived/removed/sunset, because a long time ago I copied that pages information to the Netlabs wiki or to the project TRAC pages. I have no problem here, let me know any comments.
- ex: http://warpin.netlabs.org/en/site/index.xml
I wish good luck to Adrian who is migrating the server, and I guess also updating the scripts.
- http://blog.netlabs.org/?p=2203
Just in case I have this page with the Netlab's Services - http://wiki.netlabs.org/index.php/List_of_Netlabs_Services
Regards
And now also the os2world.com wiki has problems:
MediaWiki internal error.
Original exception: [dfee6984310eb0a11c629e26] 2024-10-05 21:28:00: Fatal exception of type "Error"
Exception caught inside exception handler.
Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.
-
Hello
Ans now also the os2world.com wiki has problems....
I was updating the OS2World wiki today. It is working now and it is the MediaWiki latest version.
Regards
-
Hello
I had offered Adrian to help with the EDM/2 wiki site. But it seems that Adrian had been very busy and he was not able to send me the files (database and files) yet.
I want to try if I can clone the EDM/2 wiki as it is and try to rebuild it, but I need help from someone that knows how to run python stuff.
There is this script: https://github.com/WikiTeam/wikiteam/blob/master/dumpgenerator.py
It runs with Python 2.0 but I can not make it work here.
Supposedly it can dump a MediaWiki site with something like:
- python dumpgenerator.py --api=http://www.edm2.com/api.php --xml --images
Can someone please give it a try and let me know?
Regards
-
I got,
H:\tmp\wikiteam>python2 dumpgenerator.py
Please install the kitchen module.
Please install or update the Requests module.
So needs some dependencies installed. With pip, this should work but I don't currently have pip installed and forget the installation procedure.
H:\tmp\wikiteam>python2 pip install --user --upgrade -r requirements.txt
W:\USR\BIN\python2.exe: can't open file 'pip': [Errno 2] No such file or directory
Big thing is to use python2 rather then python to run it.
Edit: fix typo
-
Hello.
I finally put some time to update the EDM/2 wiki.
I have good news, but it is not ready yet. Playing with some VMs and different versions of PHP I was able to get EDM/2 to render at MediaWiki version 1.43 (latest). It was a strange and awful upgrade path from version 1.22 to version 1.43.
Now I think it will take some days for Adrian to check how to reconnect this version to Netlabs. But the good thing is that it seems that the migration to a newer MediaWiki (and newer PHP) is ready.
Regards
-
Hello
Adrian wrote me today with the good news that he had made some progress with the EDM/2 wiki hosted in Netlabs.
https://www.edm2.com
The Wiki is now updated and it is available, it is looking fine for the moment. It is read only until Adrian finds out how to connect it to the LDAP.
Just to let you know how bad it is the spam, the wiki was open for registration and it was hit very hard by spam. EDM/2 was only open for 4 hours and 20 spam account were created and started posting articles. I think I had blocked all and deleted the spam.
Regards
-
Hello
I tested the EDM/2 wiki with Firefox 45 and Dooble under ArcaOS and seems to be displaying fine. Adrian upgraded to the new default template of the wiki called Vector-2022 and it seems to work fine.
Comments are welcome, maybe on the future I will also move the OS2World wiki to that template, since it seems to be the new default.
Regards
-
Hello
We are back editing the EDM/2 wiki. I'll keep going on the never ending task of migrating the OS/2 API to the EDM/2 (AI helps me a little bit now with the MediaWiki format). But I had changed my ID, I don't know why I can not log on with my old user ID. If someone used to have a logon access to the EDM/2 wiki, give it a try, modify the "Sandbox (https://www.edm2.com/index.php/Sandbox)" or your own User Profile page to test it out.
Regards
-
Hello
We are back editing the EDM/2 wiki. I'll keep going on the never ending task of migrating the OS/2 API to the EDM/2 (AI helps me a little bit now with the MediaWiki format). But I had changed my ID, I don't know why I can not log on with my old user ID. If someone used to have a logon access to the EDM/2 wiki, give it a try, modify the "Sandbox (https://www.edm2.com/index.php/Sandbox)" or your own User Profile page to test it out.
Regards
Hi Martin,
I used to have logon access to the EDM/2 wiki, so I tried to give it a try with the userid and password that I had used in the past, but now my logon fails. Now What?
Regards,
Wim
-
Hello
We are back editing the EDM/2 wiki. I'll keep going on the never ending task of migrating the OS/2 API to the EDM/2 (AI helps me a little bit now with the MediaWiki format). But I had changed my ID, I don't know why I can not log on with my old user ID. If someone used to have a logon access to the EDM/2 wiki, give it a try, modify the "Sandbox (https://www.edm2.com/index.php/Sandbox)" or your own User Profile page to test it out.
Regards
My Netlabs credentials no longer work when I try to login at www.edm2.com :(
-
Hello
Adrian just told me that he hasn't finished to connect the LDAP. We will have to wait more time.
Thanks for testing it.
Regards
-
Just an important milestone for me.
I finished the GPI Functions on the Wiki.
- https://www.edm2.com/index.php/GPI_Functions
I used Gemini AI to help me have the wiki layout for each function and it made my job faster.
I let the AI know how I liked the "template" and ask it to not create anything new, just to help me with the format. It reduced my work to more Ctrl+C and Ctrl+P, but less work fixing the layout.
Regards
-
It looks like you used the INF file from the OS/2 toolkit (GPI Guide and Reference) as the source material. But some links are missed, and they are just plain text.
For example, in GpiSetCharBox, there is an item Graphic Elements and Orders. In that page, there is a link to "Set Character Cell", but in the EDM/2 Wiki web page, this link is changed to plain text.
There are many Gpi functions -- it looks like you did a lot of work.
-
Hi Neil
For example, in GpiSetCharBox, there is an item Graphic Elements and Orders. In that page, there is a link to "Set Character Cell", but in the EDM/2 Wiki web page, this link is changed to plain text.
Yes, you are right. It is not perfect and it is good that you let me know.
My issue here is that I'm not using the INF file directly as source (since it is not a recognize format for the AI), I'm using a printed PDF and I copy the text of each function one by one. Otherwise (as far as I tested), if I feed the AI with the source and let it generate the content on the structure that I want, it will start to fill the blanks and invent things (that I don't like). This is why I copy all the text and just use tell it to use the layout and not invent anything. (hopefully)
About this link, the inf file (I got from "yum install os2tk45-books") can not find the reference file. What will be a good way to find the reference and see if I can fix some of the EDM/2 wiki?
Regards
-
That is a lot of work. I hope AI is helping.
I thought I could export an INF file to IPF using New View Tools->Save as IPF, but that does not work as well as I'd hope. It seems to start saving the document, but then finishes early skipping most of the content of the document.
Gpi functions are split into four INF files, GPI1.INF to GPI2.INF. You need to view GPI2.INF for the functions. If you then Save as IPF, you get GPI2.IPF that looks correct. This is an SGML file that can be parsed. Many tools on Hobbes have been written to manipulate IPF.
Maybe AI can convert the IPF to Wiki format directly?
-
That is a lot of work. I hope AI is helping.
It really helped a lot from doing the media wiki layout manually to have it in one second. The thing that I have to be careful about is the that it does not "invent" anything.
But I had to check the quality of the gpi to be sure that is helping. For the moment I didn't found any serious issue with it.
I thought I could export an INF file to IPF using New View Tools->Save as IPF, but that does not work as well as I'd hope. It seems to start saving the document, but then finishes early skipping most of the content of the document.
I think this is a good idea. I will try using IPF instead of the PDF and see if the mediawiki convertion works better with AI.
Regards
-
Hello
Look now what I did with notebooklm.
I was not sure if the "GPI Functions" page was complete, or if the GPI documentation was complete or not. So I told the AI to compare:
- https://www.edm2.com/index.php/GPI_Functions
With the "OS/2 DLL Entry Points Cross Reference"
- https://www.edm2.com/index.php/OS/2_DLL_Entry_Points_Cross_Reference
And "OS2386.LIB Information generated with EMXIMP"
- https://www.edm2.com/index.php/OS2386.LIB_Information_generated_with_EMXIMP
I told him to let me know which gpi functions I'm missing on the first list. It gave me:
GpiOval
GpiAbortPath
GpiAccessMetaFile
GpiBeginInkPath
GpiEndInkPath
GpiOpenMetaFile
GpiCloseMetafile
GpiConvPSH
GpiCreateEllipticRegion
GpiCreatePolygonRegion
GpiCreateRoundRectRegion
GpiDrawChain
GpiDrawFrom
GpiDrawDynamics
GpiConvPSH
GpiEnableYInversion
GpiInstallIFIFont
GpiMTAssociate
GpiMTDisassociate
GpiQueryDCData
GpiSetDCOwner
GpiQueryFontMappingFlags
GpiSetFontMappingFlags
GpiQueryMitreLimit
GpiSetMitreLimit
GpiQueryNumberSetIds
GpiQueryPath
GpiQueryRasterizerCaps
GpiQueryTabbedTextExtent
GpiTabbedCharStringAt
GpiRealizeColorTable
GpiResizePalette
GpiResumePlay
GpiSuspendPlay
GpiSaveMetaFile2
GpiSetBitmapOwner
GpiSetRegionOwner
GpiStartRequest
GpiStrokeInkPath
GpiUnrealizeColorTable
GpiVectorSymbol
I doble checked that those functions exists on the "OS2386.LIB Information generated with EMXIMP"
So, now I had have to find out if it is worthy to try to document or research that functions :)
For the moment I just added those to the list of GPI as "Not Documented - To Verify"
Now, let's search if "GpiOval" was ever used on the source code I have on Github.com/OS2World
- https://github.com/search?q=org%3AOS2World%20GpiOval&type=code
I think I have something to start documenting it but I need more criteria from a developer.
Regards
-
Hello
It was reported today by Adrian that the EDM/2 wiki and the Netlabs Wiki are connected back to the Netlabs LDAP.
I tested it and I can log in to both with the same password:
- https://www.edm2.com/index.php/Main_Page
- https://wiki.netlabs.org/index.php/Main_Page
Please test with the netlabs password that you remember.
Regards
-
Successfully logged into both sites. Thanks to you and Adrian for the work put in.