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
AttributeError: module 'collections' has no attribute 'Callable' #49
Comments
Hi, This is a tough one as it seems to be an issue with the library "pyreadline" which I'm using to read user input. If this is a pyreadline issue, I most probably can't help you. Next week I may be able to access a Windows machine in order to try to recreate your issue (or not). What was your installation method of choice? pip? |
yes, pip.
I have never worked with github before. That's why I got the idea if I should have downloaded the package via the green code button first? |
Pip is fine if you don't plan to modify the code yourself although I sometimes am lazy with updating the packages - I accept reminders for that ;-) So your setup does seem to be fine. I'll try to do the same in a Windows VM next week. |
@derpieler Affirmative, the roadblock is seen e.g., in Windows 10 Home (32bit) and Python from python.org (Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 13:51:36) [MSC v.1933 32 bit (Intel)] on win32) though the installation of filetags (like e.g., date2name) did not report back problems to cmd.exe. When using the entry |
@novoid Thanks to WinPython, a Python interpreter one may carry on a thumbdrive which does not need to nest into the Windows operating system .and. offers a separate Python command line I knew from an other project it is possible to narrow the problem. Their package of Python 3.9.10 for Windows (32 bit) as distributed here so far is the most recent portable Python allowing to run filetags in Windows again. Not knowing how comfortable @derpieler is to work from the CLI of such a guest system to reach for the host system, I'm on my way for a separate description for the OP. |
@nbehrnd does this mean the mentioned problem exists only in certain Python versions of Windows? Did I understand it correctly? And: |
@derpieler You possibly encounter an issue in Python 3.10.X reported earlier elsewhere. I do not know when the underlying problem will be resolved, it is outside filetags. Just returning from a session in Windows 10 (32 bit) where I got filetags to work well, I recommend the following sequence of actions; basically, you start from a clean slate again.
pip install date2name integratethis
pip install time2name integratethis
pip install filetags integratethis and render them accessible again to the integratethis date2name
integratethis time2name
integratethis filetags In my case, this allows the three entries in Windows' |
|
Unfortunately, Windows does need much extra-effort for its technological stack. So far, I didn't encounter anything that was better on Windows. YMMV. Either way, I am pretty sure that this is no filetags issue. It is either a Thanks for your contributions! |
Thanks you very much for your help. I'm using win 10 pro 64 bit and installed python per chocolatey. I will test your solution and give feedback |
@derpieler The early speculation by @novoid likely found independent confirmation in a discussion on python-forum.de. If possible for your workflow, wait a second and let Karl check pending PR50 which could resolve the issue, including an update of If Karl's checks are passed well and if he is fine with the change introduced, you could proceed by an update; in the specific case, the required command is going to be
|
Thanks @nbehrnd for all the effort you invested in the research! I do have a busy week and can't test the issue or update the package on pypi before the weekend. |
I have just published the most current filetags version as https://pypi.org/project/filetags/2022.10.9.1/ @derpieler please write me if that doesn't fix your issue. |
Thanks for your effort. A 'pip install date2name appendfilename filetags integratethis --upgrade' did upgrade. However, the same error message still appears. |
@derpieler In this context of an installation of Python (from python.org) in Windows 10, I observed:
pip install -r requirements.txt Step 4) reaches out for pypi.org and internet connection is required. Perhaps no longer necessary, I then rebooted Windows altogether; however You recognize the current version of |
@nbehrnd I just realized that https://github.com/novoid/filetags/blob/master/filetags/__init__.py is still importing In my case, I now do have |
@novoid My PR about I would like to note both modules .zip/.tar.gz carry a file import pyreadline.console as console # old form
import pyreadline3.console as console # new form in the inspection by
is not too much surprising. I still have to check why both |
So I guess it might be the case that a |
@derpieler Is there any combination of letters, characters, A constraint visit of the program's user forum yields this exchange by [2021-12-01 Wed] suggesting the relay of the commands may include parameter flags (like Your second question around Twitter taps into the territory of Memacs. Though unable to name which one, one of the youtube videos preserving Karl's talks at Grazer Linuxtage (GLT) around orgmode/PIM described the approach in lines of «not only that I remember when I visited the internet, and my notes, there equally is a local copy of the site visited». (This is a bit like a personal instance of the waybackmachine on archive.org.) If I remember correctly, tagging then was demonstrated as an approach to retrieve the information from a running instance of org-mode, i.e. thanks to org-mode tags in the .org file. However no, I do not have user experience with Memacs' Twitter module. |
Hi,
I get the above error message when I want to use the filetag script from the Sentto menu. Can I solve this myself?
Many greetings
Christian
The text was updated successfully, but these errors were encountered: