Recent

Author Topic: TVPlanit Reboot  (Read 35736 times)

wp

  • Hero Member
  • *****
  • Posts: 12920
Re: TVPlanit Reboot
« Reply #60 on: July 04, 2016, 11:59:02 am »
I think its needed need to open the dataset in (a) and (b), but I think also that it should not be harmful. The rest is just the way I would do it.

NB: Of course, in (d) you can pick any existing ResourceID.

JD

  • Hero Member
  • *****
  • Posts: 1907
Re: TVPlanit Reboot
« Reply #61 on: July 04, 2016, 12:16:32 pm »
I think its needed need to open the dataset in (a) and (b), but I think also that it should not be harmful. The rest is just the way I would do it.

NB: Of course, in (d) you can pick any existing ResourceID.

The dataset is Open when Active. So if you are saying the order is correct, why is my Dayview empty? Should I be looking at the settings of ControlLink in the code too?
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

wp

  • Hero Member
  • *****
  • Posts: 12920
Re: TVPlanit Reboot
« Reply #62 on: July 04, 2016, 12:33:52 pm »
Before I think about this, please answer my question: Do your db files open in the bufdsdatastore demo?

JD

  • Hero Member
  • *****
  • Posts: 1907
Re: TVPlanit Reboot
« Reply #63 on: July 04, 2016, 02:08:35 pm »
Before I think about this, please answer my question: Do your db files open in the bufdsdatastore demo?

I can see the Resource but not the Events. See attached

JD
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

JanRoza

  • Hero Member
  • *****
  • Posts: 724
    • http://www.silentwings.nl
Re: TVPlanit Reboot
« Reply #64 on: July 04, 2016, 02:16:36 pm »
JD, attached is a dutch language file as addition for tvplanit.
Because po files can not be uploaded I changed the extension from po to txt, just rename it and you have your po file again.
Hope you can use it.
OS: Windows 11 / Linux Mint 22.1
       Lazarus 4.0 RC FPC 3.2.2
       CodeTyphon 8.70 FPC 3.3.1

wp

  • Hero Member
  • *****
  • Posts: 12920
Re: TVPlanit Reboot
« Reply #65 on: July 04, 2016, 02:23:28 pm »
I can see the Resource but not the Events. See attached
If we're still talking about the same files that you posted above the start and end dates are lacking the date part. Therefore, they occur at midnight, and you have to scroll the dayview up to see midnight. But the events are not seen this way either because they have zero duration. In addition, the 2nd event has the dates in reverse order (tvplanit does not allow to enter this, but a check is missing for the initial read of a table).

After manually editing the dates, and setting the resourceiD to 1, the events show correctly in the planner.

wp

  • Hero Member
  • *****
  • Posts: 12920
Re: TVPlanit Reboot
« Reply #66 on: July 04, 2016, 02:42:32 pm »
@JanRoza: Thanks for submitting the dutch translation. I just added it to the distribution and updated the "demo" application to handle the dutch LCID  (note if you run "demo" the main program will still be in English because the demo.po is still untranslated to nl, but the tvplanit dialogs are in dutch).

JD

  • Hero Member
  • *****
  • Posts: 1907
Re: TVPlanit Reboot
« Reply #67 on: July 04, 2016, 04:10:43 pm »
JD, attached is a dutch language file as addition for tvplanit.
Because po files can not be uploaded I changed the extension from po to txt, just rename it and you have your po file again.
Hope you can use it.

Thanks JanRoza. I'll upload a French language file myself in a couple of days.

JD
« Last Edit: July 04, 2016, 06:52:40 pm by JD »
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

xinyiman

  • Hero Member
  • *****
  • Posts: 2258
    • Lazarus and Free Pascal italian community
Re: TVPlanit Reboot
« Reply #68 on: July 05, 2016, 12:15:28 pm »
I installed the currently released version of mac and when I open the sample project demo I go into the development environment crashes. Without compiling it, just trying to see the form
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

wp

  • Hero Member
  • *****
  • Posts: 12920
Re: TVPlanit Reboot
« Reply #69 on: July 05, 2016, 12:39:10 pm »
Sorry I don't have a Mac, so OSX support is completely untested...

If you want to get it fixed you must help me. Please find out which revision broke the OSX functionality. I hope you know which revision you used for the last test which had bugs but at least a functional IDE - your last post was on July2, therefore, the revision must be >4890. Update your svn repository to this revision - rebuild the IDE, it should work. Then update svn to a revision somewhere in the middle between this and the current revision(say: 4905). Rebuild the IDE. Does it work? If it does go to a revision between this and the current revision (say: 4912), and repeat. If it does not go to a revision between this and the last revision that was working (say: 4897), and repeat. After some more tries you will know the first revision at which OSX is broken. Report this info back.


xinyiman

  • Hero Member
  • *****
  • Posts: 2258
    • Lazarus and Free Pascal italian community
Re: TVPlanit Reboot
« Reply #70 on: July 05, 2016, 03:27:32 pm »
Sorry I don't have a Mac, so OSX support is completely untested...

If you want to get it fixed you must help me. Please find out which revision broke the OSX functionality. I hope you know which revision you used for the last test which had bugs but at least a functional IDE - your last post was on July2, therefore, the revision must be >4890. Update your svn repository to this revision - rebuild the IDE, it should work. Then update svn to a revision somewhere in the middle between this and the current revision(say: 4905). Rebuild the IDE. Does it work? If it does go to a revision between this and the current revision (say: 4912), and repeat. If it does not go to a revision between this and the last revision that was working (say: 4897), and repeat. After some more tries you will know the first revision at which OSX is broken. Report this info back.

Ok, for example, what command should I use to get the 4890 version?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

wp

  • Hero Member
  • *****
  • Posts: 12920
Re: TVPlanit Reboot
« Reply #71 on: July 05, 2016, 04:15:32 pm »
I don't known which svn tool is available on the Mac. On Windows, I use TortoiseSVN, right-click my repository and select "TortoiseSVN" > "Update to revision..." and enter 4890. On Linux, I have the standard svn client and cd to the root of the local repository and type "svn up -r4890" in a console.

Don't forget to rebuild Lazarus after svn is finished.

JanRoza

  • Hero Member
  • *****
  • Posts: 724
    • http://www.silentwings.nl
Re: TVPlanit Reboot
« Reply #72 on: July 05, 2016, 10:27:32 pm »
@wp: sorry I hadn't looked at the demo translation. I'll translate that one as well in the next few days.
OS: Windows 11 / Linux Mint 22.1
       Lazarus 4.0 RC FPC 3.2.2
       CodeTyphon 8.70 FPC 3.3.1

xinyiman

  • Hero Member
  • *****
  • Posts: 2258
    • Lazarus and Free Pascal italian community
Re: TVPlanit Reboot
« Reply #73 on: July 06, 2016, 08:38:22 am »
Sorry I don't have a Mac, so OSX support is completely untested...

If you want to get it fixed you must help me. Please find out which revision broke the OSX functionality. I hope you know which revision you used for the last test which had bugs but at least a functional IDE - your last post was on July2, therefore, the revision must be >4890. Update your svn repository to this revision - rebuild the IDE, it should work. Then update svn to a revision somewhere in the middle between this and the current revision(say: 4905). Rebuild the IDE. Does it work? If it does go to a revision between this and the current revision (say: 4912), and repeat. If it does not go to a revision between this and the last revision that was working (say: 4897), and repeat. After some more tries you will know the first revision at which OSX is broken. Report this info back.

In the 4905 version it will close for no reason the ide. So I would say that this is the version of Mac does not have the bug I reported you.
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

wp

  • Hero Member
  • *****
  • Posts: 12920
Re: TVPlanit Reboot
« Reply #74 on: July 06, 2016, 10:34:44 am »
In the 4905 version it will close for no reason the ide. So I would say that this is the version of Mac does not have the bug I reported you.
Sorry to be insistent but I must be sure, there are a lot of changes: This statement is contradicting: "... will close for no reason the ide" says that r4905 is faulty. But in the next sentence you say the opposite: "this is the version of Mac does not have the bug".

So, what is the first version in which the IDE closes? Or, what is the last version in which the IDE opens correctly?

If the faulty commit to svn is too bug it may be difficult to locate the culprit. Therefore I'd ask you for one more favor: Update your local repository to the first defective revision. Go to "Package" > "Install/uninstall packages" and uninstall the tvplanit packages (laz_visualplanit*). Then go to "Package" / "Open package file" and load the package "laz_tvplanit.lpk" from the defective version repository. Compile the package, but don't install it. This way your IDE will remain operative. Now open the attached demo project; it is a runtime version of tvplanit which should work without the components being installed. Compile and run it. In your case, it should crash somewhere (but not kill the IDE). Tell me where it crashes.

 

TinyPortal © 2005-2018