How can I get contact with author @phil-opp?

Writing an OS in Rust is a wonderful book, as a reminder I translated the book two years ago into Chinese. Recently one editor contacted me to see if the translated work could get published, and of course it requires original authors to agree in e-mail.
How can I contact original authors? Are there any e-mail addresses? @bjorn3 @phil-opp
Please e-mail me at<EMAIL_ADDRESS>. Thanks!

The github profile of @phil-opp lists their email. @phil-opp is the sole author and I think the sole copyright holder. At least most of the changes by others are too small to be copyrightable I think, but IANAL.

Hi @luojia65, sorry for not replying to your email yet. I'm still thinking about your proposal. To be honest, I'm not sure how I feel about the idea of turning this hobby project that I've been working on for ~6 years into a for-profit thing. But let's discuss this over email, I'll try to reply to you soon.

What is the progress on this? if conversations have been taken privately to mail we can close this issue?

Yeah, I think we can close this


Change the way we figure out container to read the artifacts from

Change Overview
While running the kanister function, to read the artifact that the phase has produced we get the logs of the kanister function pod (let's say KubeTask). If there is just one container in the KubeTask pod in that case things would work but if there are multiple contianers in the pod (let's say service mesh injected one), in that case the logic that we have to figure out the container name was not efficient. If was relying on the first container of the pod.
This PR changes that logic to read the container name from podOptions or fallback to the default container name. This should work in all the cases, if container name is not specified while creating podOptions we will use default container name everywhere otherwise we will use the container name that is specified in the podOptions.
Pull request type
Please check the type of change your PR introduces:

[ ] :construction: Work in Progress
[ ] :rainbow: Refactoring (no functional changes, no api changes)
[x] :hamster: Trivial/Minor
[x] :bug: Bugfix
[ ] :sunflower: Feature
[ ] :world_map: Documentation
[ ] :robot: Test

Issues

fixes #issue-number

Test Plan

[x] :muscle: Manual
[x] :zap: Unit test
[ ] :green_heart: E2E

@kale-amruta FYI, I have added some code related to repo server as well.

@pavannd1 the main change is in pod_controller.go that needs to be reviewed. Rest of the change is just because of that.

/ok-to-test


Missing images on the DAI

another one

the higher level headings in these cases shows a ?

This is fixed and tested in both dev and dai


Add detailed file trasfer speed

What's the Problem?
No response
Solution/Idea
Add a detailed description or even an option for a new window showing the copy/move progress with speeds and visuals like the original explorer.
Alternatives

Add speed in "Ongoing Tasks"
Add new window option to show detailed progress w/ visual, speed, est.

Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
No response
Windows Version
No response
Comments
No response

This is been talked about in #4811


ExtensionContext.globalState: Can't unset a Memento stored value

VSCode Version: 1.4.0
OS Version: OSX 10.10.5

Steps to Reproduce:

Set a value in the ExtensionContext globalState:

context.globalState.update('testkey', 'somevalue')
        .then(function() {
            console.log(context.globalState.get('testkey');
        });

There are no methods to unset or clear that value from your global state as far as I can tell. The Memento object only has 2 methods: get and update. I tried updating the value with values of null and undefined, but the testkey persisted and did not go away. There doesn't seem to be a way of removing it or clearing it completely from the globalState.

     context.globalState.update('testkey', undefined).then(function () {
            console.log(context.globalState.get('testkey'));
        });

does print undefined for me which means the key has no value. @Jakobud what is your expected behaviour?

You are correct and I was mistaken. For some reason I thought I was still seeing the object show up under context.globalState._value when I examined the object. Thank you,

Thanks for getting back so quickly


#128 created MonixQueueTest

Codecov Report
Base: 66.78% // Head: 66.85% // Increases project coverage by +0.06% :tada:

Coverage data is based on head (1ba45e4) compared to base (4c548e0).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #132      +/-   ##
==========================================
+ Coverage   66.78%   66.85%   +0.06%
==========================================
  Files          71       71
  Lines        1442     1442
  Branches       31       31
==========================================
+ Hits          963      964       +1
+ Misses        479      478       -1

Impacted Files
Coverage Δ

...thub/pandafolks/panda/utils/queue/MonixQueue.scala
100.00% <100.00%> (+25.00%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Implement JWT Auth

you want also to add cross cors on your controllers or add a java CrosCors configuration with the @configuration annotation to handle it


shane/port-toggle

Please review the release process for BrowserServicesKit here.
Required:
Task/Issue URL:
iOS PR:
macOS PR:
What kind of version bump will this require?: Major/Minor/Patch
Optional:
Tech Design URL:
CC:
Description:

Steps to test this PR:
1.
1.

OS Testing:

[ ] iOS 14
[ ] iOS 15
[ ] iOS 16
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12

Internal references:
Software Engineering Expectations
Technical Design Template

Current dependencies on/for this PR:

main

PR #549   👈

This stack of pull requests is managed by Graphite.


install wim not found - install.wim wrong name in iso.

Describe the bug
After creating the iso, in this case win10, the resulting iso has an install.wim named "install2.wim" which results in the install to fail since it is looking for "install.wim"

not sure what step u take
tested both ways
everything look good
With custom user name  without password

without (empty)

Have the same issue any idea why? I am a regular user with no further knowledge. I just did what I saw on the YouTube video step by step.

For whatever reason when i was following the video from youtube, and leaving the default ScratchDir. My ISO install.wim was always renamed. But when I mark check the option for having ScratchDir the same as ISO directory. It worked.


[DOC] Last-ditch uninstall cleanup instructions are out of date.

What's the document you plan to update? Why? Please describe
https://longhorn.io/docs/1.7.0/deploy/uninstall/#problems-with-crds
Additional context
The namespace scope and finalizer longhorn.rancher.io in the script are out of date:
# Delete CRD finalizers, instances and definitions
for crd in $(kubectl get crd -o jsonpath={.items[*].metadata.name} | tr ' ' '\n' | grep longhorn.rancher.io); do
  kubectl -n ${NAMESPACE} get $crd -o yaml | sed "s/\- longhorn.rancher.io//g" | kubectl apply -f -
  kubectl -n ${NAMESPACE} delete $crd --all
  kubectl delete crd/$crd
done

Further, some CRDs will not respond or deletion will hang.

Added a further tip: https://github.com/longhorn/website/pull/964

Closing, as this is just doc update only.


publish<EMAIL_ADDRESS>

Requested by: @billyvg
Merge target: sentry-v2
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Leave the #retract comment under this issue to retract the release (original issuer only).
Targets

[x] github
[ ] npm

Targets marked with a checkbox have already been executed.  Administrators can manually tick a checkbox to force craft to skip it.

Only a portion of the packages in the mono repo were published due to them being new packages and the default publish access is not public for scoped packages. I've published these new packages as public so the next release should work.
Closing this out as we'll need a bumped version for the next release.
#retract


feat(node): patch outgoing http requests to capture the zone

@mhevery, this should be good to go.

LGTM


ARROW-8361: [C++] Add Result APIs to Buffer methods and functions

AppVeyor build: https://ci.appveyor.com/project/pitrou/arrow/builds/32018881

Hmm, the Windows R failure may be the heisencrash reported in https://issues.apache.org/jira/browse/ARROW-8354

Agreed, merging


Avoid running CI and linter twice in PRs

Fixes #182

Codecov Report

Merging #185 (5ab2f33) into main (2d10bf6) will decrease coverage by 0.02%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #185      +/-   ##
==========================================
- Coverage   77.53%   77.52%   -0.02%
==========================================
  Files          12       12
  Lines        1794     1793       -1
==========================================
- Hits         1391     1390       -1
  Misses        403      403

see 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add initial sync

Fixes #47
I tested on Netflix and HBO Max and it seems to work well.

I actually noticed a bug with the logic to retry requests after 429 status, will fix and add commits here.

I actually noticed a bug with the logic to retry requests after 429 status, will fix and add commits here.

Let me know when it is ready for review....


Fix logging policies when using custom prefixes

When a user sets a non-default prefix for config/cloudtrail they'll get AccessDenied logs from the service.

@willfarrell Thanks, looks good to me :+1:


Increase exporting interval and fix warnings.

Coverage increased (+0.01%) to 81.377% when pulling e6215220e36c960d4709d525803515fbab94ea6a on bogdandrutu:worker into 65398bb0c56beccc0b3058b5b1137aabcbe76cd5 on census-instrumentation:master.

Codecov Report

Merging #905 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #905      +/-   ##
============================================
- Coverage      79.2%   79.19%   -0.01%
- Complexity      948      949       +1
============================================
  Files           159      159
  Lines          4266     4269       +3
  Branches        402      402
============================================
+ Hits           3379     3381       +2
  Misses          797      797
- Partials         90       91       +1

Impacted Files
Coverage Δ
Complexity Δ

...sus/implcore/trace/export/ExportComponentImpl.java
100% <100%> (ø)
9 <1> (+1)
:arrow_up:

...census/implcore/trace/export/SpanExporterImpl.java
96.77% <100%> (-1.56%)
7 <1> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 65398bb...e621522. Read the comment docs.

@HailongWen probably we can do that in the future.

yeah lets do this as zipkin folks are used to 1s delay max, and I've heard folks like dynatrace are 200ms or something. I guess this setting is an attempt to not overrun api quota at stackdriver?


"IOError: [Errno Input overflowed] -9981"

EDIT: Instead of flodding the Issue section with pointless issues that may be able to fix later I stumbled upon an issue I can't seem to fix.
"OSError: Command execution failed"
I don't know how to fix this at this point and time and I could not find any fix by googling it... please help ^^ thanks
<B+ model>

Unfortunately, you need to post more output. From what I can see, I assume that you forgot to install something, so that Jasper tries to execute a file that does not exist.

Yhea I have a few more problems now I will post them in a few minutes

Okay here is try 1 I guess
pi@raspberrypi ~ $ jasper/jasper.py

        JASPER - THE TALKING COMPUTER           *

(c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *

WARNING:root:tts_engine not specified in profile, defaulting to 'espeak-tts'
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
INFO:client.stt:Transcribed: ['JASPER']
INFO:client.stt:Transcribed: ['NEWS']
INFO:client.stt:Transcribed: ['YES WEATHER']
Traceback (most recent call last):
File "jasper/jasper.py", line 143, in
app.run()
File "jasper/jasper.py", line 113, in run
conversation.handleForever()
File "/home/pi/jasper/client/conversation.py", line 31, in handleForever
threshold, transcribed = self.mic.passiveListen(self.persona)
File "/home/pi/jasper/client/mic.py", line 121, in passiveListen
data = stream.read(CHUNK)
File "/usr/lib/pymodules/python2.7/pyaudio.py", line 564, in read
return pa.read_stream(self._stream, num_frames)
IOError: [Errno Input overflowed] -9981
^C^Z
[1]+  Stopped                 jasper/jasper.py

So I ussuly get the error Input Overflowed -9981 so try 2 here I did a bit of talking and he crashed a bit afterwards
jasper/jasper.py

        JASPER - THE TALKING COMPUTER           *

(c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *

WARNING:root:tts_engine not specified in profile, defaulting to 'espeak-tts'
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
INFO:client.stt:Transcribed: ['WORK']
INFO:client.stt:Transcribed: ['NOW BUT']
INFO:client.stt:Transcribed: ['JASPER']
INFO:client.stt:Transcribed: ['NO']
INFO:client.stt:Transcribed: ['NOW WORK']
INFO:client.stt:Transcribed: ['JASPER']
INFO:client.stt:Transcribed: ['NO']
INFO:client.stt:Transcribed: ['JASPER']
INFO:client.stt:Transcribed: ['']
INFO:client.stt:Transcribed: ['BUT']
INFO:client.stt:Transcribed: ['JASPER']
INFO:client.stt:Transcribed: ['WEATHER']
WARNING:apscheduler.scheduler:Execution of job "Notifier.gather (trigger: interval[0:00:30], next run at: 2015-02-05 20:01:12 UTC)" skipped: maximum number of running instances reached (1)
INFO:client.stt:Transcribed: ['']
INFO:client.stt:Transcribed: ['NOW WORK']
INFO:client.stt:Transcribed: ['JASPER']
INFO:client.stt:Transcribed: ['']
Traceback (most recent call last):
File "jasper/jasper.py", line 143, in
app.run()
File "jasper/jasper.py", line 113, in run
conversation.handleForever()
File "/home/pi/jasper/client/conversation.py", line 31, in handleForever
threshold, transcribed = self.mic.passiveListen(self.persona)
File "/home/pi/jasper/client/mic.py", line 141, in passiveListen
data = stream.read(CHUNK)
File "/usr/lib/pymodules/python2.7/pyaudio.py", line 564, in read
return pa.read_stream(self._stream, num_frames)
IOError: [Errno Input overflowed] -9981
here is my profile.yml
carrier: [not sayin']
first_name: Zelaf
gmail_address<EMAIL_ADDRESS>gmail_password: [dis chall be secret ;)]
last_name: [dis 2]
phone_number: [dis 3]
prefers_email: true
stt_engine: sphinx
timezone: Europe/Stockholm

Here is a debug just talking around in jasper in debug if you want one where i use spotify as that is a pretty big thing for me just tell me :)
pi@raspberrypi ~ $ jasper/jasper.py --debug

        JASPER - THE TALKING COMPUTER           *

(c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *

DEBUG:client.diagnose:Checking network connection to server 'www.google.com'...
DEBUG:client.diagnose:Network connection working
DEBUG:main:Trying to read config file: '/home/pi/.jasper/profile.yml'
DEBUG:client.diagnose:Checking python import 'pocketsphinx'...
DEBUG:client.diagnose:Python module 'pocketsphinx' found: '/usr/local/lib/python2.7/dist-packages/pocketsphinx.so'
WARNING:root:tts_engine not specified in profile, defaulting to 'espeak-tts'
DEBUG:client.diagnose:Checking executable 'aplay'...
DEBUG:client.diagnose:Executable 'aplay' found: '/usr/bin/aplay'
DEBUG:client.diagnose:Checking executable 'espeak'...
 ALSA/Jack error messages that pop up during this process are normal and can usually be safely ignored.
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
INFO:client.mic:Initialization of PyAudio completed.
DEBUG:client.tts:Saying 'How can I be of service, Zelaf?' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmpAxxDbY.wav 'How can I be of service, Zelaf?'
DEBUG:client.tts:Executing aplay -D hw:1,0 /tmp/tmpAxxDbY.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmpAxxDbY.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
'
DEBUG:client.brain:Looking for modules in: '/home/pi/jasper/client/modules'
DEBUG:client.brain:Found module 'Birthday' with words: ['BIRTHDAY']
DEBUG:client.brain:Found module 'Gmail' with words: ['EMAIL', 'INBOX']
DEBUG:client.brain:Found module 'HN' with words: ['HACKER', 'NEWS', 'YES', 'NO', 'FIRST', 'SECOND', 'THIRD']
DEBUG:client.brain:Found module 'Joke' with words: ['JOKE', 'KNOCK KNOCK']
DEBUG:client.brain:Found module 'Life' with words: ['MEANING', 'OF', 'LIFE']
DEBUG:client.brain:Found module 'MPDControl' with words: ['MUSIC', 'SPOTIFY']
DEBUG:client.brain:Found module 'News' with words: ['NEWS', 'YES', 'NO', 'FIRST', 'SECOND', 'THIRD']
DEBUG:client.brain:Found module 'Notifications' with words: ['FACEBOOK', 'NOTIFICATION']
DEBUG:client.brain:Found module 'Time' with words: ['TIME']
DEBUG:client.brain:Found module 'Unclear' with words: []
DEBUG:client.brain:Found module 'Weather' with words: ['WEATHER', 'TODAY', 'TOMORROW']
INFO:apscheduler.scheduler:Scheduler started
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
INFO:apscheduler.scheduler:Added job "Notifier.gather" to job store "default"
INFO:client.conversation:Starting to handle conversation with keyword 'JASPER'.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:apscheduler.scheduler:Next wakeup is due at 2015-02-05 20:06:05.176149+00:00 (in 29.930923 seconds)
INFO:client.stt:Transcribed: ['JASPER']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Keyword 'JASPER' has been said!
DEBUG:client.conversation:Started to listen actively with threshold: 32.4
DEBUG:client.tts:Executing aplay -D hw:1,0 /home/pi/jasper/static/audio/beep_hi.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/home/pi/jasper/static/audio/beep_hi.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
'
DEBUG:client.tts:Executing aplay -D hw:1,0 /home/pi/jasper/static/audio/beep_lo.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/home/pi/jasper/static/audio/beep_lo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
'
INFO:client.stt:Transcribed: ['NO']
DEBUG:client.conversation:Stopped to listen actively with threshold: 32.4
DEBUG:client.brain:'NO' is a valid phrase for module 'Unclear'
DEBUG:client.tts:Saying 'Say that again?' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmpLi3hyP.wav 'Say that again?'
DEBUG:client.tts:Executing aplay -D hw:1,0 /tmp/tmpLi3hyP.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmpLi3hyP.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
'
DEBUG:client.brain:Handling of phrase 'NO' by module 'Unclear' completed
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['FIRST']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['JASPER']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Keyword 'JASPER' has been said!
DEBUG:client.conversation:Started to listen actively with threshold: 32.4
DEBUG:client.tts:Executing aplay -D hw:1,0 /home/pi/jasper/static/audio/beep_hi.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/home/pi/jasper/static/audio/beep_hi.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
'
DEBUG:client.tts:Executing aplay -D hw:1,0 /home/pi/jasper/static/audio/beep_lo.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/home/pi/jasper/static/audio/beep_lo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
'
INFO:client.stt:Transcribed: ['HACKER NO']
DEBUG:client.conversation:Stopped to listen actively with threshold: 32.4
DEBUG:client.brain:'HACKER NO' is a valid phrase for module 'HN'
DEBUG:client.tts:Saying 'Pulling up some stories.' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmpcIEXca.wav 'Pulling up some stories.'
DEBUG:client.tts:Executing aplay -D hw:1,0 /tmp/tmpcIEXca.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmpcIEXca.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
'
DEBUG:client.tts:Saying 'Here are some front-page articles. 1) Metaprogramming Elixir... 2) New paper claims that evolution has stopped in a bacterial species. Is it true?... 3) WikiGalaxy: Explore Wikipedia in 3D' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmp84tUMQ.wav 'Here are some front-page articles. 1) Metaprogramming Elixir... 2) New paper claims that evolution has stopped in a bacterial species. Is it true?... 3) WikiGalaxy: Explore Wikipedia in 3D'
DEBUG:client.tts:Executing aplay -D hw:1,0 /tmp/tmp84tUMQ.wav
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:apscheduler.scheduler:Next wakeup is due at 2015-02-05 20:06:35.176149+00:00 (in 29.989393 seconds)
INFO:apscheduler.executors.default:Running job "Notifier.gather (trigger: interval[0:00:30], next run at: 2015-02-05 20:06:35 UTC)" (scheduled at 2015-02-05 20:06:05.176149+00:00)
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmp84tUMQ.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
'
DEBUG:client.brain:Handling of phrase 'HACKER NO' by module 'HN' completed
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
No disturbance detected
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
DEBUG:apscheduler.scheduler:Looking for jobs to run
WARNING:apscheduler.scheduler:Execution of job "Notifier.gather (trigger: interval[0:00:30], next run at: 2015-02-05 20:06:35 UTC)" skipped: maximum number of running instances reached (1)
DEBUG:apscheduler.scheduler:Next wakeup is due at 2015-02-05 20:07:05.176149+00:00 (in 29.983298 seconds)
INFO:client.stt:Transcribed: ['JASPER']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Keyword 'JASPER' has been said!
DEBUG:client.conversation:Started to listen actively with threshold: 118.8
DEBUG:client.tts:Executing aplay -D hw:1,0 /home/pi/jasper/static/audio/beep_hi.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/home/pi/jasper/static/audio/beep_hi.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
'
DEBUG:client.tts:Executing aplay -D hw:1,0 /home/pi/jasper/static/audio/beep_lo.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/home/pi/jasper/static/audio/beep_lo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
'
INFO:client.stt:Transcribed: ['']
DEBUG:client.conversation:Stopped to listen actively with threshold: 118.8
DEBUG:client.brain:'' is a valid phrase for module 'Unclear'
DEBUG:client.tts:Saying 'I'm sorry, could you repeat that?' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmp1DaSDY.wav 'I'"'"'m sorry, could you repeat that?'
DEBUG:client.tts:Executing aplay -D hw:1,0 /tmp/tmp1DaSDY.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmp1DaSDY.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
'
DEBUG:client.brain:Handling of phrase '' by module 'Unclear' completed
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['JASPER']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Keyword 'JASPER' has been said!
DEBUG:client.conversation:Started to listen actively with threshold: 208.8
DEBUG:client.tts:Executing aplay -D hw:1,0 /home/pi/jasper/static/audio/beep_hi.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/home/pi/jasper/static/audio/beep_hi.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
'
DEBUG:client.tts:Executing aplay -D hw:1,0 /home/pi/jasper/static/audio/beep_lo.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/home/pi/jasper/static/audio/beep_lo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
'
INFO:client.stt:Transcribed: ['EMAIL']
DEBUG:client.conversation:Stopped to listen actively with threshold: 208.8
DEBUG:client.brain:'EMAIL' is a valid phrase for module 'Gmail'
DEBUG:client.tts:Saying 'You have 393 unread emails.' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmpm6lNvx.wav 'You have 393 unread emails.'
DEBUG:client.tts:Executing aplay -D hw:1,0 /tmp/tmpm6lNvx.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmpm6lNvx.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
'
DEBUG:client.brain:Handling of phrase 'EMAIL' by module 'Gmail' completed
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['NOW WORK']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
Traceback (most recent call last):
File "jasper/jasper.py", line 143, in
app.run()
File "jasper/jasper.py", line 113, in run
conversation.handleForever()
File "/home/pi/jasper/client/conversation.py", line 31, in handleForever
threshold, transcribed = self.mic.passiveListen(self.persona)
File "/home/pi/jasper/client/mic.py", line 163, in passiveListen
data = stream.read(CHUNK)
File "/usr/lib/pymodules/python2.7/pyaudio.py", line 564, in read
return pa.read_stream(self._stream, num_frames)
IOError: [Errno Input overflowed] -9981
INFO:apscheduler.scheduler:Scheduler has been shut down
^Z
[2]+  Stopped                 jasper/jasper.py --debug
Hope you can fix it!

Here is one of spotify just in case
pi@raspberrypi ~ $ jasper/jasper.py

        JASPER - THE TALKING COMPUTER           *

(c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *

WARNING:root:tts_engine not specified in profile, defaulting to 'espeak-tts'
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
INFO:client.stt:Transcribed: ['IS']
INFO:client.stt:Transcribed: ['JASPER']
INFO:client.stt:Transcribed: ['SPOTIFY']
WARNING:apscheduler.scheduler:Execution of job "Notifier.gather (trigger: interval[0:00:30], next run at: 2015-02-05 20:22:30 UTC)" skipped: maximum number of running instances reached (1)
ERROR:client.brain:Failed to execute module
Traceback (most recent call last):
File "/home/pi/jasper/client/brain.py", line 73, in query
module.handle(text, self.mic, self.profile)
File "/home/pi/jasper/client/modules/MPDControl.py", line 47, in handle
music_mode.handleForever()
File "/home/pi/jasper/client/modules/MPDControl.py", line 164, in handleForever
threshold, transcribed = self.mic.passiveListen(self.persona)
File "/home/pi/jasper/client/mic.py", line 121, in passiveListen
data = stream.read(CHUNK)
File "/usr/lib/pymodules/python2.7/pyaudio.py", line 564, in read
return pa.read_stream(self._stream, num_frames)
IOError: [Errno Input overflowed] -9981
Exception RuntimeError: 'Set changed size during iteration' in <bound method Mic.del of <client.mic.Mic instance at 0x24b9a30>> ignored
Traceback (most recent call last):
File "jasper/jasper.py", line 143, in
app.run()
File "jasper/jasper.py", line 113, in run
conversation.handleForever()
File "/home/pi/jasper/client/conversation.py", line 31, in handleForever
threshold, transcribed = self.mic.passiveListen(self.persona)
File "/home/pi/jasper/client/mic.py", line 121, in passiveListen
data = stream.read(CHUNK)
File "/usr/lib/pymodules/python2.7/pyaudio.py", line 564, in read
return pa.read_stream(self._stream, num_frames)
IOError: [Errno Input overflowed] -9981
^Z
[3]+  Stopped                 jasper/jasper.py
Some diffrent errors with MPD if i dont see wrong
have i compiled this wrong or done some kind of error?
it took me years to get it working O.o
also side question any sneak peak on a newer version anywhere?

Here is debug when trying to use spotify
pi@raspberrypi ~ $ jasper/jasper.py --debug

        JASPER - THE TALKING COMPUTER           *

(c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *

DEBUG:client.diagnose:Checking network connection to server 'www.google.com'...
DEBUG:client.diagnose:Network connection working
DEBUG:main:Trying to read config file: '/home/pi/.jasper/profile.yml'
DEBUG:client.diagnose:Checking python import 'pocketsphinx'...
DEBUG:client.diagnose:Python module 'pocketsphinx' found: '/usr/local/lib/python2.7/dist-packages/pocketsphinx.so'
WARNING:root:tts_engine not specified in profile, defaulting to 'espeak-tts'
DEBUG:client.diagnose:Checking executable 'aplay'...
DEBUG:client.diagnose:Executable 'aplay' found: '/usr/bin/aplay'
DEBUG:client.diagnose:Checking executable 'espeak'...
 ALSA/Jack error messages that pop up during this process are normal and can usually be safely ignored.
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
INFO:client.mic:Initialization of PyAudio completed.
DEBUG:client.tts:Saying 'How can I be of service, Zelaf?' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmpaVDkmi.wav 'How can I be of service, Zelaf?'
DEBUG:client.tts:Executing aplay -D hw:1,0 /tmp/tmpaVDkmi.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmpaVDkmi.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
'
DEBUG:client.brain:Looking for modules in: '/home/pi/jasper/client/modules'
DEBUG:client.brain:Found module 'Birthday' with words: ['BIRTHDAY']
DEBUG:client.brain:Found module 'Gmail' with words: ['EMAIL', 'INBOX']
DEBUG:client.brain:Found module 'HN' with words: ['HACKER', 'NEWS', 'YES', 'NO', 'FIRST', 'SECOND', 'THIRD']
DEBUG:client.brain:Found module 'Joke' with words: ['JOKE', 'KNOCK KNOCK']
DEBUG:client.brain:Found module 'Life' with words: ['MEANING', 'OF', 'LIFE']
DEBUG:client.brain:Found module 'MPDControl' with words: ['MUSIC', 'SPOTIFY']
DEBUG:client.brain:Found module 'News' with words: ['NEWS', 'YES', 'NO', 'FIRST', 'SECOND', 'THIRD']
DEBUG:client.brain:Found module 'Notifications' with words: ['FACEBOOK', 'NOTIFICATION']
DEBUG:client.brain:Found module 'Time' with words: ['TIME']
DEBUG:client.brain:Found module 'Unclear' with words: []
DEBUG:client.brain:Found module 'Weather' with words: ['WEATHER', 'TODAY', 'TOMORROW']
INFO:apscheduler.scheduler:Scheduler started
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
INFO:apscheduler.scheduler:Added job "Notifier.gather" to job store "default"
INFO:client.conversation:Starting to handle conversation with keyword 'JASPER'.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:apscheduler.scheduler:Next wakeup is due at 2015-02-05 20:34:59.391891+00:00 (in 29.922813 seconds)
INFO:client.stt:Transcribed: ['WORK']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['IS WORK']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['IS WORK']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['JASPER']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Keyword 'JASPER' has been said!
DEBUG:client.conversation:Started to listen actively with threshold: 34.2
DEBUG:client.tts:Executing aplay -D hw:1,0 /home/pi/jasper/static/audio/beep_hi.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/home/pi/jasper/static/audio/beep_hi.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
'
DEBUG:client.tts:Executing aplay -D hw:1,0 /home/pi/jasper/static/audio/beep_lo.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/home/pi/jasper/static/audio/beep_lo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
'
INFO:client.stt:Transcribed: ['']
DEBUG:client.conversation:Stopped to listen actively with threshold: 34.2
DEBUG:client.brain:'' is a valid phrase for module 'Unclear'
DEBUG:client.tts:Saying 'I'm sorry, could you repeat that?' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmp2wtd66.wav 'I'"'"'m sorry, could you repeat that?'
DEBUG:client.tts:Executing aplay -D hw:1,0 /tmp/tmp2wtd66.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmp2wtd66.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
'
DEBUG:client.brain:Handling of phrase '' by module 'Unclear' completed
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['NOW TIME']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['JASPER']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Keyword 'JASPER' has been said!
DEBUG:client.conversation:Started to listen actively with threshold: 39.6
DEBUG:client.tts:Executing aplay -D hw:1,0 /home/pi/jasper/static/audio/beep_hi.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/home/pi/jasper/static/audio/beep_hi.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
'
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:apscheduler.scheduler:Next wakeup is due at 2015-02-05 20:35:29.391891+00:00 (in 29.991391 seconds)
INFO:apscheduler.executors.default:Running job "Notifier.gather (trigger: interval[0:00:30], next run at: 2015-02-05 20:35:29 UTC)" (scheduled at 2015-02-05 20:34:59.391891+00:00)
DEBUG:client.tts:Executing aplay -D hw:1,0 /home/pi/jasper/static/audio/beep_lo.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/home/pi/jasper/static/audio/beep_lo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
'
INFO:client.stt:Transcribed: ['SPOTIFY']
DEBUG:client.conversation:Stopped to listen actively with threshold: 39.6
DEBUG:client.brain:'SPOTIFY' is a valid phrase for module 'MPDControl'
DEBUG:MPDControl:Preparing to start music module
DEBUG:client.tts:Saying 'Please give me a moment, I'm loading your Spotify playlists.' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmpLY8SMN.wav 'Please give me a moment, I'"'"'m loading your Spotify playlists.'
DEBUG:client.tts:Executing aplay -D hw:1,0 /tmp/tmpLY8SMN.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmpLY8SMN.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
'
DEBUG:MPDControl:Starting music mode
DEBUG:client.vocabcompiler:compiled_revision is 'e2bffaf9888b90d637238639d90b803b0ee8c960'
INFO:client.mic:Initializing PyAudio. ALSA/Jack error messages that pop up during this process are normal and can usually be safely ignored.
INFO:client.mic:Initialization of PyAudio completed.
DEBUG:client.tts:Saying 'Playing Wolves by Dreamers' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmpNYZR7A.wav 'Playing Wolves by Dreamers'
DEBUG:client.tts:Executing aplay -D hw:1,0 /tmp/tmpNYZR7A.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmpNYZR7A.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
'
ERROR:client.brain:Failed to execute module
Traceback (most recent call last):
File "/home/pi/jasper/client/brain.py", line 73, in query
module.handle(text, self.mic, self.profile)
File "/home/pi/jasper/client/modules/MPDControl.py", line 47, in handle
music_mode.handleForever()
File "/home/pi/jasper/client/modules/MPDControl.py", line 164, in handleForever
threshold, transcribed = self.mic.passiveListen(self.persona)
File "/home/pi/jasper/client/mic.py", line 121, in passiveListen
data = stream.read(CHUNK)
File "/usr/lib/pymodules/python2.7/pyaudio.py", line 564, in read
return pa.read_stream(self._stream, num_frames)
IOError: [Errno Input overflowed] -9981
DEBUG:client.tts:Saying 'I'm sorry. I had some trouble with that operation. Please try again later.' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmpunNu5J.wav 'I'"'"'m sorry. I had some trouble with that operation. Please try again later.'
DEBUG:client.tts:Executing aplay -D hw:1,0 /tmp/tmpunNu5J.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmpunNu5J.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
'
Exception RuntimeError: 'Set changed size during iteration' in <bound method Mic.del of <client.mic.Mic instance at 0x205f8f0>> ignored
DEBUG:client.conversation:Started listening for keyword 'JASPER'
DEBUG:apscheduler.scheduler:Looking for jobs to run
WARNING:apscheduler.scheduler:Execution of job "Notifier.gather (trigger: interval[0:00:30], next run at: 2015-02-05 20:35:29 UTC)" skipped: maximum number of running instances reached (1)
DEBUG:apscheduler.scheduler:Next wakeup is due at 2015-02-05 20:35:59.391891+00:00 (in 29.978663 seconds)
INFO:client.stt:Transcribed: ['']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
Traceback (most recent call last):
File "jasper/jasper.py", line 143, in
app.run()
File "jasper/jasper.py", line 113, in run
conversation.handleForever()
File "/home/pi/jasper/client/conversation.py", line 31, in handleForever
threshold, transcribed = self.mic.passiveListen(self.persona)
File "/home/pi/jasper/client/mic.py", line 121, in passiveListen
data = stream.read(CHUNK)
File "/usr/lib/pymodules/python2.7/pyaudio.py", line 564, in read
return pa.read_stream(self._stream, num_frames)
IOError: [Errno Input overflowed] -9981
INFO:apscheduler.scheduler:Scheduler has been shut down
^Z
[2]+  Stopped                 jasper/jasper.py --debug
Hope you can help me fix this with this info
Should also mention im using B+

Any update on this?

Please comment out your gmail_address in you profile.yml and retest. If that works fine, this is the same issue as #240, which seems to be caused by some bug in the GmailNotifier.

Yhea i did try that but it still happends

I had the same problem until I checked my email turns out I had 10 unread emails after reading them it works fine now.

After trying to get jasper work on debian wheezy for about a day now having exactly this issue I found out it ain't a jasper issue at all. Pyaudio seems to be incapable of handling input correct if there's any delay in processing data. A phenom II at 3ghz ain't even capable of SAVING 44100 32bit 2 channel data using pyaudio. It usually bounces out after a couple of seconds.
Why not use lower sample rates? Well my audio card doesn't support sample rates below 44100. I already updated to latest portaudio and pyaudio but this didn't help at all.
Quite crazy this works on pi but not on a (couple of year) pc capable of decoding hd in realtime ;-)
----- code I used for testing pyaudio ----
import pyaudio, wave, sys
CHUNK = 1024*8
FORMAT = pyaudio.paInt32
CHANNELS = 1
RATE = 44100
RECORD_SECONDS = 10
WAVE_OUTPUT_FILENAME = 'Audio_.wav'
p = pyaudio.PyAudio()
print("default sample rate: ", p.get_device_info_by_index(0)['defaultSampleRate'])
stream = p.open(format=FORMAT,
channels = CHANNELS,
rate = RATE,
input = True,
input_device_index = 0,
frames_per_buffer = CHUNK)
numframes = int(float(RATE) / float(CHUNK) * RECORD_SECONDS)
print("* recording frames", numframes)
frames = []
for i in range(0, numframes):
data = stream.read(CHUNK)
frames.append(data)
print("    read frame:", i)
print("* done recording")
stream.stop_stream()    # "Stop Audio Recording
stream.close()          # "Close Audio Recording
p.terminate()           # "Audio System Close
wf = wave.open(WAVE_OUTPUT_FILENAME, 'wb')
wf.setnchannels(CHANNELS)
wf.setsampwidth(p.get_sample_size(FORMAT))
wf.setframerate(RATE)
wf.writeframes(b''.join(frames))
wf.close()

ERROR:client.brain:Failed to execute module
Traceback (most recent call last):
File "/home/pi/jasper/client/brain.py", line 73, in query
module.handle(text, self.mic, self.profile)
File "/home/pi/jasper/client/modules/News.py", line 117, in handle
handleResponse(mic.activeListen())
File "/home/pi/jasper/client/mic.py", line 199, in activeListen
options = self.activeListenToAllOptions(THRESHOLD, LISTEN, MUSIC)
File "/home/pi/jasper/client/mic.py", line 235, in activeListenToAllOptions
data = stream.read(CHUNK)
File "/usr/lib/pymodules/python2.7/pyaudio.py", line 564, in read
return pa.read_stream(self._stream, num_frames)
IOError: [Errno Input overflowed] -9981
InsecurePlatformWarning
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1670
Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1830
Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2092
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2764
Traceback (most recent call last):
File "./jasper.py", line 147, in
app.run()
File "./jasper.py", line 117, in run
conversation.handleForever()
File "/home/pi/jasper/client/conversation.py", line 31, in handleForever
threshold, transcribed = self.mic.passiveListen(self.persona)
File "/home/pi/jasper/client/mic.py", line 110, in passiveListen
frames_per_buffer=CHUNK)
File "/usr/lib/pymodules/python2.7/pyaudio.py", line 714, in open
stream = Stream(self, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/pyaudio.py", line 396, in init
self._stream = pa.open(**arguments)
IOError: [Errno Device unavailable] -9985
Exception RuntimeError: 'Set changed size during iteration' in <bound method Mic.del of <client.mic.Mic instance at 0x23baa80>> ignored
I have the same problems, I tried different sample rates, but earlier or later I get the same error. Looks like the issue is in accessing alsa at some point.

I messed around sample rate and chunk size until I got it working, but as stated, sooner or later it crashes with error 'Set changed size during iteration'.
As a temporary workaround, on mic.py, I wrapped all:
data = stream.read(CHUNK)
around try/except blocks, so at least it doesn't stop execution.

What I have tried so far:

Commented out google username and password in profile.yml, no luck
Put data = stream.read(CHUNK) within try/except block. No luck. Still see the below problem.

jasper.py --local works fine.
jasper.py crashes with Input overflowed -9981
any pointers here?
pi@raspberrypi ~ $ /home/pi/jasper/jasper.py --debug
*******************************************************
*             JASPER - THE TALKING COMPUTER           *
* (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *
*******************************************************
DEBUG:client.diagnose:Checking network connection to server 'www.google.com'...
DEBUG:client.diagnose:Network connection working
DEBUG:__main__:Trying to read config file: '/home/pi/.jasper/profile.yml'
DEBUG:client.diagnose:Checking python import 'pocketsphinx'...
DEBUG:client.diagnose:Python module 'pocketsphinx' found: '/usr/local/lib/python2.7/dist-packages/pocketsphinx.so'
WARNING:root:tts_engine not specified in profile, defaulting to 'espeak-tts'
DEBUG:client.diagnose:Checking executable 'aplay'...
DEBUG:client.diagnose:Executable 'aplay' found: '/usr/bin/aplay'
DEBUG:client.diagnose:Checking executable 'espeak'...
 ALSA/Jack error messages that pop up during this process are normal and can usually be safely ignored.
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
INFO:client.mic:Initialization of PyAudio completed.
DEBUG:client.tts:Saying 'How can I be of service, Sytyke?' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmpaNW9gi.wav 'How can I be of service, Sytyke?'
DEBUG:client.tts:Executing aplay -D plughw:1,0 /tmp/tmpaNW9gi.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmpaNW9gi.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
'
DEBUG:client.brain:Looking for modules in: '/home/pi/jasper/client/modules'
DEBUG:client.brain:Found module 'Birthday' with words: ['BIRTHDAY']
DEBUG:client.brain:Found module 'Gmail' with words: ['EMAIL', 'INBOX']
DEBUG:client.brain:Found module 'HN' with words: ['HACKER', 'NEWS', 'YES', 'NO', 'FIRST', 'SECOND', 'THIRD']
DEBUG:client.brain:Found module 'Joke' with words: ['JOKE', 'KNOCK KNOCK']
DEBUG:client.brain:Found module 'Life' with words: ['MEANING', 'OF', 'LIFE']
DEBUG:client.brain:Found module 'MPDControl' with words: ['MUSIC', 'SPOTIFY']
DEBUG:client.brain:Found module 'News' with words: ['NEWS', 'YES', 'NO', 'FIRST', 'SECOND', 'THIRD']
DEBUG:client.brain:Found module 'Notifications' with words: ['FACEBOOK', 'NOTIFICATION']
DEBUG:client.brain:Found module 'Time' with words: ['TIME']
DEBUG:client.brain:Found module 'Unclear' with words: []
DEBUG:client.brain:Found module 'Weather' with words: ['WEATHER', 'TODAY', 'TOMORROW']
WARNING:client.notifier:gmail_address or gmail_password not set in profile, Gmail notifier will not be used
INFO:apscheduler.scheduler:Scheduler started
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:apscheduler.scheduler:No jobs; waiting until a job is added
INFO:apscheduler.scheduler:Added job "Notifier.gather" to job store "default"
INFO:client.conversation:Starting to handle conversation with keyword 'JASPER'.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
DEBUG:apscheduler.scheduler:Looking for jobs to run
DEBUG:apscheduler.scheduler:Next wakeup is due at 2016-02-29 09:56:06.294139+00:00 (in 29.953867 seconds)
No disturbance detected
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
INFO:client.stt:Transcribed: ['IT']
DEBUG:client.conversation:Stopped listening for keyword 'JASPER'
INFO:client.conversation:Nothing has been said or transcribed.
DEBUG:client.conversation:Started listening for keyword 'JASPER'
Traceback (most recent call last):
  File "/home/pi/jasper/jasper.py", line 148, in <module>
    app.run()
  File "/home/pi/jasper/jasper.py", line 118, in run
    conversation.handleForever()
  File "/home/pi/jasper/client/conversation.py", line 31, in handleForever
    threshold, transcribed = self.mic.passiveListen(self.persona)
  File "/home/pi/jasper/client/mic.py", line 151, in passiveListen
    data = stream.read(CHUNK)
  File "/usr/lib/pymodules/python2.7/pyaudio.py", line 564, in read
    return pa.read_stream(self._stream, num_frames)
IOError: [Errno Input overflowed] -9981
INFO:apscheduler.scheduler:Scheduler has been shut down
Exception RuntimeError: 'Set changed size during iteration' in <bound method Mic.__del__ of <client.mic.Mic instance at 0x1c16fa8>> ignored

Further, even if the log says:
INFO:client.mic:Initialization of PyAudio completed.
DEBUG:client.tts:Saying 'How can I be of service, Sytyke?' with 'espeak-tts'
DEBUG:client.tts:Executing espeak -v default+m3 -p 40 -s 160 -w /tmp/tmpaNW9gi.wav 'How can I be of service, Sytyke?'
DEBUG:client.tts:Executing aplay -D plughw:1,0 /tmp/tmpaNW9gi.wav
DEBUG:client.tts:Output was: 'Playing WAVE '/tmp/tmpaNW9gi.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono

I do not hear anything on my Logitech USB headset. (Although, aplay -l lists my device and aplay /usr/share/sounds/alsa/Front_Left.wav works fine)

Ok, so finally, I hear jasper for the first time. This is what I had to do more:

Check the output device for sysfefault for aplay -L and arecord -L
Add the respective devices to /etc/asound.conf under RECORD_DEVICE_NAME and PLAYBACK_DEVICE_NAME; content at the end of this comment.
Change the client/tts.py (see diff below) (I have already mentioned that I added stream.read within try/except block

DIFF:
diff --git a/client/tts.py b/client/tts.py
index dd3327f..4b07178 100644
--- a/client/tts.py
+++ b/client/tts.py
@@ -73,7 +73,7 @@ class AbstractTTSEngine(object):
     def play(self, filename):
         # FIXME: Use platform-independent audio-output here
         # See issue jasperproject/jasper-client#188
-        cmd = ['aplay', '-D', 'plughw:1,0', str(filename)]
+        cmd = ['aplay', '-D', 'plughw:0,0', str(filename)]
         self._logger.debug('Executing %s', ' '.join([pipes.quote(arg)
                                                      for arg in cmd]))
         with tempfile.TemporaryFile() as f:

Content of /etc/asound.conf
pcm.usb
{
    type hw
    card RECORD_DEVICE_NAME
}

pcm.internal
{
    type hw
    card PLAYBACK_DEVICE_NAME
}

pcm.!default
{
    type asym
    playback.pcm
    {
        type plug
        slave.pcm "internal"
    }
    capture.pcm
    {
        type plug
        slave.pcm "usb"
    }
}

ctl.!default
{
    type asym
    playback.pcm
    {
        type plug
        slave.pcm "internal"
    }
    capture.pcm
    {
        type plug
        slave.pcm "usb"
    }
}

More additional notes: Changes I did in my previous comment still did not stop the IOError: [Errno Input overflowed] -9981 error. But at least, it came after I listened a knock-knock joke from Jasper. ;)

@ashakunt Please try the jasper-dev branch and check if your problems persist.

@Holzhaus Many thanks. I will take a look at it and let you know, possibly by tomorrow.

Any solutions to this error?

Any solution to this error guys?

I'm also still seeing this.  I believe it's a sampling rate problem.

change CHUNK = 4096 or 8192

First I try to modify my profile.yml in this way:
carrier: ''
first_name:
gmail_address:
gmail_password: ''
last_name:
location:
phone_number: ''
prefers_email: false
stt_engine: sphinx
timezone: Europe/Rome
stt_engine: sphinx
pocketsphinx:
fst_model: '/home/pi/jasper/phonetisaurus/g014b2b.fst' #optional
hmm_dir: '/usr/local/share/pocketsphinx/model/en-us/en-us' #optional
tts_engine: festival-tts
keyword: 'Jasper'
input_chunksize: '2048'
And it work, but the problem doesn't solve, but after (because I think that I've write it uncorrectly) I modify profile.yml in this way:
carrier: ''
first_name:
gmail_address:
gmail_password: ''
last_name:
location:
phone_number: ''
prefers_email: false
stt_engine: sphinx
timezone: Europe/Rome
stt_engine: sphinx
pocketsphinx:
fst_model: '/home/pi/jasper/phonetisaurus/g014b2b.fst' #optional
hmm_dir: '/usr/local/share/pocketsphinx/model/en-us/en-us' #optional
tts_engine: festival-tts
keyword: 'Jasper'
audio:
input_chunksize: '2048'
And in this way, when I try to start jasper there is this error:
Traceback (most recent call last):
File "./Jasper.py", line 5, in
jasper.main()
File "/home/pi/jasper/jasper-client/jasper/main.py", line 48, in main
batch_file=p_args.batch_file)
File "/home/pi/jasper/jasper-client/jasper/application.py", line 230, in init
tts_plugin, self.config, keyword=keyword)
File "/home/pi/jasper/jasper-client/jasper/mic.py", line 50, in init
self._input_rate = get_config_value(config, 'input_samplerate', 16000)
File "/home/pi/jasper/jasper-client/jasper/mic.py", line 24, in get_config_value
value = int(config['audio'][name])
TypeError: 'NoneType' object has no attribute 'getitem'

How can I change CHUNK = 4096 or 8192 ?


Add resources to R

Add resources for R language - books, blogs, video lessons, etc.

CodeSchool is now part of Pluralsight; a paid platform.

Try R - CodeSchool should be removed as it is redirecting to a paid resource i.e. https://www.pluralsight.com/search?q=R.

thanks, I'll change this. @logichub

@Byte7 Did you get chance to look at this?

@codingonHP I haven't looked at this in a while. It would be better if you can resolve this, let me know if you can't. Thanks!

can i work on this issue?

hello,
How can i help you? I am a newcomer to open source if you have any problem please assign me and i would love to contribute.

Hello,
I have my own notes and research in R programming.
If you specify what type of resources you prefer most i would love to contribute in it.


README typo: Wrong docker build url

Summary
DOCKER_BUILDKIT=1
docker build
--build-arg BUILDKIT_INLINE_CACHE=1
--cache-from=cardanofoundation/cardano-rosetta:master
-t cardanofoundation/cardano-rosetta:2.2.5
.
should be
-t cardano-foundation/cardano-rosetta:2.2.5
Steps to reproduce the bug
docker build
Actual Result
ERROR [internal] load git source https://github.com/cardanofoundation/cardano-rosetta.git#2.2.5
Expected Result
build finished
Environment
1.7.0
Platform

[X] Linux (Ubuntu)
[ ] Linux (Other)
[ ] macOS
[ ] Windows

Platform version
Ubuntu 20
Docker version
No response

Hi @HackZhong Thanks for reading the documentation thoroughly!
The docker hub repository from the Cardano Foundation is called cardanofoundation without the hypen.


allow browsers with no webcams and microphones to connect

as the subject says.

i merged this manually, thanks!


In Net6 wpf ,always has System.AccessViolationException

System.AccessViolationException:“Attempted to read or write protected memory. This is often an indication that other memory is corrupt.”

I found the problem, LockdownSession session = new(device, "K-Check", true); WithHandlShare was true.

` public async Task GetDeviceModelAsync(IDevice device)
{
DeviceModel model = new();
LockdownSession session = new(device, "K-Check", false);
try
{
            if (!device.IsPaired)
            {
                bool IsSuccess = await session.PairAsync();
                if (IsSuccess)
                {

                }
            }
            model.SerialNumber = device.SerialNumber;

            //销售型号  MRRT2LL/A  ModelNumber +RegionInfo
            var ModelNumber = (PlistString)session.GetDomain()["ModelNumber"];
            var RegionInfo= (PlistString)session.GetDomain()["RegionInfo"];
            var MLBSerialNumber = (PlistString)session.GetDomain()["MLBSerialNumber"];
            model.SaleModel = ModelNumber.Value+" "+RegionInfo.Value;
            model.MLBSerialNumber= MLBSerialNumber.Value;
            var MEID = (PlistString)session.GetDomain()["MobileEquipmentIdentifier"];
            var IMEI=(PlistString)session.GetDomain()["InternationalMobileEquipmentIdentity"];

            if (IMEI.Value==null)
            {
                model.DeviceIMEI=model.DeviceMEID = MEID.Value;
            }
            else
            {
                model.DeviceIMEI = IMEI.Value;
                model.DeviceMEID = MEID.Value;
            }
            var TimeIntervalSince1970= (PlistReal)session.GetDomain()["TimeIntervalSince1970"];
            var date = (new DateTime(1970, 1, 1)).AddMilliseconds(TimeIntervalSince1970.Value);
            var CPID = (PlistInteger)session.GetDomain()["UniqueChipID"];
            model.DeviceIECID = string.Format("{0:X}", CPID.Value);

            model.ProductionDate = date.ToString();

            return model;
        }
        catch(Exception ex)
        {
            return null;
        }
        finally
        {

            session.Close();
        }
    }`

This version above does not throw an exception, but when I add other properties to my piece of code, such as：
ulong Capacity= device.Capacity;   model.DeviceCapacity = FormatBytes(Capacity);    model.DeviceVersion = device.OSVersion.ToString();    model.SerialNumber = device.SerialNumber;   model.ModelName = device.ModelDisplayName;
In this case, there is always an exception

From IOSHandleWrapperBase  Exception

///
/// 通过idevicediagnostics.exe
///
///
///
public async Task GetDeviceInfoAsync(IDevice device)
{
DeviceModel model = new();
PlistDictionary dic;
LockdownSession session = new(device, "K", true);
if (!device.IsPaired)
{
bool IsSuccess = await session.PairAsync();
if (IsSuccess)
{
            }
        }
        string[] args = new string[]
        {
            "ProductType",
            "ModelNumber",
            "RegionInfo",
            "MLBSerialNumber",
            "DeviceColor",
            "ProductName",
            "ProductVersion",
            "BuildVersion",
            "DeviceName",
            "MobileEquipmentIdentifier",
            "InternationalMobileEquipmentIdentity",
            "UniqueChipID"
        };
        var relay = new MobileDeviceSharp.DiagnosticsRelay.DiagnosticsRelaySession(device);
        dic = relay.QueryMobilegestalt(args);
        var ProductType = (PlistString)dic["ProductType"];//ProductType: iPhone10,1
        var ModelNumber = (PlistString)dic["ModelNumber"];//ModelNumber: MRRT2
        var RegionInfo = (PlistString)dic["RegionInfo"];//ModelNumber: MRRT2
        var MLBSerialNumber = (PlistString)dic["MLBSerialNumber"];//RegionInfo: LL/A
        var Color = (PlistString)dic["DeviceColor"];//DeviceColor: 1
        //var ProductName = (PlistString)dic["ProductName"];//ProductName: iPhone OS
        var ProductVersion = (PlistString)dic["ProductVersion"];//ProductVersion: 14.3
        var BuildVersion = (PlistString)dic["BuildVersion"];//BuildVersion: 18C66
        var DeviceName = (PlistString)dic["DeviceName"];//DeviceName: iPhone
        var buildNumber = BuildNumber.Parse(BuildVersion.Value);
        model.OsVersion = new Models.OSVersion(DeviceName.Value, Version.Parse(ProductVersion.Value), buildNumber);
        model.DeviceVersion = model.OsVersion.ToString();
        if (AppleDevices.DevicesIphones.TryGetValue(ProductType.Value, out var name))
        {
            model.ModelName = name;
        }
        if (AppleDevices.DeviceIphoneColors.TryGetValue(Color.Value, out var deviceColor))
        {
            model.DeviceColor = deviceColor;
        }
        model.SaleModel = ModelNumber.Value + " " + RegionInfo.Value;
        model.MLBSerialNumber = MLBSerialNumber.Value;
        var MEID = (PlistString)dic["MobileEquipmentIdentifier"];
        var IMEI = (PlistString)dic["InternationalMobileEquipmentIdentity"];

        if (IMEI.Value == null)
        {
            model.DeviceIMEI = model.DeviceMEID = MEID.Value;
        }
        else
        {
            model.DeviceIMEI = IMEI.Value;
            model.DeviceMEID = MEID.Value;
        }

        var CPID = (PlistInteger)dic["UniqueChipID"];
        model.DeviceIECID = string.Format("{0:X}", CPID.Value);
        //RegulatoryModelNumber
        return model;
    }

I tried to use the above method and it still raises an exception too, which occurs in the PlistHandle

Hello thank you for sharing all the infos. I currently worked on InstallationProxy support. I will push the first commit when it will be ready and after I will switch to master to work on your issue. The default value for the withHandShake parameter should be logically Device.IsPaired. This is not the case today (it's currently false) but that doesn't explain everything. firstly I need to change the default value and after I need to investigate it.

Looking forward to your subsequent updates, in the later test, I think it is not the problem withHandShake parameters, I saw in debug mode, the execution to dic = relay. IOSHandleWrapperBase.Dispose(), up to this point to the end of my code, there are several times PlistHandle.ReleaseHandle(), and finally there is a ReleaseHandle() to change the exception

Looking forward to your subsequent updates, in the later test, I think it is not the problem withHandShake parameters, I saw in debug mode, the code execution to dic = relay.QueryMobilegestalt(args); PlistHandle.ReleaseHandle() to IOSHandleWrapperBase.Dispose() twice inside the internal assembly, and by the end of my code, there were several more PlistHandle. ReleaseHandle() raises this exception

So the problem seems to come from the DiagnosticsRelaySession.QueryMobilegestalt API
I also use it two time in my own code for: https://github.com/mveril/MobileDeviceSharp/blob/852f2e1af68d5732f833e1838114d21834ecfaf7/src/MobileDeviceSharp/OSVersion.cs#L13
and https://github.com/mveril/MobileDeviceSharp/blob/852f2e1af68d5732f833e1838114d21834ecfaf7/src/MobileDeviceSharp/IDevice.cs#L187 and I also observed an exception when I use it with an unpared device I hope I will have time to investigate it during this week-end.

Looking forward to your update can be solved

I succeed in reproduce your bug I don't realy know where He come from. For me your code throw a LockdownException (maybe I will be wrap it in a KeyNotFoundException) because MobileEquipmentIdentifier does not exist on my iPhone (an iPhone 14 with iOS 16.1 with Orange France as phone operator Be careful about that. So I commented this part and I got the AccessViolationException I will search why.

In my previous message I totaly were wrong.
Unlike my code, your code does not use Dispose() on values of type PlistNode so the finalizer is called. It seems that calling the PlistNode finalizer and then the PlistHandle finalizer causes the unmanaged memory to be cleaned twice and cause the AccessViolationException (The joys of C/C# interoperability). The solution was given to me by this blog post by @bblanchon (thanks to him). According to his blog post:

The only thing I really had to implement is the ReleaseHandle() methods. It will be called by SafeHandle finalizer and Dispose().
Then, you can use the SafeHandle as a managed resource:

The imporrtant words here is  "as a managed resource" because if the SafeHandle is a managed resource we need to dispose it only when the Dispose() method is called and not in the finalizer. So I applied this fix on the commit f91bad4 normally the issue is solved. I'm waiting for your feedback.

Hello @mveril , thank you for you update. but  use last update ,i still found same issues  .when i use DiagnosticsRelaySession , Whether or not use Dispose() ,so Now I don't know what is the right way to operate

this is not use Dispose() .The result Query ended unexpectedly. in my program . The program flashes unexpectedly.Event viewer with error events.

when use Dispose() or Close()

Hello @BianYuan1995.
The problem is only on QueryMobilegestalt now, not in PlistNode in general ?
For this API I manipulated a lot PlistNodes with using (so implicitly Dispose()) and Clone(). It's maybe the source of this specific issue. I will investigate it this week-end.
Are you try it the different overloads of this api ? There are 3:
https://github.com/mveril/MobileDeviceSharp/blob/ee0b355b192ec62f70c63e70feda3cf17b5da3dd/src/MobileDeviceSharp/DiagnosticsRelay/DiagnosticsRelaySessionBase.cs#L56
https://github.com/mveril/MobileDeviceSharp/blob/ee0b355b192ec62f70c63e70feda3cf17b5da3dd/src/MobileDeviceSharp/DiagnosticsRelay/DiagnosticsRelaySessionBase.cs#L69
and the lower level
https://github.com/mveril/MobileDeviceSharp/blob/ee0b355b192ec62f70c63e70feda3cf17b5da3dd/src/MobileDeviceSharp/DiagnosticsRelay/DiagnosticsRelaySessionBase.cs#L75
Maybe the different overload will allow you to work around the problem temporarily and give me some clues to see if the problem is on this
https://github.com/mveril/MobileDeviceSharp/blob/ee0b355b192ec62f70c63e70feda3cf17b5da3dd/src/MobileDeviceSharp/DiagnosticsRelay/DiagnosticsRelaySessionBase.cs#L75
or only on this
https://github.com/mveril/MobileDeviceSharp/blob/ee0b355b192ec62f70c63e70feda3cf17b5da3dd/src/MobileDeviceSharp/DiagnosticsRelay/DiagnosticsRelaySessionBase.cs#L56

Right, I tried the three overloaded methods of QueryMobilegestalt and all have the same exception

Hello @BianYuan1995
I fixed another thing in PlistHandle by modifying my HandleGenerator
Indeed, if we read the C++ destructor of Node of libplist we see that we mustn't release handle of PlistNode with parent
So I fixed that and now the generated code for the PlistHandle is like this
protected override bool ReleaseHandle()
{
    if (CanBeReleased())
    {
        Plist.plist_free(this.handle);
    }
    return true;
}

And for PlistHandle the CanBeReleased() is defined here
https://github.com/mveril/MobileDeviceSharp/blob/62e4d9e7070ed33d3cb7ff50a26d4f570684f867/src/MobileDeviceSharp/PropertyList/Native/PlistHandle.cs#L10-L13
So now only root nodes will be released. like it should be.
I think that can fix your bug.

Ok there is an issue with my new code I need to fix it before.

This update causes an exception to occur when the previously available LockdownSession obtains device information, usually triggered some time after the end of the code

I seem to have found the problem, I tried at the end of the method defaultDomain=null, and it worked fine

Hello @BianYuan1995
Is the issue with DiagnosticsRelaySession  of your previous message fixed ? Normally the code of your last message is perfectly correct and If my memory is good look like what I did for the properties of the IDevice class. I definitively need to fix that kind of issue. Maybe I will have some time to check it this week end. thank you for your patience despite the persistence of this issue.

Hello @mveril
I tested DiagnosticsRelaySession and it seems that the problem is solved, but if you add Thread.sleep(5000) after the test code, it also raises an exception during the session

Hello @BianYuan1995
I think I solved the issue now in the commit  b863b20. Like I explain last time, if PlistNode has parent the parent must be responsible to release it. I solve the issue using a custom marshaler . SafeHandleZeroOrMinusOneIsInvalid constructor has the ownsHandle parameter to determine if the handle must be release when it's garbage collected. By default, I set it to true which say to release the handle at the end. But this behavior is not always good for PlistHandle. So when I want to create a PlistHandle witch not release the handle I apply my custom marshaller which set the ownHandle to false I think this solve the issue. When I tested, I apply a Task.Delay with a long time to give a suffisent time to the garbage collector to do its work.

The trick I used [previously](https://github.com/mveril/MobileDeviceSharp/issues/2#issuecomment-1328230591 to try to solve your issue is definitively bad so in the commit b863b20 I also reverted all the commits related to it.

Hello @BianYuan1995
I have no answer from you since the fix I apply in b863b20.
I also applied a fix for PlistDictionary in 00c9ac4 to fix some issues when we try retrieve a value from a key which is not present in the dictionary.
Is your issue fixed ?

Hello @mveril
Sorry for replying now, I've been a bit busy lately, I think it should be fixed, I used the last update and the problem didn't reappear, so I think your fix is working.

00c9ac4 update , I have not applied yet, I will try to pull the update soon, thanks again for your reply and update

I used the latest update 00c9ac4 and no problems occurred, so I think I can close this issue now

Thank you a lot for your feedback !
This issue was very complicated to debug.
Now I try to implement Installation Proxy and House Arrest but these are currently two buggy to be included on the main branch I added a branch for each of it (also my implementation of house arrest depend on installation proxy).
Feel free to come back to me for any bug or any suggestion, or if you want to contribute more on the project.


Audio Issue

Great Bot overall.
Uploaded videos are missing audio.

I noticed that too. Reddit probably changed something again. I'm gonna look into it.


Package.getActivationCommands is deprecated.

Use activationCommands instead of activationEvents in your package.json
Commands should be grouped by selector as follows:
  "activationCommands": {
    "atom-workspace": ["foo:bar", "foo:baz"],
    "atom-text-editor": ["foo:quux"]
  }

Package.getActivationCommands (/usr/share/atom/resources/app.asar/src/package.js:808:9)
Package.hasActivationCommands (/usr/share/atom/resources/app.asar/src/package.js:733:20)
<unknown> (/usr/share/atom/resources/app.asar/src/package.js:185:24)
Package.measure (/usr/share/atom/resources/app.asar/src/package.js:163:15)
Package.load (/usr/share/atom/resources/app.asar/src/package.js:177:12)
PackageManager.loadPackage (/usr/share/atom/resources/app.asar/src/package-manager.js:355:14)

+1


"SECRET_KEY setting must not be empty"

Hey there!
I just tried downloading and running this but was met with the below exception:
Traceback (most recent call last):
File "manage.py", line 28, in
execute_from_command_line(sys.argv)
File "/Users/majora/venv/lib/python2.7/site-packages/django/core/management/init.py", line 338, in execute_from_command_line
utility.execute()
File "/Users/majora/venv/lib/python2.7/site-packages/django/core/management/init.py", line 330, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/majora/venv/lib/python2.7/site-packages/django/core/management/init.py", line 190, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/Users/majora/venv/lib/python2.7/site-packages/django/core/management/init.py", line 40, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/Users/majora/venv/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 14, in
from django.db.migrations.executor import MigrationExecutor
File "/Users/majora/venv/lib/python2.7/site-packages/django/db/migrations/executor.py", line 6, in
from .loader import MigrationLoader
File "/Users/majora/venv/lib/python2.7/site-packages/django/db/migrations/loader.py", line 10, in
from django.db.migrations.recorder import MigrationRecorder
File "/Users/majora/venv/lib/python2.7/site-packages/django/db/migrations/recorder.py", line 9, in
class MigrationRecorder(object):
File "/Users/majora/venv/lib/python2.7/site-packages/django/db/migrations/recorder.py", line 23, in MigrationRecorder
class Migration(models.Model):
File "/Users/majora/venv/lib/python2.7/site-packages/django/db/migrations/recorder.py", line 24, in Migration
app = models.CharField(max_length=255)
File "/Users/majora/venv/lib/python2.7/site-packages/django/db/models/fields/init.py", line 1081, in init
super(CharField, self).init(_args, *_kwargs)
File "/Users/majora/venv/lib/python2.7/site-packages/django/db/models/fields/init.py", line 161, in init
self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
File "/Users/majora/venv/lib/python2.7/site-packages/django/conf/init.py", line 48, in getattr
self._setup(name)
File "/Users/majora/venv/lib/python2.7/site-packages/django/conf/init.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "/Users/majora/venv/lib/python2.7/site-packages/django/conf/init.py", line 113, in init
raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
Any thoughts of where this might be coming from? I'm very new to Mezzanine so would appreciate any help.
Cheers!
Rich

Hi,
I'm also new to Django/Mezzanine and have also got the same error.
This is what I did:

Started a new env.
Copied your project files in to the env's project folder.
pip install -r requirements.txt
Edited settings.py
Tried to run python manage.py syncdb --migrate which gave the following error:

Traceback (most recent call last):
  File "manage.py", line 28, in <module>
    execute_from_command_line(sys.argv)
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 272, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 75, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
    __import__(name)
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 9, in <module>
    from django.core.management.sql import custom_sql_for_model, emit_post_sync_signal, emit_pre_sync_signal
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/core/management/sql.py", line 9, in <module>
    from django.db import models
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/db/models/__init__.py", line 5, in <module>
    from django.db.models.query import Q
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/db/models/query.py", line 17, in <module>
    from django.db.models.deletion import Collector
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/db/models/deletion.py", line 4, in <module>
    from django.db.models import signals, sql
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/db/models/sql/__init__.py", line 4, in <module>
    from django.db.models.sql.subqueries import *
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/db/models/sql/subqueries.py", line 12, in <module>
    from django.db.models.sql.query import Query
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 22, in <module>
    from django.db.models.sql import aggregates as base_aggregates_module
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/db/models/sql/aggregates.py", line 9, in <module>
    ordinal_aggregate_field = IntegerField()
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 116, in __init__
    self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/conf/__init__.py", line 49, in _setup
    self._wrapped = Settings(settings_module)
  File "/home/rik/.virtualenvs/wg/local/lib/python2.7/site-packages/django/conf/__init__.py", line 151, in __init__
    raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

I would be super grateful if someone could let me know if I'm missing something here. Is this the proper way to install/run someone else's project?
All the best,
~ Rik

Soooo what so we do here? I would like to look at the templates however need to set  KEY!!

I got the same problem..

Same problem here. I see this is ongoing. Helllllpppp somebody.

I just solved it.

create your environment/ source myenv/bin/activate
install from the requirement.txt with "pip2.7 install -r requirements.txt" from requirements directory (i think python 3.5 is too high)
Generate a key online for django from http://www.miniwebtool.com/django-secret-key-generator/ then input in the settings.py as ( SECRET_KEY = "yj6o@&vrar6^l1u68!bxumj@xr4&5)zzk!h1qw&63^&@2d3w@#")
edit the DATABASE SECTION in settings.
ENGINE: django.db.backends.sqlite3 (append sqlite3)
NAME: "dev.db" (or any name you like)
Enable DEBUG = True (in settings.py) to see detailed debugs
run python2.7 manage.py createdb --noinput
run python2.7 manage.py changepassword admin
Enter new password
run python2.7 manage.py runserver
you can shoot me a mail if you get stuck. Seems to require some experience setting up django.

Hi!
Got through this stage, got an additional compatibility issue (solved), but I can't understand what is going wrong on the creation of the database. Apparently an issue with the template loader. Any help much appreciated.
`Traceback (most recent call last):
File "D:\Gdrive\website\Mezza\web00\lib\site-packages\django\template\base.py", line 1333, in import_library
mod = import_module(taglib_module)
File "D:\Gdrive\website\Mezza\web00\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 978, in _gcd_import
File "", line 961, in _find_and_load
File "", line 950, in _find_and_load_unlocked
File "", line 655, in _load_unlocked
File "", line 678, in exec_module
File "", line 205, in _call_with_frames_removed
File "D:\Gdrive\website\Mezza\web00\lib\site-packages\mezzanine\template\loader_tags.py", line 8, in
from django.template.loader import find_template_loader
ImportError: cannot import name 'find_template_loader'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Gdrive\website\Mezza\web00\mezzthemes\manage.py", line 10, in
from settings import PROJECT_ROOT, PROJECT_DIRNAME
File "D:\Gdrive\website\Mezza\web00\mezzthemes\settings.py", line 371, in
set_dynamic_settings(globals())
File "D:\Gdrive\website\Mezza\web00\lib\site-packages\mezzanine\utils\conf.py", line 49, in set_dynamic_settings
add_to_builtins("mezzanine.template.loader_tags")
File "D:\Gdrive\website\Mezza\web00\lib\site-packages\django\template\base.py", line 1407, in add_to_builtins
builtins.append(import_library(module))
File "D:\Gdrive\website\Mezza\web00\lib\site-packages\django\template\base.py", line 1343, in import_library
(taglib_module, e))
django.template.base.InvalidTemplateLibrary: ImportError raised loading mezzanine.template.loader_tags: cannot import name 'find_template_loader'

Add SECRET_KEY = "yj6o@&vrar6^l1u68!bxumj@xr4&5)zzk!h1qw&63^&@2d3w@#" in settings.py work for me

On an additional note, for security purposes please don't use same secret keys as you posted online! :)

Hi guys
I need your help to fix my problem.
first all, I don't Idea to edith the file of "settings.py" to put my SECRET_KEY.
Graphite don't run.
When I saw in my error log file I get this.
[Mon Jun 25 10:55:11.611665 2018] [:error] [pid 25414] ImproperlyConfigured: The SECRET_KEY setting must not be empty.
[Mon Jun 25 10:55:11.640350 2018] [:error] [pid 25415] mod_wsgi (pid=25415): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.
[Mon Jun 25 10:55:11.640462 2018] [:error] [pid 25415] mod_wsgi (pid=25415): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.
[Mon Jun 25 10:55:11.640512 2018] [:error] [pid 25415] Traceback (most recent call last):
[Mon Jun 25 10:55:11.640550 2018] [:error] [pid 25415]   File "/opt/graphite/conf/graphite.wsgi", line 7, in
[Mon Jun 25 10:55:11.640681 2018] [:error] [pid 25415]     application = django.core.handlers.wsgi.WSGIHandler()
[Mon Jun 25 10:55:11.640705 2018] [:error] [pid 25415]   File "/usr/lib/python2.7/site-packages/Django-1.11.13-py2.7.egg/django/core/handlers/wsgi.py", line 151, in init
[Mon Jun 25 10:55:11.640867 2018] [:error] [pid 25415]     self.load_middleware()
[Mon Jun 25 10:55:11.640889 2018] [:error] [pid 25415]   File "/usr/lib/python2.7/site-packages/Django-1.11.13-py2.7.egg/django/core/handlers/base.py", line 48, in load_middleware
[Mon Jun 25 10:55:11.641065 2018] [:error] [pid 25415]     if settings.MIDDLEWARE is None:
[Mon Jun 25 10:55:11.641094 2018] [:error] [pid 25415]   File "/usr/lib/python2.7/site-packages/Django-1.11.13-py2.7.egg/django/conf/init.py", line 56, in getattr
[Mon Jun 25 10:55:11.641242 2018] [:error] [pid 25415]     self._setup(name)
[Mon Jun 25 10:55:11.641290 2018] [:error] [pid 25415]   File "/usr/lib/python2.7/site-packages/Django-1.11.13-py2.7.egg/django/conf/init.py", line 41, in _setup
[Mon Jun 25 10:55:11.641340 2018] [:error] [pid 25415]     self._wrapped = Settings(settings_module)
[Mon Jun 25 10:55:11.641360 2018] [:error] [pid 25415]   File "/usr/lib/python2.7/site-packages/Django-1.11.13-py2.7.egg/django/conf/init.py", line 129, in init
Thank you for your help

in my case, I removed some unused import which helps me (Somehow I imported my db_route.py and there is some circle referencing in it.


Dependency clarification

Dear Deepminder:
I would think it is not a bug, but however I would post here to see whether there is a way for an easy installation.
Usually when compiling TensorFlow manually, even specified with CUDA support, the final binary could NOT reflect such characteristics. Usually this is the file I finally got:
/tmp/tensorflow/tensorflow-1.8.0-cp27-cp27mu-linux_x86_64.whl
Please note I enable GPU support when compiling.
When I installed it with pip, it only reads for example tensorflow is installed instead of tensorflow-gpu
However when I install sonnet with the following instruction:
$ mkdir /tmp/sonnet
$ bazel build :install --define gpu=true
$ ./bazel-bin/install /tmp/sonnet
$ pip install /tmp/sonnet/dm_sonnet_gpu-1.20-py2-none-any.whl

It will try to download and install the gpu version of TensorFlow, for example tensorflow-gpu-1.8.0.
Since I know the installed tensorflow-gpu-1.8.0 is NOT what I wanted, so I have to uninstall it and  re-install my own's TensorFlow.
But now it always complain:
dm-sonnet-gpu 1.20 requires tensorflow-gpu>=1.0.1, which is not installed.
What I mean is, if I build sonnet from source, could it be a little relaxed on dependency checking? I definitely know the TensorFlow I am gonna install is with GPU enabled, so I just want simply install sonnet and suppress the complains.
I just wonder can an extra flag be added for the following command, like:
$ bazel build :install --define gpu=true **dependency-check=false**
Or do you know can I configure the generated TensorFlow binary, for example, the generated binary reflects the case GPU has been enabled and hence satisfies the requirement of the GPU version of Sonnet?
Thanks a lot.

Hi @mingyr,
dm-sonnet-gpu requires tensorflow-gpu as a dependency, but dm-sonnet does not. You can generate a dm-sonnet wheel if your do not set gpu to true, and that should solve your issue. But if you generate a Tensorflow wheel from source using GPU settings, its project name should be tensorflow-gpu and it should satisfy the dependency... Is that what you need?

Well, if you installed a tensorflow wheel you can generate the gpu=false sonnet wheel and it should work fine.
I'll close this issue for now, but feel free to reopen it if there is any problem with your installation.

Dear @diegolascasas:
Does it mean there is no essentially difference between CPU version of sonnet and GPU version of sonnet, isn't it? So in most cases, the two wheels are interchangeable, yes?


buffer.js:359

I tried convert data from openstreetmap to gpx and then tried
togeojson myfile.osm.gpx myfile.geojson
but it throws this error
buffer.js:359
throw new Error('toString failed');
^
Error: toString failed
at Buffer.toString (buffer.js:359:11)
at convert (/usr/local/lib/node_modules/togeojson/togeojson:22:61)
at ConcatStream. (/usr/local/lib/node_modules/togeojson/node_modules/concat-stream/index.js:36:43)
at emitNone (events.js:72:20)
at ConcatStream.emit (events.js:166:7)
at finishMaybe (/usr/local/lib/node_modules/togeojson/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:460:14)
at endWritable (/usr/local/lib/node_modules/togeojson/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:469:3)
at ConcatStream.Writable.end (/usr/local/lib/node_modules/togeojson/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:436:5)
at ReadStream.onend (_stream_readable.js:490:10)
at ReadStream.g (events.js:260:16)
any ideas where is the problem?

togeojson myfile.osm.gpx myfile.geojson

First thing would be following the console utility example and writing
togeojson myfile.osm.gpx > myfile.geojson

instead

sorry i forgot
togeojson myfile.osm.gpx > myfile.geojson
buffer.js:359
    throw new Error('toString failed');
    ^

Error: toString failed
    at Buffer.toString (buffer.js:359:11)
    at convert (/usr/local/lib/node_modules/togeojson/togeojson:22:61)
    at ConcatStream.<anonymous> (/usr/local/lib/node_modules/togeojson/node_modules/concat-stream/index.js:36:43)
    at emitNone (events.js:72:20)
    at ConcatStream.emit (events.js:166:7)
    at finishMaybe (/usr/local/lib/node_modules/togeojson/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:460:14)
    at endWritable (/usr/local/lib/node_modules/togeojson/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:469:3)
    at ConcatStream.Writable.end (/usr/local/lib/node_modules/togeojson/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:436:5)
    at ReadStream.onend (_stream_readable.js:490:10)
    at ReadStream.g (events.js:260:16)

@robooo can you provide the source data?

sorry I deleted it but it was http://download.freemap.sk/slovakia.osm/slovakia.osm.pbf converted to gpx and then tried to geojson but i know there are some errors at coordinates (if I remember right there was "point" with polygon coordinates etc.)

It sounds like the conversion to GPX didn't work and toGeoJSON got a binary file.

I don't know how i converted it but was nice readable gpx but there were some mistakes like point got polygons coordinates... I'm sure it wasn't binary

Okay, well - if you can provide an input file that triggers this bug, I can try to diagnose it; please post to this issue if you can. Otherwise, closing this issue.

You could close ;) had no problems with correct gpx files


Ubuntu 22.04 - gdrcopy 2.3.1 dependency problem

When I try to install gdrcopy 2.3.1 into Ubuntu 22.04(5.19.0-1025-aws), I faced dependency problem.
root@ip-172-31-18-103:/home/ubuntu/gdrcopy-2.3.1/packages# dpkg -i gdrdrv-dkms_*_amd64.*.deb
Selecting previously unselected package gdrdrv-dkms:amd64.
(Reading database ... 100387 files and directories currently installed.)
Preparing to unpack gdrdrv-dkms_2.3.1_amd64.Ubuntu22_04.deb ...
Unpacking gdrdrv-dkms:amd64 (2.3.1) ...
Setting up gdrdrv-dkms:amd64 (2.3.1) ...
Loading new gdrdrv-2.3.1 DKMS files...
Building for 5.19.0-1025-aws
Building for architecture x86_64
Building initial module for 5.19.0-1025-aws
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
Done.

gdrdrv.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.0-1025-aws/updates/dkms/

depmod...

root@ip-172-31-18-103:/home/ubuntu/gdrcopy-2.3.1/packages# dpkg -i libgdrapi_*_amd64.*.deb
Selecting previously unselected package libgdrapi:amd64.
(Reading database ... 100396 files and directories currently installed.)
Preparing to unpack libgdrapi_2.3.1_amd64.Ubuntu22_04.deb ...
Unpacking libgdrapi:amd64 (2.3.1) ...
Setting up libgdrapi:amd64 (2.3.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...

root@ip-172-31-18-103:/home/ubuntu/gdrcopy-2.3.1/packages# dpkg -i gdrcopy-tests_*_amd64.*.deb
Selecting previously unselected package gdrcopy-tests:amd64.
(Reading database ... 100404 files and directories currently installed.)
Preparing to unpack gdrcopy-tests_2.3.1_amd64.Ubuntu22_04.deb ...
Unpacking gdrcopy-tests:amd64 (2.3.1) ...
Setting up gdrcopy-tests:amd64 (2.3.1) ...

root@ip-172-31-18-103:/home/ubuntu/gdrcopy-2.3.1/packages# dpkg -i gdrcopy_*_amd64.*.deb
Selecting previously unselected package gdrcopy:amd64.
(Reading database ... 100412 files and directories currently installed.)
Preparing to unpack gdrcopy_2.3.1_amd64.Ubuntu22_04.deb ...
Unpacking gdrcopy:amd64 (2.3.1) ...
dpkg: dependency problems prevent configuration of gdrcopy:amd64:
 gdrcopy:amd64 depends on gdrdrv-dkms (= 2.3.1-1); however:
  Version of gdrdrv-dkms:amd64 on system is 2.3.1.
 gdrcopy:amd64 depends on libgdrapi (= 2.3.1-1); however:
  Version of libgdrapi:amd64 on system is 2.3.1.
 gdrcopy:amd64 depends on gdrcopy-tests (= 2.3.1-1); however:
  Version of gdrcopy-tests:amd64 on system is 2.3.1.

dpkg: error processing package gdrcopy:amd64 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gdrcopy:amd64

It seems gdrcopy package depend on "2.3.1-1" of  gdrdrv-dkms/libgdrapi/gdrcopy-tests but installed version is 2.3.1.
For the work around, If I change the build-dep-packages.sh file like below, it works.
root@ip-172-31-18-103:/home/ubuntu/gdrcopy-2.3.1/packages# diff build-deb-packages.sh.original build-deb-packages.sh
99,100c99
< FULL_VERSION="${VERSION}-${DEBIAN_VERSION}"
---
> FULL_VERSION="${VERSION}"

Could you check this issue?

@pakmarkthub can you take a look?

Hi @YoonGi-AWS,
Thank you for reporting this issue. The fix is under review.

@YoonGi-AWS is the bug fixed?

@pakmarkthub Hi do you plan to produce a new release with the fix?

@wenduwan We are working on the next release and will release it soon. For now, you can checkout the latest commit of branch R2.3.1.

@pakmarkthub Thank you! I verified that branch and it works for me on Ubuntu 20.04. Looking forward to the new release.

@pakmarkthub Double check this issue should be resolved with 2.4 release?

@wenduwan Yes, it should. Let us know if you still see the issue.

Thank you! I confirmed that it works on Ubuntu 22.04


js-controller error on start of adapter

Hi Peter,
my adapter won't even start up and ends with the following log entry:

host.iobroker
2022-11-09 06:12:00.663
error
instance system.adapter.vofo-speedtest.0 terminated with code 1 (JS_CONTROLLER_STOPPED)

I just installed it, here are my versions used:
CPU: 480 %
RAM: 5,6 %
Uptime: 4d23h
JS-Controller: Available: 4.0.23
Installed: 4.0.23
Events: ⇥19 / ↦14
Platform: freebsd
operating system: freebsd
Architecture: x64
CPUs: 8
Speed: 2200 MHz
Model: Intel(R) Atom(TM) CPU C3758 @ 2.20GHz
RAM: 31.9 GB
System uptime: 68 d. 19:14:17
Node.js: v18.7.0
time:<PHONE_NUMBER>727
timeOffset: -60
adapters count: 531
NPM: 8.5.2
Disk size: 26112.0 GB
Disk free: 26094.4 GB
Uptime: 4 d. 23:15:14
Active instances: 17
Path: /opt/iobroker/
If I can provide you with more info or logoutput, please just let me know. I used v0.0.13
Best regards

Same here, won't even start.

I have the same problem.

Are there any plans to solve this issue?
I´m facing the same problem...

could you try https://github.com/peterbaumert/ioBroker.vofo-speedtest/issues/8#issuecomment-762891818

so in the iobroker directory do a
npm install node-libcurl

and it works for me. seems like on node update this breaks

I tried both:
npm install node-libcurl
and
npm rebuild
npm install
but it did not work.
This occurs when trying to let it run directly:
root@iobroker:/opt/iobroker # node node_modules/iobroker.vofo-speedtest/main.js --force --logs
ld-elf.so.1: /opt/iobroker/node_modules/iobroker.vofo-speedtest/node_modules/node-libcurl/lib/binding/node_libcurl.node: Undefined symbol "curl_version_info"

If this problem still exists with current release (2.0.0) , please open a new issue.


automatically deploy gh-pages branch using travis

Right now we use a grunt task to push the gh-pages branch on every commit. Complicated workflow and a waste of time.
In other h5bp repositories we've been using the @h5bp-bot and its script for that, which turns out to be a nice workflow. You can see an example of the setup in the HTML5 Please repo. It also makes sure builds that fail don't get deployed.

Feel free to implement this better workflow since you know it already. :+1:

@arthurvr let me know whether you are working on it?

@WellingGuzman I will work on it :)

Just as a status update: I never granted this much priority as the project was pretty inactive lately. Still happy to pick it up if the project gets a little more active again.

@arthurvr yes, please. let's wake this bad boy up.