question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RaspberryPi setup breaks

See original GitHub issue

Hello,

trying to install on RapsberryPi for some time now, but I get the following error. Any ideas?

/home/pi/.local/lib/python3.7/site-packages/promnesia/common.py:491: PytzUsageWarning: The zone attribute is specific to pytz's interface; please migrate to a new time zone provider. For more details on how to do so, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html return tzlocal.get_localzone().zone

and

[ERROR 2022-02-23 22:59:47 promnesia __main__.py:82] No visits were indexed, something is probably wrong! NoneType: None

Maybe related: #262 #253

Thank you

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
9s-l-s9commented, Feb 25, 2022

“ah! What is your format, out of curiosity? Maybe it’d be easy to support it!”

It was just markdown with a “normal” url in it that didn’t work.

“But yeah Promnesia and Worldbrain are quite different, what search behaviour did you expect?”

In Worldbrain, if you search for something on a search enigine (e.g. google) it takes the search string and also searches for results from your ressources in Worldbrain.

I want to do something similar but search in my personal notes (markdown format), when I search for something in Google. This way, I can see, if I have already taken a note about the topic I am searching for or I could identify relationsship between previous notes and what I am currently searching for.

1reaction
9s-l-s9commented, Feb 23, 2022

Okay.

pip3 show tzlocal

Name: tzlocal Version: 4.1 Summary: tzinfo object for the local timezone Home-page: UNKNOWN Author: Lennart Regebro Author-email: regebro@gmail.com License: MIT Location: /home/pi/.local/lib/python3.7/site-packages Requires: pytz-deprecation-shim, backports.zoneinfo Required-by: promnesia

~/.config/promnesia/config.py

` from promnesia.common import Source from promnesia.sources import auto

‘’’ List of sources to use.

You can specify your own, add more sources, etc. See https://github.com/karlicoss/promnesia#setup for more information ‘’’ SOURCES = [ Source( auto.index, # just some arbitrary directory with plaintext files ‘/home/pi/notes/’, ) ]`

I changed the “source” path, because I thought it might be a problem with the example path.

Troubleshoot guide

I tried the guide before opening this issue to solve the problem on my own, but to no avail.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Break - Raspberry Pi Projects
On the Raspberry Pi Command Line. Break. CTRL + Break. Via SSH Terminal Programs. CTRL + C. USEFUL? We benefit hugely from resources...
Read more >
How to fix broken packages on Raspberry Pi OS - Linux Hint
How to use apt command to fix broken packages on Raspberry Pi OS. The apt command is a terminal based package management tool...
Read more >
Problem installing package from testing repository (unmet ...
I am on a RPi4, Raspberry Pi OS (buster). I'm trying to install one single package (lilypond) from the testing repository.
Read more >
apt --fix-broken install not working on raspberry pi
Run apt clean to delete the package cache, then apt --fix-broken install again so it will download fresh copies.
Read more >
Is there any risk of breaking Pi-Hole when updating Raspberry ...
Rebuilding the Pi is not a big deal in case of meltdown, but having teleporter export will help with your custom settings coming...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found