Inkscape.org
Beginners' Questions Missing patterns
  1. #1
    garnaldi garnaldi @garnaldi
    *

    Have to regress: no suggestion question.  I must discuss a bug I've encountered three days ago.  I can't fix it; even Restoro didn't repair it!   I was busy with creating one more  pattern  and ready to try it when I lost all patterns in Inkscape 1.0 Paint Servers.  I tried system restore too but that didn't do anything.  I know that I am using a beta; could that be a bug or something else?   What do you people suggest: go back to v. 92.5? I'll wait for your replies before uninstalling 1.0.  You may have an idea to try...  One more thing:  the patterns.svg file is still there, uncorrupted, with all patterns listed. Why then would they not show in Paint Servers?  Everything else in Inkscape works as it should.  

     

    [Moderator edit: Split from unrelated topic for clarity and visibility.]

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    What directory is the patterns.svg file in?

    Does the Inkscape Preferences>System User Paint Servers point to that location?

  3. #3
    garnaldi garnaldi @garnaldi

    2 locations for patterns.svg: Prog. Files>Inkscape>Share>Inkscape>Paint

                                            Prog. Files>Inkscape>Share>Inkscape>Patterns

     

    However, when going to C:\\users\owner\appData\Roaming\Inkscape\Paint

    am confronted with the words This folder is empty

    Is that where I could correct?  How can I fill this void?

    Thanks for taking the time to help a novice.

  4. #4
    Tyler Durden Tyler Durden @TylerDurden
    *

    I would put the patterns.svg in the C:\\users\owner\appData\Roaming\Inkscape\Paint and see what happens.

     

    EDIT: I presume you login as owner, if not, you may need to change the directory Inkscape looks at.

     

  5. #5
    garnaldi garnaldi @garnaldi

    Have put patterns.svg in Paint all right.  Made  sure it was intact.  Well, when clicking on Paint Servers I get the same message that there was an internal error and it must close.  Witrh an empty Inkscape screen, when I I click Paint Servers that  message gets displayed too...  When I import a graphic and do Objec  to Pattern, it does get recognized with a number.  If I open a shape and click on Fill & Stroke, the new shape immediately fills it.  I wonder why that ease doesn't work with Paint Servers.  It seems to me that there is a flaw in Inkscape... What else can I try besides uninstalling 1.0 and reinstalling 92.5?  Do you need to look at some files/objects/graphics Tyler Durden?

  6. #6
    Tyler Durden Tyler Durden @TylerDurden

    It seems to work here with the attached test file.

    Please share an example patterns file that has the issue.

    Tdpat
  7. #7
    garnaldi garnaldi @garnaldi

    Is this what you mean? star + vacant Paint Server 

     

    2020 06 11
  8. #8
    garnaldi garnaldi @garnaldi

    Is this what you mean? star + vacant Paint Server 

     

    2020 06 11
  9. #9
    Tyler Durden Tyler Durden @TylerDurden

    Well, that is very bad, but I would like to examine the patterns.svg file.

  10. #10
    garnaldi garnaldi @garnaldi

    I hope you can discover the cause of the error; I am mystified...

    Patterns
  11. #11
    Tyler Durden Tyler Durden @TylerDurden
    *

    The patterns.svg file is corrupted... two pattern files are mixed together inappropriately. A bug caused this, I am sure.

    I suggest to decide which way to go: back to .92xx or ahead to 1.0 release version (not beta). Then try the pattern. 

    I believe I have reconstructed the three flowers pattern file. But uninstall Inkscape beta and re-install a stable version before using it.

     

    3Flowers
  12. #12
    garnaldi garnaldi @garnaldi

    Thank you very much for your success!  I marvel at how you were able to get to the bottom of it.  How did you do it?  I am glad to know the cause of the error.  Didn't know that 1.0 now has a stable version; I will uninstall and reinstall things.  Then I will let you know.  Oh! Do I do anything about the two patterns? I certainly do not want a repeat of that error.  

  13. #13
    Tyler Durden Tyler Durden @TylerDurden

    My first clue was a windows preview message "Invalid svg file".

    I looked at the file in a text-editor and it contained more than one set of file "Headers", which should never happen.

    Then it was a game of separating code from one file. We call it "busy-work"... not difficult, but not a single cut/paste.

  14. #14
    garnaldi garnaldi @garnaldi

    Which other pattern was involved along with 3flowers?  I suspect it was the one immediately under it, multihearts; is that correct Maybe I should delete those two patterns before installing the 1.0?  What  do you recommend?  We don't want a repeat... I wonder why I  haven't been confronted with the words Invalid svg file.  By the way: how can one  rebuild a pattern; does one simply  go over the code to fix or is a program needed?

     

     

     

     

     

     

     

     

     

     

     

  15. #15
    Tyler Durden Tyler Durden @TylerDurden
    garnaldi

    Which other pattern was involved along with 3flowers? 

    All the stock Inkscape patterns (not hatches) are in a single file. That file was mashed-up with the 3Flowers file. 

  16. #16
    garnaldi garnaldi @garnaldi

    You have allowed me to go a little further, Tyler Durden.  Have installed v. 1.0 and was nicely surprised to find Paint Servers available again.  Unfortunetly am faced with another difficulty:  whereas previously I was able to add pattern after pattern easily, I find myself now unable to add a single one.  I am following the prescribed steps scrupulously, but my new patterns don't manage to enter the patterns repository.  Does your experience have an idea of where I should look?  (All stock patterns show up all right plus one of mine.)

     

  17. #17
    Tyler Durden Tyler Durden @TylerDurden
    garnaldi

    I am following the prescribed steps scrupulously, but my new patterns don't manage to enter the patterns repository. 

    Please share the steps you have used successfully.