Kép renderelési probléma rendszermodellezés git merge-nél

0 votes
asked 4 days ago in Rendszermodellezés A00 by DiazAlex42 (25 points)  

Most adtam be a végső formátumot az összes diagramnak (mivel egyedül dolgoztam ezért ez az összes diagram), de amikor mergeltem akkor nem hozta létre a renders branchet a .svg fájlokkal de lefutott az Ita-render. Ami talán hiba lehet az a render részben van:

Copyright © LieberLieber Software GmbH
6LemonTree.Automation 4.2.0.0
7SvgExport
8Valid license found.
9Model: model.qeax
10Output: ./svg
11Filename pattern: Path
12Loading Model 'model.qeax'
13code = NotADb (26), message = System.Data.SQLite.SQLiteException (0x87AF0570): file is not a database
14file is not a database
15 at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, SQLiteCommand command, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
16 at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
17 at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
18 at System.Data.SQLite.SQLiteDataReader.NextResult()
19 at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
20 at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
21 at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
22 at LieberLieber.UniqueMint.Adapter.ReadEaDB.SqlFactory.SqlFactoryBase.ExecuteQueryReadingFunc(String sqlQuery, Action`1 readingFunc)
23 at LieberLieber.UniqueMint.Adapter.ReadEaProfile.EaProfileReader.AddEAInternalProfiles(EaDbReaderBase eaReader)
24 at Uml2Svg.SvgExport.DiagramExport.LoadFactory(String connectionString) in C:\BuildAgent1\work\1479d072fafd2fdc\src\SvgExport\DiagramExport.cs:line 47
25 at Uml2Svg.SvgExport.DiagramExport.ExportAllDiagrams(String outputPath, String modelPath, FilenamePattern filenamePattern) in C:\BuildAgent
1\work\1479d072fafd2fdc\src\SvgExport\DiagramExport.cs:line 104

26Elapsed time:00:00:00.1452362
27Issues occurred creating the diagrams. Supportcode: ErrorLoadModel

Miután a teamsben azt ajánlották hogy próbáljam újra úgy hogy jelentéktelen változtatással uj mergel teszteljem akkor a pr run-diffcheck nem fordul le mégpedig ezzel a hibával:

Merge failure!
-> One or more errors occurred. (file is not a database
file is not a database) (file is not a database
file is not a database) (file is not a database
file is not a database)
Finished Diff
Error: Process completed with exit code 254.
Error: Unable to process file command 'output' successfully.
Error: Invalid value. Matching delimiter not found 'Ms/Yv/r39gO8f6SFQIvn'

Hogyan lehet ezt megoldani?

1 Answer

0 votes
answered 3 days ago by levente (205 points)  
selected 3 days ago by DiazAlex42
 
Best answer

"file is not a database" tipikusan azt jelenti, hogy LFS pointert talált fájl helyén, vagy fájlt talált LFS pointer helyén.

Egy valódi megoldás az lenne, hogy ezt a problémát kell feloldani: amennyiben a github szerint nem LFS a fájl de meg tudod nyitni, akkor a megfelelő gitattributes fájlt is ki kell törölni; vagy ha a github szerint egy szövegfájl ami gyanúsan egy fájlra mutatna, de nem oldja fel LFS pointerként, akkor (a gitattributes törlésével együtt) újra fel kéne pusholni a fájlt, akár egy új branchre.

A kevésbé jó megoldás, de házimegoldás szempontjából tökéletes: ne foglalkozzatok a renderrel, hanem screenshotokat / kép exportokat rakjatok a markdown fájlba, hogy meglegyen a megoldásotok.

...