Giter VIP home page Giter VIP logo

canal's Introduction

Hi there 👋

I'm Jannik, I live in Hamburg and enjoy tech.

Life-Pro-Tips

These are mandantory if you want to pair on some code with me

canal's People

Contributors

jannikarndt avatar opensource21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

canal's Issues

Variables from Working Section has no link

Normally you can jump from the variable view to the definition. If a variable defined in the working section it fails. This works in the version with the button "open copy book "

Win10Pro

I have canal running on my windows laptop, works fine and analyses a simple Cobol program. I have installed it on my Windows10Pro system, and it starts up immediately after install. I can load the desr program, and it shows the code but fails to display structure in the right hand pane with a Null CobolTree message. Subsequently trying to run Canal won't even start up...
2020-08-14 12:21:19 Program start.
2020-08-14 12:21:20 Error trying to open most recently used files at path mostRecentlyUsed.canalsettings: Could not find file 'C:\Users\User\AppData\Local\Apps\2.0\KD06WGVJ.PAZ\WKVZ5HLW.35L\cana..tion_0000000000000000_0002.0011_5e88479f239e6b10\mostRecentlyUsed.canalsettings'.
2020-08-14 12:21:20 Trying to analyze non-existent file or folder .
2020-08-14 12:21:54 Error analyzing file/folder C:\Cobol\desr.cob: One or more errors occurred.
2020-08-14 12:21:54 PerformTree could not be built because CobolTree is null.
2020-08-14 12:21:54 Error setting folding markers: Object reference not set to an instance of an object..System.NullReferenceException: Object reference not set to an instance of an object.
at Canal.UserControls.FileControl.SetFoldingMarkers(Object sender, RunWorkerCompletedEventArgs runWorkerCompletedEventArgs)
2020-08-14 12:22:05 Program end.
2020-08-14 12:22:10 Program start.
2020-08-14 12:22:34 Error analyzing file/folder C:\Cobol\desr.cob: One or more errors occurred.
2020-08-14 12:22:34 Error in application.System.IO.FileNotFoundException: Error analyzing file/folder.
at Util.FileUtil.AnalyzeFolder(String fileOrFolderPath)
at Canal.MainWindow.LoadMostRecentDirectory()
at Canal.MainWindow..ctor(String[] files)
at Canal.Program.Main(String[] args)
2020-08-14 12:22:40 Program end.
2020-08-14 12:27:53 Program start.
2020-08-14 12:28:28 Error analyzing file/folder C:\Cobol\desr.cob: One or more errors occurred.
2020-08-14 12:28:28 Error in application.System.IO.FileNotFoundException: Error analyzing file/folder.
at Util.FileUtil.AnalyzeFolder(String fileOrFolderPath)
at Canal.MainWindow.LoadMostRecentDirectory()
at Canal.MainWindow..ctor(String[] files)
at Canal.Program.Main(String[] args)
2020-08-14 12:29:25 Program end.
2020-08-14 12:33:40 Program start.
2020-08-14 12:40:08 Program start.
2020-08-14 12:40:32 Error analyzing file/folder C:\Cobol\desr.cob: One or more errors occurred.
2020-08-14 12:40:32 Error in application.System.IO.FileNotFoundException: Error analyzing file/folder.
at Util.FileUtil.AnalyzeFolder(String fileOrFolderPath)
at Canal.MainWindow.LoadMostRecentDirectory()
at Canal.MainWindow..ctor(String[] files)
at Canal.Program.Main(String[] args)
2020-08-14 12:40:40 Program end.

Procedrue Division not analysed, can you advise what I need in the source to resolve this?

p6.zip

Log:
Info Starting program
Info Showing start tab
Info Opening file C:\Lynda\042 Migrating Cobol Applications\Exercise Files\CHAP 5\05_01\p6-poli.cob
Info Adding tab for file C:\Lynda\042 Migrating Cobol Applications\Exercise Files\CHAP 5\05_01\p6-poli.cob
Info Finding reference for filename C:\Lynda\042 Migrating Cobol Applications\Exercise Files\CHAP 5\05_01\p6-poli.cob.
Info Loading file from cache: C:\Lynda\042 Migrating Cobol Applications\Exercise Files\CHAP 5\05_01\p6-poli.cob.
Info Loading text for reference 05_01 > p6-poli.
Info Built new CobolFile p6-poli.
Info Resolving copy references for file p6-poli.
Info Finding copy references...
Info Found 0 COPYs...
Info Finished loading copy references for file p6-poli.
Info Building CobolTree for file p6-poli.
Info Creating perform tree for file p6-poli
Info Selected word Procedure Division

Foo

Submitter: foo
Foo

Start-Tab isn't closable

The Start-Tab doesn't close if you click on the x-button unless it's supposed to work like that?!

Perform-tree seems to be broken

The picture at the readme shows a tree which is ordered by performs. (Sort by performs) This. seems to be broken in 2.8.0.0.
Furthermore it would be nice to see how much lines each method has. It makes it easier to make a forecast how much work must be done.

Unhandled Exception after opening Cobol-File

Exception:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Canal.UserControls.FileControl.SetFoldingMarkers(Object sender, RunWorkerCompletedEventArgs runWorkerCompletedEventArgs)
at System.ComponentModel.RunWorkerCompletedEventHandler.Invoke(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)

CobolTree is null

Log:
Info Starting program
Info Showing start tab
Info Opening file C:\Users\Barrie\Downloads\AIP500COPY.TXT
Info Adding tab for file C:\Users\Barrie\Downloads\AIP500COPY.TXT
Info Finding reference for filename C:\Users\Barrie\Downloads\AIP500COPY.TXT.
Info File C:\Users\Barrie\Downloads\AIP500COPY.TXT is not in cache. Loading from disk.
Info Loading text for reference Downloads > AIP500COPY.
Info Built new CobolFile AIP500COPY.
Error Error analyzing file/folder C:\Users\Barrie\Downloads\AIP500COPY.TXT: One or more errors occurred.
Error PerformTree could not be built because CobolTree is null.
Error Error setting folding markers: Object reference not set to an instance of an object..System.NullReferenceException: Object reference not set to an instance of an object.
at Canal.UserControls.FileControl.SetFoldingMarkers(Object sender, RunWorkerCompletedEventArgs runWorkerCompletedEventArgs)

Referenced By should link directly to the line

If you look from where a procedure is called, you can use the great Referenced By- information. Unfortunately you jump to the first line of the procedure. This is uncomfortable if the procedure is long.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.