Giter Club home page Giter Club logo

Comments (13)

funkenstrahlen avatar funkenstrahlen commented on May 27, 2024 1

I just completely removed license-plist and reinstalled it via homebrew. Now it works perfectly. Still do not know what was wrong but looks like this was a weird bug in my installation...

Thank you for you quick response and help though!

from licenseplist.

mono0926 avatar mono0926 commented on May 27, 2024

@funkenstrahlen

For Pods, I don't use GitHub API, and I use the license bodies contained in XXX-acknowledgements.plist files like this.

screen shot 2017-06-02 at 17 29 55

So, I suspect that XXX-acknowledgements.plist contains 404 not found and if so, it's CocoaPods' problem.

Could you check XXX-acknowledgements.plist files?

from licenseplist.

funkenstrahlen avatar funkenstrahlen commented on May 27, 2024

I did check on that file. It's named Pods-Bookshelf-acknowledgements.plist in my case and it does contain a plist of all the licences of my pods and does not have 404 inside.

When I run license-plist also my com.mono0926.LicensePlist.plist contains 404 not found. So not only pod specific files are getting 404 but also the main collection list.

from licenseplist.

mono0926 avatar mono0926 commented on May 27, 2024

@funkenstrahlen

For Carthage(Cartfile), I use GitHub API. Do you use it?

And, could you paste console logs?

from licenseplist.

funkenstrahlen avatar funkenstrahlen commented on May 27, 2024

I do not use a Cartfile.

license-plist --force
[2017-06-02T10:14:21.116+02:00] [INFO] Start
[2017-06-02T10:14:21.130+02:00] [INFO] Pod acknowledgements found: Pods-Bookshelf-acknowledgements.plist
[2017-06-02T10:14:21.130+02:00] [INFO] Pod acknowledgements found: Pods-BookshelfTests-acknowledgements.plist
[2017-06-02T10:14:21.130+02:00] [INFO] Pod acknowledgements found: Pods-BookshelfUITests-acknowledgements.plist
[2017-06-02T10:14:21.131+02:00] [INFO] Pods License parse start
[2017-06-02T10:14:21.143+02:00] [WARNING] Not found: Cartfile.resolved -- file:///Users/funkenstrahlen/Projects/bookshelf-ios-app/.
[2017-06-02T10:14:21.143+02:00] [WARNING] Not found: Cartfile -- file:///Users/funkenstrahlen/Projects/bookshelf-ios-app/.
[2017-06-02T10:14:21.143+02:00] [INFO] Carthage License collect start
[2017-06-02T10:14:21.146+02:00] [INFO] Deleted exiting plist within com.mono0926.LicensePlist
[2017-06-02T10:14:21.147+02:00] [INFO] Directory created: com.mono0926.LicensePlist.Output/ -- file:///Users/funkenstrahlen/Projects/bookshelf-ios-app/
[2017-06-02T10:14:21.767+02:00] [INFO] End
[2017-06-02T10:14:21.768+02:00] [INFO] ----------Result-----------
[2017-06-02T10:14:21.768+02:00] [INFO] # Missing license:
[2017-06-02T10:14:21.768+02:00] [INFO] NoneπŸŽ‰

This looks fine in my eyes.

from licenseplist.

mono0926 avatar mono0926 commented on May 27, 2024

@funkenstrahlen

Did you check all of these three acknowledgements.plist files?

[2017-06-02T10:14:21.130+02:00] [INFO] Pod acknowledgements found: Pods-Bookshelf-acknowledgements.plist
[2017-06-02T10:14:21.130+02:00] [INFO] Pod acknowledgements found: Pods-BookshelfTests-acknowledgements.plist
[2017-06-02T10:14:21.130+02:00] [INFO] Pod acknowledgements found: Pods-BookshelfUITests-acknowledgements.plist

If you can, could you send me those acknowledgements.plist files?

And I'd like to confirm com.mono0926.LicensePlist.latest_result.txt, which is a result summary.

from licenseplist.

funkenstrahlen avatar funkenstrahlen commented on May 27, 2024

Alle the files you requested: https://gist.github.com/3c7fd3795b6ece7071d6e122746e57dd

from licenseplist.

mono0926 avatar mono0926 commented on May 27, 2024

@funkenstrahlen

Thanks, but it seems to be okay.
https://gist.github.com/funkenstrahlen/3c7fd3795b6ece7071d6e122746e57dd#file-com-mono0926-licenseplist-latest_result-txt-L2 body is not 404.

And, I generated plist license files by using your acknowledgements.plist files. The result was fine.

I'd like to confirm your generated files, which include 404 not found

from licenseplist.

funkenstrahlen avatar funkenstrahlen commented on May 27, 2024

I'd like to confirm your generated files, which include 404 not found

I do not know what I can do to help you in this case. They are completely empty except of 404: Not Found.

from licenseplist.

mono0926 avatar mono0926 commented on May 27, 2024

@funkenstrahlen

Umm, I cannot reproduce the problem, so it is difficult to fix it...

I do not know what I can do to help you in this case. They are completely empty except of 404: Not Found.

Just in case, I'd like to check the generated file like https://gist.github.com/3c7fd3795b6ece7071d6e122746e57dd .

from licenseplist.

funkenstrahlen avatar funkenstrahlen commented on May 27, 2024

https://gist.github.com/funkenstrahlen/cdcf7f9ddb46cc0cb3d1daefe75ccf1e

from licenseplist.

mono0926 avatar mono0926 commented on May 27, 2024

@funkenstrahlen

Thanks.
Plist body is generated like this:

let item = ["PreferenceSpecifiers": [["Type": "PSGroupSpecifier", "FooterText": license.body]]]
let value = try! PropertyListSerialization.data(fromPropertyList: item, format: .xml, options: 0)

So, I cannot believe 404: Not Found was written.

Expected result example:
https://gist.github.com/mono0926/6ef64d97a43004eeab7d8bb94ed01fa0

I'm sorry, but I cannot fix it now.
I'll fix when I now the reason.

from licenseplist.

mono0926 avatar mono0926 commented on May 27, 2024

πŸŽ‰

from licenseplist.

Related Issues (20)

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.