-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't trace an exception #73
Comments
Thank you for reporting @betterthanever2! It looks like the commands have run into unexpected encodings in one or more files. I think I might have missed out in explicitly specifying the encoding when analyzing files (as done in the I'll look into this right away! |
Thank you! Love this software, btw |
There's a new version out: 1.5.0 I have added some file opening guards that I hope will solve your issues! The bump includes a new feature too (that is why it is 1.5.0): including the development project in poly info and libs. Please try it out and let me know if it works 🙏 |
@DavidVujic quick question: how do I update the plugin? Pardon me if it's stupid, but I haven't found it in the docs. |
A very good question! The Poetry docs doesn't seem to describe that. I usually remove, and then add again:
|
That looks a bit weird, yes 😄 How does the files and folders look like? |
And, if possible, could you share the contents of the |
Here's a gist |
Thank you! Looks good! Can I have a look at the one in the projects folder too? |
This was confusing. Even more that the "wapatools" is registered as a library in the list. Not that it would matter, but why does the project-specific toml have the plugin declaration? |
May I ask for a look in the |
I'm not sure. It was either added automatically, or I may have copied it over from one of the 2 example projects I looked into |
Note: test was "disabled" already after the setup |
So I don't need that plugin declaration? |
No, you shouldn't need that. It looks like a declaration used when you actually build a plugin of your own. |
What is the output when you run the Poetry built in command |
It's declared in project-level file in this repo 🤦 Overkill 😄 |
When I run |
|
One thing that comes to mind: how does the |
This is indeed weird. It may be related to some terminal bug. Another thing that happened on that front is that when I enlarged the terminal window, the whole 2nd section of the output disappeared. |
Thanks! Looks good. According to the screenshot, the snapshot base imports something called |
It is correct. This dependency is also actually missing from the |
|
Ok! So the tool seems to have gotten some missing dependencies reported right. The aliases is making the tool miss them, and that's a bug. Is there anywhere in the python code where the imports for wapatools isn't Sorry, not wapatools, but wapaganda! |
There were (it's legacy residue). I corrected almost all, but may have missed something |
Thank you for helping out with this, and I appreciate your patience with the polylith tool! 😄 There's a couple of bugs we already have identified that I will add as issues and work on:
The rest is a bit difficult to find out for now. If it would be ok for you I could have a closer look in the code in a zoom-call or similar later this week or any other time, or if I could have access to the repo (I totally understand if that is not possible, just a suggestion). |
Wow, you're really going heavy on this. I appreciate it. Let me sleep on the code exposure thing, tough. As for the patience - really not much was required. Sure, I got confused here and there, like it happens every time I learn something new, but it was comparatively easy to resolve in each case. I think, this is in part, due to easy-to-grasp architecture, and in part, - to the really great documentation you have. Thanks for that - saves time, reduces frustration. |
@DavidVujic we can do a zoom call, if you don't mind me asking questions about polylith |
Great! Of course, questions are welcome 😄 |
Not sure how to connect. Here's my email |
Describe the bug
Whenever I run
poetry poly libs
, orpoetry poly check
I get this error:'charmap' codec can't decode byte 0x98 in position 880: character maps to <undefined>
I have no idea what is wrong and where to look.
To Reproduce
I'm not sure this is reproducible.
Expected behavior
A more detailed description of the error, preferably with indication of which file is faulting.
Desktop (please complete the following information):
Additional context
Just moved a multifaceted project to polylith structure, and for starters assigned everything to one
project
. I started moving things around (that is, creating new bases/components and moving code there from legacy ones, then removing legacy ones). This wasn't happening at the beginning.The text was updated successfully, but these errors were encountered: