thasmin / Podax

Podcast client for Android
Other
165 stars 34 forks source link

crashes in downloader #51

Closed mcepl closed 12 years ago

mcepl commented 12 years ago

Downloader in 62c2b93562b6cc47788fed42cee08c4f1bef82e3 crashes and doesn't download. See log in http://mcepl.fedorapeople.org/tmp/alogcat/alogcat.2012-05-15-00-09-17+0200.txt

thasmin commented 12 years ago

This is actually the same bug as the TWIT.tv podcasts one. The podcast downloader doesn't check for a 404. Embarrassing. It's fixed in the newui branch.

mcepl commented 12 years ago

Could I ask either for backport to master, fixing the building of newui branch (or setting up nightlies), please?

wycliff:Podax (newui) $ ~/repos/android-sdk-linux_x86/tools/android update project -p . 
Updated local.properties
Updated file ./proguard-project.txt
wycliff:Podax (newui) $ ant clean
Buildfile: /home/matej/archiv/knihovna/repos/Podax/build.xml

-pre-clean:

clean:
   [delete] Deleting directory /home/matej/archiv/knihovna/repos/Podax/bin
   [delete] Deleting directory /home/matej/archiv/knihovna/repos/Podax/gen

BUILD SUCCESSFUL
Total time: 1 second
wycliff:Podax (newui) $ ant debug
Buildfile: /home/matej/archiv/knihovna/repos/Podax/build.xml

-set-mode-check:

-set-debug-files:

-set-debug-mode:

-debug-obfuscation-check:

-setup:
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/Podax/bin
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/Podax/bin/res
     [echo] Gathering info for Podax...
    [setup] Android SDK Tools Revision 19
    [setup] Project Target: Android 4.0.3
    [setup] API level: 15
    [setup] 
    [setup] ------------------
    [setup] Resolving library dependencies:

BUILD FAILED
/home/matej/repos/android-sdk-linux_x86/tools/ant/build.xml:470: ../ActionBarSherlock resolve to a path with no project.properties file for project /home/matej/archiv/knihovna/repos/Podax

Total time: 0 seconds
wycliff:Podax (newui) $ 

When trying to fix it, I looked at http://actionbarsherlock.com/usage.html, but I couldn't follow steps there as there is no library/ directory and lib/ (which looks like the closest) doesn't contain anything which could android update chew upon.

thasmin commented 12 years ago

That's saying the dependencies are missing. They've been added as git submodules and instructions have been added to the project's README. It took me a while to get things working, so tell me if the instructions are wrong and I'll try to fix them.

mcepl commented 12 years ago

a) proper git URL is git://github.com/thasmin/Android-ViewPagerIndicator.git b) BUILD FAILED /home/matej/repos/android-sdk-linux_x86/tools/ant/build.xml:515: Invalid file: /home/matej/archiv/knihovna/repos/Podax/ViewPagerIndicator/library/build.xml and really there is no build.xml (just pom.xml). c) there is NOTHING in README.md about this.

thasmin commented 12 years ago

Are you building with ant? You'll need to run "/tools/android project update -p Podax/ViewPagerIndicator/library" and the same on the ActionBarSherlock/library directory. I'll add this to the readme.

mcepl commented 12 years ago

Thanks, I had to explicitly --target the these commands, but then it works well, and I have Podax updated to the last commit. Thank you!