-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking single-cord USB power issues #9
Comments
Your link doesn't work |
Weird - works for me. |
I normally use the Pi with a battery so it can backup recordings without having to leave the car on, but tried with a single USB cable today, and it works without problems for me. Tried with both kernel 4.14 and 4.19. |
Oh man. If I'm dealing with USB cable issues I'm gonna lose my mind.
…On Sun, Apr 7, 2019, 8:55 PM marcone ***@***.***> wrote:
I normally use the Pi with a battery so it can backup recordings without
having to leave the car on, but tried with a single USB cable today, and it
works without problems for me. Tried with both kernel 4.14 and 4.19.
2018 Model S, firmware 2019.8.5
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABZr8sh2rkGINnelwqoTR_UWdB4fOJEUks5vepOSgaJpZM4cgXsc>
.
|
I'm also dealing with what I believe are power issues. If I use a single cable (I'm actually using the usb a addon board), it seems to bootloop before mass storage can connect. If I plug in a second cable the boot process finishes and the car sees the drive. I can then unplug the second cable and everything continues to run fine. Looking at dmesg, before it reboots, it makes it to
which is one line from the mass storage messages when it boots properly. I've attempted to disable HDMI and blindly blacklist modules but nothing has changed.
Kernel 4.19 |
I'm still not having any luck even with two cords.. totally happy of
plugged into my PC but not the car
…On Wed, Apr 24, 2019, 8:43 PM Chris ***@***.***> wrote:
I'm also dealing with what I believe are power issues. If I use a single
cable (I'm actually using the usb a addon board
<https://www.amazon.com/gp/product/B07BK2BR6C/>), it seems to bootloop
before mass storage can connect. If I plug in a second cable the boot
process finishes and the car sees the drive. I can then unplug the second
cable and everything continues to run fine. Looking at dmesg, before it
reboots, it makes it to
...
[ 15.291893] brcmfmac: power management disabled
[ 24.046855] FS-Cache: Netfs 'cifs' registered for caching
[ 24.047796] Key type cifs.spnego registered
[ 24.047846] Key type cifs.idmap registered
[ 25.967676] random: crng init done
[ 25.967702] random: 7 urandom warning(s) missed due to ratelimiting
[ 27.245354] FAT-fs (loop0): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
which is one line from the mass storage messages when it boots properly.
I've attempted to disable HDMI and blindly blacklist modules but nothing
has changed.
/usr/bin/tvservice -o in /etc/rc.local
blacklist btbcm
blacklist hci_uart
blacklist bcm2835_v4l2
blacklist bcm2835_codec
blacklist bcm2835_mmal_vchiq
blacklist bcm2835_alsa
blacklist bcm2835_vc_sm_cma_probe
blacklist snd_bcm2835
blacklist vc_sm_cma
blacklist ipv6
Kernel 4.19
2018 Model 3, 2019.8.5
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALGX4VWD7ASNKSHBXE2ECLPSD5BTANCNFSM4HEBPMOA>
.
|
@mattster98 which model car do you have? Could this be a 3 vs S thing? |
Oh I see in another issue that you have an X. No clue then. |
Yeah.. I'm not alone but some people have it working. Going to try another
raspi and SD to rule out hardware.
…On Wed, Apr 24, 2019, 9:12 PM marcone ***@***.***> wrote:
Oh I see in another issue that you have an X. No clue then.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALGX4VHZOFD6SDGCYQRBVTPSEAQ3ANCNFSM4HEBPMOA>
.
|
I'd suspect cables more than the Pi or sd card. You used the same cables when connecting to the PC and that worked? |
Yep, and tried half a dozen other cables in the car.
…On Wed, Apr 24, 2019, 9:29 PM marcone ***@***.***> wrote:
I'd suspect cables more than the Pi or sd card. You used the same cables
when connecting to the PC and that worked?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALGX4TAF46G3IXB54NRTLTPSECOFANCNFSM4HEBPMOA>
.
|
I have similar setup with 4 RPi Zero W with USB add-on board @rfvgyhn mentioned. I have 6 MicroSD cards from 16gb to 128gb. 2018 Model 3 LR-RWD So far I have tried both 0406 build and then updating it with rpi-update to get to 4.19. In any combination of SD card or one of the RPI ZeroW each time I can find the "CAM" mounted on Mac with "TeslaCam" folder. However no matter what I do there will be no recording in the car. If I pull the RPI0W and plug into Mac I can see "CAM" again every single time. Why is it not recording on either of the prebuilt images? Last few lines of dmesg output fdisk shows - this is with 64gb card - 100% cam usage Device Boot Start End Sectors Size Id Type |
Using the bare Raspi Zero W there are two USB ports. the first one ("USB")
goes to the USB port in the car, the second port on the board ("PWR IN")
goes to either a second port in the car, a 12V adapter, or some are using
rechargeable battery banks to provide reliable power.
…On Thu, Apr 25, 2019 at 3:08 PM clean-ev ***@***.***> wrote:
I have similar setup with 4 RPi Zero W with USB add-on board @rfvgyhn
<https://github.com/Rfvgyhn> mentioned. I have 6 MicroSD cards from 16gb
to 128gb.
2018 Model 3 LR-RWD
So far I have tried both 0406 build and then updating it with rpi-update
to get to 4.19.
Also tried 0421 with 4.19 kernel baked in.
In any combination of SD card or one of the RPI ZeroW each time I can find
the "CAM" mounted on Mac with "TeslaCam" folder. However no matter what I
do there will be no recording in the car. If I pull the RPI0W and plug into
Mac I can see "CAM" again every single time.
Why is it not recording on either of the prebuilt images?
What do you all mean when you say second cable? As I am using add-on board
I do not use any cables and plug USB-A directly to one of the USB ports
Last few lines of dmesg output
[ 28.244097] random: 7 urandom warning(s) missed due to ratelimiting
[ 29.055885] FAT-fs (loop0): Volume was not properly unmounted. Some data
may be corrupt. Please run fsck.
[ 33.608111] Mass Storage Function, version: 2009/09/11
[ 33.608130] LUN: removable file: (no medium)
[ 33.608292] LUN: removable file: /backingfiles/cam_disk.bin
[ 33.608302] Number of LUNs=1
[ 33.612651] g_mass_storage gadget: Mass Storage Gadget, version:
2009/09/11
[ 33.612668] g_mass_storage gadget: g_mass_storage ready
[ 33.612683] dwc2 20980000.usb: bound driver g_mass_storage
[ 33.870113] dwc2 20980000.usb: new device is high-speed
[ 33.925383] dwc2 20980000.usb: new device is high-speed
[ 33.980843] dwc2 20980000.usb: new device is high-speed
[ 34.036632] dwc2 20980000.usb: new device is high-speed
[ 34.092086] dwc2 20980000.usb: new device is high-speed
[ 34.147500] dwc2 20980000.usb: new device is high-speed
[ 34.202646] dwc2 20980000.usb: new device is high-speed
[ 34.258355] dwc2 20980000.usb: new device is high-speed
[ 34.314149] dwc2 20980000.usb: new device is high-speed
[ 34.406110] dwc2 20980000.usb: new address 9
[ 35.136190] g_mass_storage gadget: high-speed config #1
<#1>: Linux File-Backed Storage
fdisk shows - *this is with 64gb card - 100% cam usage*
***@***.***:~ $ fdisk -l /backingfiles/cam_disk.bin
Disk /backingfiles/cam_disk.bin: 53.7 GiB, 57679810560 bytes, 112655880
sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6c64afc5
Device Boot Start End Sectors Size Id Type
/backingfiles/cam_disk.bin1 2048 112655879 112653832 53.7G c W95 FAT32
(LBA)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALGX4UPD757ZX4GMCH2PXLPSH6SHANCNFSM4HEBPMOA>
.
|
@mattster98 - I tried using all 4 RPi0W bare with 2 separate MicroUSB cables (deemed working) has 5 at hand all of them working. I found that plugging in cable to car and other end to USB on Zero fired up the RPi. I still plugged in power cable using a portable battery. Kept on changing cables and zero’s but at no time did the car see the zero as a USB to start recording. Using same hardware and cables I plugged them in to my Mac and “CAM” shows up each time. Also put them together with USB-A adapters I have and “CAM” shows up. Wonder where the problem is - this setup worked from cimryan repo for the longest time, however since 9.x came I have tried to switch to this without any success. Any other items I should check? @marcone |
The only change that I'm aware of in 9.x is that 9.x requires a partitioned drive. The current scripts do that, and the fdisk output you posted above shows yours is partioned correctly. |
Just wanted to echo @mattster98 from #8. My M3 was updated to 2019.12.1.1 and I no longer need the extra usb cable to power my pi. |
My X is on 2019.12.1.1 4b1dd29 and does not work with one cable. |
@jasoncross can you confirm which port on the pi you're using?
I just got bumped to 2019.12.1.2 and its still happy.
…On Sat, May 4, 2019, 7:30 AM jasoncross ***@***.***> wrote:
My X is on 2019.12.1.1 4b1dd29 and does not work with one cable.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALGX4TKSFOIQUCTCIVFZ4LPTVXV7ANCNFSM4HEBPMOA>
.
|
The USB port (no the PWR port). The setup all worked last year and then stopped with 9.X. Thought I'd try again now that people were saying it worked again. Re-built my SD card using the latest from marcone. Connected to the computer the CAM drive shows up immediately. No such luck in the car. |
Try with two USB cables just to confirm the car is happy with it
otherwise. I wish we had some level of debug or log viewer on the car..
this would be so much easier.
…On Sat, May 4, 2019, 8:15 AM jasoncross ***@***.***> wrote:
@jasoncross <https://github.com/jasoncross> can you confirm which port on
the pi you're using? I just got bumped to 2019.12.1.2 and its still happy.
… <#m_-1628946949793836792_>
The USB port (no the PWR port).
The setup all worked last year and then stopped with 9.X. Thought I'd try
again now that people were saying it worked again. Re-built my SD card
using the latest from marcone. Connected to the computer the CAM drive
shows up immediately. No such luck in the car.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALGX4VBXUQCT6KPM7KHYP3PTV46DANCNFSM4HEBPMOA>
.
|
Those who it works with again - are all running campercent at 100 or are they dividing the card? Just looking for other possible data points as to why it works for some and not others. |
Success with campercent 100
…On Sat, May 4, 2019, 8:17 AM jasoncross ***@***.***> wrote:
Those who it works with again - are all running campercent at 100 or are
they dividing the card? Just looking for other possible data points as to
why it works for some and not others.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALGX4SPJEVVT22C5VDDFT3PTV5E3ANCNFSM4HEBPMOA>
.
|
@jasoncross I'm using
myself. The specific size or whether you specify it as a percentage or an absolute size shouldn't matter though, especially if as you're saying it works when connected to a PC. Did you use the same USB cable for both car and PC, connected to the same USB port on the Pi? Can you ssh into the Pi when it's plugged in to car? If so, take a look at the output of
|
I use 100% for camera recording. Though last is not worth it, I believe, still completed to test this thru. Worked on 64GB card I am using. Plan to start using 128gb or 256gb once @marcone gets the code to save all recordings out |
Same issue - Model X w/ 2019.20.4.3. If I plug in to both USB ports on the Pi, it boots fine, but one cable & it drops into a reboot loop. Tried numerous cables - right down to a 6 inch shorty. Nothing seems to make a difference. |
Interesting - I'm on 2019.20.4.3 in my X and it's still working.
…On Thu, Jul 11, 2019 at 11:47 AM tmhalen ***@***.***> wrote:
Same issue - Model X w/ 2019.20.4.3. If I plug in to both USB ports on the
Pi, it boots fine, but one cable & it drops into a reboot loop. Tried
numerous cables - right down to a 6 inch shorty. Nothing seems to make a
difference.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9?email_source=notifications&email_token=AALGX4TRCR77WA5AVV6L2H3P65I23A5CNFSM4HEBPMOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZXEE2Q#issuecomment-510542442>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALGX4SGDAQDI5UCYQYK4NDP65I23ANCNFSM4HEBPMOA>
.
|
(apologies - just noticed that the first entry in this thread basically shows what I'm talking about. I'll leave this up as confirmation that this is what I'm seeing as well) Still fighting with this. I bought a little USB power monitor which connects inline between the USB port and whatever device whose power consumption you're trying to measure. I re-installed teslausb onto two SD cards. Thought maybe something in the one I used previously was causing the issue. One is a 128GB, the other is 32GB - both are Samsung cards. The install for both was a little hinky. Both cards seemed to get stuck. When I looked at teslausb-headless-setup.log, it only got to the line: "reading config from /root/teslausb_setup_variables.conf" and then stopped. Running /etc/rc.local seemed to restart everything and it finished OK. Both cards have the same reboot issue in the car. Connected to my PC, the PI draws no more than 190mA and generally 0.6 - 0.7W. The watts jump a bit to a max of 0.95 when the LED is flashing quickly, which I believe is when its connecting to wifi. As soon as that is done (the LED changes to double-flashes), the power goes right back down to 100-120mA / 0.6W. When I connect it in the car, the numbers don't change, but it never gets to the point where it associates with the wifi. At around that point (just judging by time), the power just drops completely - the Pi reboots, the USB power meter reboots and even the backlighting on the vehicle USB port flickers. And then the cycle restarts. By contrast, my current TeslaCam device, a USB-C m.2 SATA SSD will draw 240mA and 1.2W and will work just fine in the car. It seems like something is going on just around the time the wifi is trying to connect that is making the USB port drop power momentarily. |
I'm seeing this too, on a new-build image. Model S running 2019.20.4.2, teslausb built from scripts 2019-07-17. Raspberry Pi Zero W, 64GB card set to 90% camera, 10% music. I don't have much to add except the following observations:
The behaviour in the 2nd case leads me to think that Just speculation but this looks to me like one of the modules being loaded causes a power spike that freaks out whatever's protecting the Tesla's USB provider. Which is odd given that it'll happily supply at least 1000mA to a phone that's plugged in and charging.... |
Hate to necro this thread, but there hasn't been much discussion since February (maybe everyone stopped driving then!) I then put a battery on the Pi-ZeroW Power port, and now the car sees it fine. It does "power up" the Pi-Zero, but it never mounts it as a USB drive unless there is auxiliary power for the Pi. I haven't confirmed what is actually happening on the Pi-Zero as it's also not on my wireless when it's trying to boot (the lights never go to flashing twice / second). |
Wow, GREAT find. I'd need to put together a 3.3v power supply I could test this with, but it should be easy to confirm. |
For me, I'm able to power on the 5v port via a PowerBank, with the USB port plugged into the vehicle. Vehicle sees the drive and TeslaCam works normally. Without the 5v power from a PowerBank, it seems to boot loop (can't verify it yet, just know it never joins the wireless and never mounts in TeslaCam). |
There's no need to power the Pi from 3.3V. It makes its own 3.3V from the 5V supplied by USB. |
Then why doesn't it work with a single USB cable? There's clearly a lot of people having this problem... I'll also add that the only way I can get mine to work in my vehicle (works flawlessly off of my computer) is:
Unfortunately, when I get out of the car and come back, it's "dead" again (icon no longer appears on MCU for TeslaCam). I then have to:
Essentially, this makes it useless, as the above process requires about 2 minutes to perform and my family isn't willing to have me screwing around with it before we leave every time we get into the car. I'm open to suggestions and/or troubleshooting options. It seemed that @drlauridsen found something that might explain the exact issue I was seeing (an apparent boot loop when powered off of the Tesla USB port), but you're telling us we're wrong. I have a USB power meter I'm going to check to see if it's in fact providing a full 5V on the USB port. |
No, the post you referred to said the exact opposite of that: the Pi was working when powered by 5V/USB, and bootlooping when powered via 3.3V. Have you tried using two USB cables to connect the Pi to the car? (one from the 'USB' port on the Pi to one of the car's ports, and the other from the "PWR" port on the Pi to the other port on the car) |
You're of course correct, I misread the post, hoping it was something that would help. No, it does not power up properly when plugged into both USB ports. |
For what it's worth, in my Model 3, only one of the USB ports is working
(service appointment is scheduled). I've never had an issue powering the
Pi0 from one USB though.
But maybe you have some sort of issue with your USB ports?
…On Tue, 7 Jul 2020, 13:07 Rob Pickering, ***@***.***> wrote:
I'm open to suggestions and/or troubleshooting options. It seemed that
@drlauridsen <https://github.com/drlauridsen> found something that might
explain the exact issue I was seeing (an apparent boot loop when powered
off of the Tesla USB port),
No, the post you referred to said the exact opposite of that: the Pi was
working when powered by 5V/USB, and bootlooping when powered via 3.3V.
Have you tried using two USB cables to connect the Pi to the car? (one
from the 'USB' port on the Pi to one of the car's ports, and the other from
the "PWR" port on the Pi to the other port on the car)
You're of course correct, I misread the post, hoping it was something that
would help.
No, it does not power up properly when plugged into both USB ports.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADLQPZY66KEPQCBX4MY5EODR2KGQHANCNFSM4HEBPMOA>
.
|
The link I provided about a bootloop with 3.3V, was meant as a possible explanation, as to why the pi zero bootloops with some cars and "standard" use of only one usb port as power+data connection. It seems the usb port in some cars, for some reason drops just slightly when the pi zero is booting and possibly at the critical time where wifi is enabled - resulting in a bootloop. I have this problem, in a TMS100D with AP2.5/MCU1. I just ordered this cable on aliexpress, maybe it will work, so I will only use one usb port in the car.. But @marcone.. |
@marcone @drlauridsen I seem to have the same issue, but mine isn't resolved by having two USB ports "powering" the PiZero. No matter what I do, the only way I can get it to work in the car is to leave the USB Data port unplugged until the device is fully booted (blinking twice a second); then I can plug in the Data cable and it will mount properly. When powered on only the Data USB port, it will never get to "fully booted". I'm going to haul a display out to the car so I can see the console and understand what it's doing while booted on only the one USB data port. |
Just to make sure.. |
I saw that, no they're both data+power, so that may be the difference. I saw your post about the tape so I'll give that a try and see if it improves the behavior. Thank you for the clarification. |
Note that teslausb turns off the hdmi port to save power, so you're going to have to edit the archiveloop script so it doesn't do that (by removing the line that says |
Thank you for the pointer! Update below. |
So, using a two-cable, one power, one data (modified to disable the 5V), my Pi will boot properly in the car. However, it doesn't present the drives to the Tesla unless I then unplug the USB and re-attach it. Here is my diagnostics.txt from such a boot (the TeslaCam icon would not appear on the dash, but the PiZero was showing two flashing LEDs / second) |
I have a similar experience, but I can only get teslausb working if I first power the pi from the vehicle usb, then wait for proper boot, then plug in the usb cable (plugged into the usb port on the pi) to the vehicle. I tried using an external power source (RAVPOWER battery pack) and that did not work. I've also tried isolating the power pin on the usb connector to make it data only, but that also doesn't seem to work for me. |
I decided to start again, but instead set camsize to 100%. On my Win10 box, I notice the usb interface is live during boot, then turns off, then is live again. Is this normal behavior? |
Setting camsize to 100% didn't work. I bought 4" Ankur premium USB cables and those didn't work either. The only way I can get it to work is to plug in the USB to the power port and let it boot (1 - 2m), then plug in the USB cable to the vehicle. Camera logo shows up and stays up till the USB port is shut off, then I have to reboot the pi like above. Any suggestions? |
Mine is working "normally". But I had to use a data-only USB cable for one of the ports (I actually used the "tape over power pin" method) and then a second cable in the power-only port on the Pi-zero. This is working reliably, but it also burns BOTH of my USB ports in the front (eliminating my ability to charge my phone). Note: it will NOT work with two "normal" USB cables, as the Pi-zero doesn't seem to boot properly with power on both cables. |
I am using the tape over method as well, but it still will not completely boot if both are plugged in at the same time. |
I had a similar issue with the USB not being recognized. I found the USB splitter pictured above on Amazon and tried it just in case. Strangely enough it seemed to work! Cable is here if anyone is looking for it. |
Issue: looses connection to DashCam. Need to unplug data cable and plug it in at the start of each trip. Sometimes need to do it within the trip. Sometimes when in my garage. Today I ran some tests. Needed to replug usb to car to get it started. Did a couple of short trips and saved Dashcam info. Returned to garage 2x and everything seemed fine through log entry:
|
Just drove again and tried something new. The Jackery Charger Bar briefly interrupts power to the RPi when you unplug it from the 12V socket causing it to restart. Tried this 4x on trip and each time the RPi rebooted and the DashCam came back. Tried again in garage after RPi uploaded to my PC . Dashcam still came on. |
An update to this old thread... Used to have the single cable reboot issue, and had to use both a data only + a standard usb cable to fully boot the pi. |
I think it's highly variable. I have MCU2 but have to use the data only + standard for it to work still... |
Thanks again for your good work on this marcone Just another MX100P, MCU1 with same issue reporting in. I've tried the dual cable method, as well as the tape over method, to no avail. The only way it works as exactly as others stated. It works if I wait for power up, and then replug in data cable. However, that sort of defeats the utility of having an automated dashcam. The one day I forget it is the day I'll need it. Anyone make any positive progress? I have a split cable on order to see if that works. |
My DIY Solution:
Theres just enough power to keep the 18650's topped up and power the pi with no dropouts. been running in the car for the last hour, so need to test long term. *Please not the 2 additional 18650's did not increase the car's range 😂 |
This is glorious, but way too much work for my use case. I've been testing a hub, as it was posted somewhere else that it could help. So far, it seems to have worked! I've tried the splitter cable listed, which did NOT work for me. |
I wanted to create a separate issue on the off chance there's something we can do on the RasPi side to get a single usb cable to work again.
I used my USB power meter to see what happens when the RasPi reboots, and based on what the meter is showing, the power to the port itself is actually going away - no apparent overload that would seem to trigger it - max current is maybe 230mA - well below even very basic USB power limits.
I thought maybe Tesla added some logic to actively reject "usb attacks" given the visibility on the hacking stuff recently, so I copied the USB device ID, etc from a working USB thumb drive and it didn't seem to have any effect. (I plugged it into the g_mass_storage.conf file)
Video of what I observed: http://imgur.com/gallery/qecn7Ke
All cables were plugged in the whole time - the power meter just saw a complete loss of power (or low enough to reboot).
Anybody else tried things to get a single cable to work again? I finally got two cables working again so I'm at least back to "working". Just hoping to improve further.
The text was updated successfully, but these errors were encountered: