archlinuxfr / package-query

Query alpm database and AUR
69 stars 17 forks source link

The URL https://www.archlinux.org/packages/(null)/(null)/(null)/json/ returned error : 404 #127

Closed FadeMind closed 8 years ago

FadeMind commented 8 years ago

Commit https://github.com/archlinuxfr/package-query/commit/b8c322a48074ac36716c477138a7302c3331da17 DON'T have this issue.

Some one of recent commits give in results at the end The URL https://www.archlinux.org/packages/(null)/(null)/(null)/json/ returned error : 404

[tomasz@arch ~]$ export LANG=C
[tomasz@arch ~]$ yaourt -Syua --noconfirm
:: Synchronizing package databases...
 kde-unstable is up to date
 testing is up to date
 core is up to date
 extra is up to date
 community-testing is up to date
 community is up to date
 multilib-testing is up to date
 multilib is up to date
 infinality-bundle is up to date
 infinality-bundle-multilib is up to date
 infinality-bundle-fonts is up to date
 repo-ck is up to date
 atom is up to date
 xyne-x86_64 is up to date
The URL https://www.archlinux.org/packages/(null)/(null)/(null)/json/ returned error : 404
The URL https://www.archlinux.org/packages/(null)/(null)/(null)/json/ returned error : 404
The URL https://www.archlinux.org/packages/(null)/(null)/(null)/json/ returned error : 404
The URL https://www.archlinux.org/packages/(null)/(null)/(null)/json/ returned error : 404
The URL https://www.archlinux.org/packages/(null)/(null)/(null)/json/ returned error : 404
The URL https://www.archlinux.org/packages/(null)/(null)/(null)/json/ returned error : 404
The URL https://www.archlinux.org/packages/(null)/(null)/(null)/json/ returned error : 404
The URL https://www.archlinux.org/packages/(null)/(null)/(null)/json/ returned error : 404
The URL https://www.archlinux.org/packages/(null)/(null)/(null)/json/ returned error : 404
The URL https://www.archlinux.org/packages/(null)/(null)/(null)/json/ returned error : 404
 Foreign packages: \ 183 / 183
[tomasz@arch ~]$ 

@f2404

f2404 commented 8 years ago

Thanks for reporting this, I will take a look.

f2404 commented 8 years ago

@FadeMind The latest commit should fix it - could you please try?

I was not able to reproduce the issue though. Do you have any non-default yaourt settings?

FadeMind commented 8 years ago

@f2404 Commit https://github.com/archlinuxfr/package-query/commit/448d0b263792a2459138cd290ed203b48d560117 FIXED issue. Thanks.

My yaourtrc config: https://pastebin.com/egvBt6DA

FadeMind commented 8 years ago

@f2404 see config code in my above post

f2404 commented 8 years ago

Thanks. The config doesn't look unusual. Do you have any packages built locally - not installed from AUR? I mean, it seems you have 183 unofficial packages installed but only 10 of them produced the error so they should be somehow different from others.

FadeMind commented 8 years ago

packages from AUR and build localy from pacman -Qqem > pkglist-aur.txt: pkglist-aur.txt

@f2404

I build lots of packages localy (not included in AUR):

breeze-gtk320-git
bbswitch-r500v46 0.8-1
linux-r500v46 4.6-1
linux-r500v46-docs 4.6-1
linux-r500v46-headers 4.6-1
nvidia-r500v46 364.19-1

Some packages are from external repos:

[tomasz@arch ~]$ pacman -Sl atom 
atom atom 1.7.3-3 [installed]
atom electron 1.1.0-1 [installed]
atom nodejs-atom-package-manager 1.10.0-3 [installed]
pacman -Sl infinality-bundle
infinality-bundle cairo-infinality-ultimate 1.14.6-2 [installed]
infinality-bundle fontconfig-infinality-ultimate 2.11.95-4 [installed]
infinality-bundle freetype2-infinality-ultimate 2.6.3-4 [installed]
[tomasz@arch ~]$ pacman -Sl infinality-bundle-multilib 
infinality-bundle-multilib lib32-cairo-infinality-ultimate 1.14.6-2 [installed]
infinality-bundle-multilib lib32-fontconfig-infinality-ultimate 2.11.95-1 [installed]
infinality-bundle-multilib lib32-freetype2-infinality-ultimate 2.6.3-3 [installed]
f2404 commented 8 years ago

I think the packages from the external repos could case the issue...